Warning, file /include/opencascade/ViewerTest_V3dView.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _ViewerTest_V3dView_HeaderFile
0015 #define _ViewerTest_V3dView_HeaderFile
0016
0017 #include <V3d_View.hxx>
0018
0019
0020 class ViewerTest_V3dView : public V3d_View
0021 {
0022 DEFINE_STANDARD_RTTIEXT(ViewerTest_V3dView, V3d_View)
0023 public:
0024
0025 Standard_EXPORT ViewerTest_V3dView (const Handle(V3d_Viewer)& theViewer,
0026 const V3d_TypeOfView theType = V3d_ORTHOGRAPHIC,
0027 bool theIs2dMode = false);
0028
0029
0030 Standard_EXPORT ViewerTest_V3dView (const Handle(V3d_Viewer)& theViewer,
0031 const Handle(V3d_View)& theView);
0032
0033
0034 bool IsViewIn2DMode() const { return myIs2dMode; }
0035
0036
0037 void SetView2DMode (bool the2dMode) { myIs2dMode = the2dMode; }
0038
0039 public:
0040
0041
0042 Standard_EXPORT static bool IsCurrentViewIn2DMode();
0043
0044
0045 Standard_EXPORT static void SetCurrentView2DMode (bool theIs2d);
0046
0047 private:
0048
0049 Standard_Boolean myIs2dMode;
0050
0051 };
0052
0053 #endif