mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031521: Samples - update MFC ImportExport sample to use AIS_ViewController
The following MFC samples have been updated to use AIS_ViewController: Geometry, HLR, ImportExport, Modeling, OCAF, Triangulation, Viewer2D.
This commit is contained in:
@@ -28,23 +28,11 @@ public: // New operations
|
||||
|
||||
void FitAll2DViews(Standard_Boolean theUpdateViewer = Standard_False);
|
||||
|
||||
public: // getters
|
||||
|
||||
Handle(V3d_Viewer) GetViewer2D () { return myViewer; };
|
||||
|
||||
Handle(AIS_InteractiveContext)& GetInteractiveContext() { return myAISContext; };
|
||||
|
||||
public: // Operations to override
|
||||
|
||||
// Mouse move event tracking for 2D view : no rotation is supported in 2D view.
|
||||
virtual void MoveEvent(const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView);
|
||||
|
||||
// Shift move event tracking for 2D view : no rotation is supported in 2D view.
|
||||
virtual void ShiftMoveEvent(const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theViewView);
|
||||
virtual void Popup (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) Standard_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_OCC_2dDOC_H__2E048CC7_38F9_11D7_8611_0060B0EE281E__INCLUDED_)
|
||||
|
Reference in New Issue
Block a user