#include <OCCViewer_ClipPlane.h>
Public Types | |
| enum | PlaneMode { Absolute, Relative } | 
| enum | AbsoluteOrientationType { AbsoluteCustom, AbsoluteXY, AbsoluteYZ, AbsoluteZX } | 
| enum | RelativeOrientationType { RelativeXY, RelativeYZ, RelativeZX } | 
Public Member Functions | |
| OCCViewer_ClipPlane () | |
| OCCViewer_ClipPlane & | operator= (const OCCViewer_ClipPlane &theOther) | 
| void | OrientationToXYZ (double &theDx, double &theDy, double &theDz) const | 
Static Public Member Functions | |
| static void | DXYZToRelative (const double theDx, const double theDy, const double theDz, const int theRelativeType, double &theRotation1, double &theRotation2) | 
| static void | RelativeToDXYZ (const int theRelativeType, const double theRotation1, const double theRotation2, double &theDx, double &theDy, double &theDz) | 
Public Attributes | |
| PlaneMode | Mode | 
| bool | IsOn | 
| double | X | 
| double | Y | 
| double | Z | 
| int | OrientationType | 
| union { | |
| struct { | |
| bool IsInvert | |
| double Dx | |
| double Dy | |
| double Dz | |
| } AbsoluteOrientation | |
| struct { | |
| double Rotation1 | |
| double Rotation2 | |
| } RelativeOrientation | |
| }; | |
Definition of OCC viewer clipping plane.
| OCCViewer_ClipPlane::OCCViewer_ClipPlane | ( | ) | 
References AbsoluteCustom, AbsoluteOrientation, and OrientationType.
      
  | 
  static | 
Converts normal direction to relative definition.
| theDx | [in] the direction x component. | 
| theDy | [in] the direction y component. | 
| theDz | [in] the direction y component. | 
| theRelativeType | [in] the relative orientation type. | 
| theRotation1 | [out] the angle of rotation around first axis. | 
| theRotation2 | [out] the angle of rotation around second axis. | 
References RelativeXY, RelativeYZ, and RelativeZX.
| OCCViewer_ClipPlane & OCCViewer_ClipPlane::operator= | ( | const OCCViewer_ClipPlane & | theOther | ) | 
Operator of another OCCViewer_ClipPlane assignment.
| theOther | the OCCViewer_ClipPlane to assign. | 
References Absolute, AbsoluteOrientation, IsOn, Mode, OrientationType, Relative, RelativeOrientation, X, Y, and Z.
| void OCCViewer_ClipPlane::OrientationToXYZ | ( | double & | theDx, | 
| double & | theDy, | ||
| double & | theDz | ||
| ) | const | 
Converts defined orientation to direction.
| theDx | [out] the direction x component. | 
| theDy | [out] the direction y component. | 
| theDz | [out] the direction y component. | 
References Absolute, AbsoluteCustom, AbsoluteOrientation, AbsoluteXY, AbsoluteYZ, AbsoluteZX, Mode, OrientationType, RelativeOrientation, and RelativeToDXYZ().
      
  | 
  static | 
Converts normal direction to relative definition.
| theDx | [in] the direction x component. | 
| theDy | [in] the direction y component. | 
| theDz | [in] the direction y component. | 
| theRelativeType | [in] the relative orientation type. | 
| theRotation1 | [out] the angle of rotation around first axis. | 
| theRotation2 | [out] the angle of rotation around second axis. | 
References Plot2d::Cross, RelativeXY, RelativeYZ, and RelativeZX.
| union { ... } | 
| struct { ... } OCCViewer_ClipPlane::AbsoluteOrientation | 
| double OCCViewer_ClipPlane::Dx | 
| double OCCViewer_ClipPlane::Dy | 
| double OCCViewer_ClipPlane::Dz | 
| bool OCCViewer_ClipPlane::IsInvert | 
| bool OCCViewer_ClipPlane::IsOn | 
| PlaneMode OCCViewer_ClipPlane::Mode | 
| int OCCViewer_ClipPlane::OrientationType | 
| struct { ... } OCCViewer_ClipPlane::RelativeOrientation | 
| double OCCViewer_ClipPlane::Rotation1 | 
| double OCCViewer_ClipPlane::Rotation2 | 
| double OCCViewer_ClipPlane::X | 
| double OCCViewer_ClipPlane::Y | 
| double OCCViewer_ClipPlane::Z |