mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023776: Redesign of MFC samples after V2d viewer removing
This commit is contained in:
@@ -14,9 +14,49 @@
|
||||
class OCC_BaseDoc : public CDocument
|
||||
{
|
||||
public:
|
||||
OCC_BaseDoc();
|
||||
virtual ~OCC_BaseDoc();
|
||||
|
||||
OCC_BaseDoc();
|
||||
|
||||
virtual ~OCC_BaseDoc();
|
||||
|
||||
Handle(AIS_InteractiveContext)& GetAISContext() { return myAISContext; }
|
||||
|
||||
Handle(V3d_Viewer) GetViewer() { return myViewer; }
|
||||
|
||||
//Events
|
||||
virtual void DragEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Standard_Integer theState,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void InputEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void MoveEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void ShiftMoveEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void ShiftDragEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Standard_Integer theState,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void ShiftInputEvent(const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
|
||||
virtual void Popup (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
protected:
|
||||
|
||||
Handle(V3d_Viewer) myViewer;
|
||||
Handle(AIS_InteractiveContext) myAISContext;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_OCC_BASEDOC_H__2E048CC8_38F9_11D7_8611_0060B0EE281E__INCLUDED_)
|
||||
|
Reference in New Issue
Block a user