// 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 _BOP_Draw_HeaderFile #define _BOP_Draw_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TopTools_ListOfShape; class TopoDS_Face; class TopoDS_Edge; //! auxiliary class to display intermediate results
//! in Draw's winowds for the debugging purposes
//!
class BOP_Draw { 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); } //! Display in 3D-view shapes from the ListOfShape
//! aName is base name of shape. Actual name for each
//! subsequent shape will be aName+"_#", where
//! # - is ordered index of the shape in
Standard_EXPORT static void DrawListOfShape(const TopTools_ListOfShape& aList,const Standard_CString aName) ; //! Display in 2D-view the edges from the ListOfShape ,
//! that have P-curves for the face
//! aName is base name of shape. Actual name for each
//! subsequent shape will be aName+"_#", where
//! # - is ordered index of the shape in
Standard_EXPORT static void DrawListOfEdgesWithPC(const TopoDS_Face& aFace,const TopTools_ListOfShape& aList,const Standard_CString aName) ; //! Display in 2D-view the edges from the ListOfShape ,
//! that have P-curves for the face
//! aName is base name of shape. Actual name for each
//! shape will be aName+"_anInd"
Standard_EXPORT static void DrawListOfEdgesWithPC(const TopoDS_Face& aFace,const TopTools_ListOfShape& aList,const Standard_Integer anInd,const Standard_CString aName) ; //! Display in 2D-view the edge,
//! that has P-curve for the face
//! aName is the name of shape.
Standard_EXPORT static void DrawEdgeWithPC(const TopoDS_Face& aFace,const TopoDS_Edge& aEdge,const Standard_CString aName) ; //! Wait for user's keystroke
Standard_EXPORT static void Wait() ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif