File indexing completed on 2025-01-18 10:05:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepVisual_ViewVolume_HeaderFile
0018 #define _StepVisual_ViewVolume_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <StepVisual_CentralOrParallel.hxx>
0024 #include <Standard_Transient.hxx>
0025 class StepGeom_CartesianPoint;
0026 class StepVisual_PlanarBox;
0027
0028
0029 class StepVisual_ViewVolume;
0030 DEFINE_STANDARD_HANDLE(StepVisual_ViewVolume, Standard_Transient)
0031
0032
0033 class StepVisual_ViewVolume : public Standard_Transient
0034 {
0035
0036 public:
0037
0038
0039
0040 Standard_EXPORT StepVisual_ViewVolume();
0041
0042 Standard_EXPORT void Init (const StepVisual_CentralOrParallel aProjectionType, const Handle(StepGeom_CartesianPoint)& aProjectionPoint, const Standard_Real aViewPlaneDistance, const Standard_Real aFrontPlaneDistance, const Standard_Boolean aFrontPlaneClipping, const Standard_Real aBackPlaneDistance, const Standard_Boolean aBackPlaneClipping, const Standard_Boolean aViewVolumeSidesClipping, const Handle(StepVisual_PlanarBox)& aViewWindow);
0043
0044 Standard_EXPORT void SetProjectionType (const StepVisual_CentralOrParallel aProjectionType);
0045
0046 Standard_EXPORT StepVisual_CentralOrParallel ProjectionType() const;
0047
0048 Standard_EXPORT void SetProjectionPoint (const Handle(StepGeom_CartesianPoint)& aProjectionPoint);
0049
0050 Standard_EXPORT Handle(StepGeom_CartesianPoint) ProjectionPoint() const;
0051
0052 Standard_EXPORT void SetViewPlaneDistance (const Standard_Real aViewPlaneDistance);
0053
0054 Standard_EXPORT Standard_Real ViewPlaneDistance() const;
0055
0056 Standard_EXPORT void SetFrontPlaneDistance (const Standard_Real aFrontPlaneDistance);
0057
0058 Standard_EXPORT Standard_Real FrontPlaneDistance() const;
0059
0060 Standard_EXPORT void SetFrontPlaneClipping (const Standard_Boolean aFrontPlaneClipping);
0061
0062 Standard_EXPORT Standard_Boolean FrontPlaneClipping() const;
0063
0064 Standard_EXPORT void SetBackPlaneDistance (const Standard_Real aBackPlaneDistance);
0065
0066 Standard_EXPORT Standard_Real BackPlaneDistance() const;
0067
0068 Standard_EXPORT void SetBackPlaneClipping (const Standard_Boolean aBackPlaneClipping);
0069
0070 Standard_EXPORT Standard_Boolean BackPlaneClipping() const;
0071
0072 Standard_EXPORT void SetViewVolumeSidesClipping (const Standard_Boolean aViewVolumeSidesClipping);
0073
0074 Standard_EXPORT Standard_Boolean ViewVolumeSidesClipping() const;
0075
0076 Standard_EXPORT void SetViewWindow (const Handle(StepVisual_PlanarBox)& aViewWindow);
0077
0078 Standard_EXPORT Handle(StepVisual_PlanarBox) ViewWindow() const;
0079
0080
0081
0082
0083 DEFINE_STANDARD_RTTIEXT(StepVisual_ViewVolume,Standard_Transient)
0084
0085 protected:
0086
0087
0088
0089
0090 private:
0091
0092
0093 StepVisual_CentralOrParallel projectionType;
0094 Handle(StepGeom_CartesianPoint) projectionPoint;
0095 Standard_Real viewPlaneDistance;
0096 Standard_Real frontPlaneDistance;
0097 Standard_Boolean frontPlaneClipping;
0098 Standard_Real backPlaneDistance;
0099 Standard_Boolean backPlaneClipping;
0100 Standard_Boolean viewVolumeSidesClipping;
0101 Handle(StepVisual_PlanarBox) viewWindow;
0102
0103
0104 };
0105
0106
0107
0108
0109
0110
0111
0112 #endif