1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024548: Ray Tracing mode not available in MFC samples

Ray tracing functionality was added to OCCT MFC samples.
This commit is contained in:
ski
2014-10-30 16:03:24 +03:00
committed by bugmaster
parent a806787bd6
commit 2c5b6d9c12
15 changed files with 140 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ public:
int OnFileImportBrep_WithInitDir (const wchar_t* InitialDir);
void OnObjectRayTracingAction();
// Generated message map functions
protected:
//{{AFX_MSG(OCC_3dBaseDoc)
@@ -81,11 +83,20 @@ protected:
afx_msg void OnObjectRemove();
afx_msg void OnUpdateObjectRemove(CCmdUI* pCmdUI);
afx_msg void OnUpdateV3dButtons(CCmdUI* pCmdUI);
afx_msg void OnObjectRayTracing();
afx_msg void OnObjectShadows();
afx_msg void OnObjectReflections();
afx_msg void OnObjectAntiAliasing();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
bool myRayTracingIsOn;
bool myRaytracedShadowsIsOn;
bool myRaytracedReflectionsIsOn;
bool myRaytracedAntialiasingIsOn;
int myPopupMenuNumber;
};