// 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 _DDataStd_DrawDriver_HeaderFile #define _DDataStd_DrawDriver_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_DDataStd_DrawDriver_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_Draw_Drawable3D_HeaderFile #include #endif #ifndef _Handle_TDataXtd_Constraint_HeaderFile #include #endif #ifndef _Draw_ColorKind_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class Draw_Drawable3D; class TDF_Label; class TDataXtd_Constraint; class TopoDS_Shape; //! priority rule to display standard attributes is :
//! * 1 Constraint
//! * 2 Object
//! * 3 Datum (Point,Axis,Plane)
//! * 4 Geometry
//! * 5 NamedShape
class DDataStd_DrawDriver : public MMgt_TShared { public: //! access to the current DrawDriver
//! ================================
Standard_EXPORT static void Set(const Handle(DDataStd_DrawDriver)& DD) ; Standard_EXPORT static Handle_DDataStd_DrawDriver Get() ; //! next method is called by DrawPresentation (may be redefined)
//! ============================================================
Standard_EXPORT DDataStd_DrawDriver(); //! reusable methods (may used when redefined )
//! =====================================================
Standard_EXPORT virtual Handle_Draw_Drawable3D Drawable(const TDF_Label& L) const; Standard_EXPORT Handle_Draw_Drawable3D DrawableConstraint(const Handle(TDataXtd_Constraint)& C) const; Standard_EXPORT Handle_Draw_Drawable3D DrawableShape(const TDF_Label& L,const Draw_ColorKind color,const Standard_Boolean current = Standard_True) const; //! May be used for temporary display of a shape
Standard_EXPORT static Handle_Draw_Drawable3D DrawableShape(const TopoDS_Shape& s,const Draw_ColorKind color) ; DEFINE_STANDARD_RTTI(DDataStd_DrawDriver) protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif