// 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 _DBRep_HeaderFile #define _DBRep_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TopoDS_Shape; class Draw_Interpretor; class DBRep_Edge; class DBRep_ListOfEdge; class DBRep_Face; class DBRep_ListOfFace; class DBRep_HideData; class DBRep_ListOfHideData; class DBRep_DrawableShape; class DBRep_IsoBuilder; class DBRep_ListNodeOfListOfEdge; class DBRep_ListIteratorOfListOfEdge; class DBRep_ListNodeOfListOfFace; class DBRep_ListIteratorOfListOfFace; class DBRep_ListNodeOfListOfHideData; class DBRep_ListIteratorOfListOfHideData; //! Used to display BRep objects using the DrawTrSurf
//! package.
//! The DrawableShape is a Display object build from a
//! Shape.
//! Provides methods to manage a directory of named shapes.
//! Provides a set of Draw commands for Shapes.
class DBRep { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Sets in the variable . Overwrite the
//! variable if already set.
Standard_EXPORT static void Set(const Standard_CString Name,const TopoDS_Shape& S) ; //! Returns the shape in the variable . Returns
//! a null shape if the variable is not set or not of
//! the given . If is True a message
//! is printed on cout if the variable is not set.
Standard_EXPORT static TopoDS_Shape Get(Standard_CString& Name,const TopAbs_ShapeEnum Typ = TopAbs_SHAPE,const Standard_Boolean Complain = Standard_False) ; //! Defines the basic commands.
Standard_EXPORT static void BasicCommands(Draw_Interpretor& theCommands) ; //! True if HLR, False if wireframe.
Standard_EXPORT static Standard_Boolean HLRMode() ; //! True if display Rg1Lines.
Standard_EXPORT static Standard_Boolean Rg1Mode() ; //! True if display RgNLines.
Standard_EXPORT static Standard_Boolean RgNMode() ; //! True if display HiddenLines.
Standard_EXPORT static Standard_Boolean HidMode() ; //! discretisation angle for edges.
Standard_EXPORT static Standard_Real HLRAngle() ; //! number of iso in U and V
Standard_EXPORT static Standard_Integer NbIsos() ; //! discretisation number of points for curves
//! set progress indicator
//! get progress indicator
Standard_EXPORT static Standard_Integer Discretisation() ; protected: private: friend class DBRep_Edge; friend class DBRep_ListOfEdge; friend class DBRep_Face; friend class DBRep_ListOfFace; friend class DBRep_HideData; friend class DBRep_ListOfHideData; friend class DBRep_DrawableShape; friend class DBRep_IsoBuilder; friend class DBRep_ListNodeOfListOfEdge; friend class DBRep_ListIteratorOfListOfEdge; friend class DBRep_ListNodeOfListOfFace; friend class DBRep_ListIteratorOfListOfFace; friend class DBRep_ListNodeOfListOfHideData; friend class DBRep_ListIteratorOfListOfHideData; }; // other Inline functions and methods (like "C++: function call" methods) #endif