// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Visual3d_ClipPlane_HeaderFile #define _Visual3d_ClipPlane_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Visual3d_ClipPlane_HeaderFile #include #endif #ifndef _Graphic3d_CPlane_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Visual3d_View; //! This class allows the definition and update
//! of clipping planes in the space model.
class Visual3d_ClipPlane : public MMgt_TShared { public: //! Creates a clipping plane from the equation :
//! *X + *Y + *Z + = 0.0
Standard_EXPORT Visual3d_ClipPlane(const Standard_Real ACoefA,const Standard_Real ACoefB,const Standard_Real ACoefC,const Standard_Real ACoefD); //! Modifies the plane equation.
Standard_EXPORT void SetPlane(const Standard_Real ACoefA,const Standard_Real ACoefB,const Standard_Real ACoefC,const Standard_Real ACoefD) ; //! Maximum number of activatable clipping planes.
Standard_EXPORT static Standard_Integer Limit() ; //! Returns the values of the clipping plane .
Standard_EXPORT void Plane(Standard_Real& ACoefA,Standard_Real& ACoefB,Standard_Real& ACoefC,Standard_Real& ACoefD) const; friend class Visual3d_View; DEFINE_STANDARD_RTTI(Visual3d_ClipPlane) protected: private: //! Returns the plane identification.
Standard_EXPORT Standard_Integer Identification() const; Graphic3d_CPlane MyCPlane; }; // other Inline functions and methods (like "C++: function call" methods) #endif