// 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 _DrawTrSurf_Triangulation_HeaderFile #define _DrawTrSurf_Triangulation_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_DrawTrSurf_Triangulation_HeaderFile #include #endif #ifndef _Handle_Poly_Triangulation_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Draw_Drawable3D_HeaderFile #include #endif #ifndef _Handle_Draw_Drawable3D_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Poly_Triangulation; class TColStd_HArray1OfInteger; class Draw_Display; class Draw_Drawable3D; class Draw_Interpretor; //! Used to display a triangulation.
//!
//! Display internal edges in blue
//! Display boundary edges in red
//! Optional display of triangles and nodes indices.
class DrawTrSurf_Triangulation : public Draw_Drawable3D { public: Standard_EXPORT DrawTrSurf_Triangulation(const Handle(Poly_Triangulation)& T); Standard_EXPORT Handle_Poly_Triangulation Triangulation() const; Standard_EXPORT void ShowNodes(const Standard_Boolean B) ; Standard_EXPORT Standard_Boolean ShowNodes() const; Standard_EXPORT void ShowTriangles(const Standard_Boolean B) ; Standard_EXPORT Standard_Boolean ShowTriangles() const; Standard_EXPORT void DrawOn(Draw_Display& dis) const; //! For variable copy.
Standard_EXPORT virtual Handle_Draw_Drawable3D Copy() const; //! For variable dump.
Standard_EXPORT virtual void Dump(Standard_OStream& S) const; //! For variable whatis command. Set as a result the
//! type of the variable.
Standard_EXPORT virtual void Whatis(Draw_Interpretor& I) const; DEFINE_STANDARD_RTTI(DrawTrSurf_Triangulation) protected: private: Handle_Poly_Triangulation myTriangulation; Handle_TColStd_HArray1OfInteger myInternals; Handle_TColStd_HArray1OfInteger myFree; Standard_Boolean myNodes; Standard_Boolean myTriangles; }; // other Inline functions and methods (like "C++: function call" methods) #endif