// 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 _Prs2d_Drawer_HeaderFile #define _Prs2d_Drawer_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Prs2d_Drawer_HeaderFile #include #endif #ifndef _Prs2d_DataMapOfAspectRoot_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_Prs2d_AspectRoot_HeaderFile #include #endif #ifndef _Prs2d_AspectName_HeaderFile #include #endif class Prs2d_AspectRoot; //! Graphic attributes management
//! Qualifies how the presentation algorithms compute
//! the presentation of a specific kind of object.
//! This includes for example color, width and type
//! of lines...
class Prs2d_Drawer : public MMgt_TShared { public: //! Initializes graphic attribute manager
Standard_EXPORT Prs2d_Drawer(); //! Returns a link with Prs2d_Drawer AspectName,
//! which provides settings for object "anAspectName"
//! used to display "anAspectName"
Standard_EXPORT virtual Handle_Prs2d_AspectRoot FindAspect(const Prs2d_AspectName anAspectName) const; //! Sets the Aspect of the Drawer
Standard_EXPORT void SetAspect(const Handle(Prs2d_AspectRoot)& anAspectRoot,const Prs2d_AspectName anAspectName) ; //! defines the maximum value allowed for the first and last
//! parameters of an infinite line.
//! Default value: 500000.
Standard_EXPORT virtual void SetMaxParameterValue(const Standard_Real Value) ; //! Indicates the maximum value allowed for the first and last
//! parameters of an infinite line.
Standard_EXPORT virtual Standard_Real MaxParameterValue() const; DEFINE_STANDARD_RTTI(Prs2d_Drawer) protected: Prs2d_DataMapOfAspectRoot myDataMapAspectRoot; Standard_Real myMaxParameterValue; private: //! Initializes Aspect classes data map
Standard_EXPORT void InitAspectRootMap() ; }; // other Inline functions and methods (like "C++: function call" methods) #endif