// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _DrawTrSurf_Triangulation_HeaderFile
#define _DrawTrSurf_Triangulation_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_DrawTrSurf_Triangulation_HeaderFile
#include <Handle_DrawTrSurf_Triangulation.hxx>
#endif

#ifndef _Handle_Poly_Triangulation_HeaderFile
#include <Handle_Poly_Triangulation.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile
#include <Handle_TColStd_HArray1OfInteger.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Draw_Drawable3D_HeaderFile
#include <Draw_Drawable3D.hxx>
#endif
#ifndef _Handle_Draw_Drawable3D_HeaderFile
#include <Handle_Draw_Drawable3D.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Poly_Triangulation;
class TColStd_HArray1OfInteger;
class Draw_Display;
class Draw_Drawable3D;
class Draw_Interpretor;


//! Used to display a triangulation. <br>
//! <br>
//!          Display internal edges in blue <br>
//!          Display boundary edges in red <br>
//!          Optional display of triangles and nodes indices. <br>
class DrawTrSurf_Triangulation : public Draw_Drawable3D {

public:
 // Methods 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. <br>
Standard_EXPORT virtual  Handle_Draw_Drawable3D Copy() const;

//! For variable dump. <br>
Standard_EXPORT virtual  void Dump(Standard_OStream& S) const;

//! For variable whatis command. Set  as a result  the <br>
//!          type of the variable. <br>
Standard_EXPORT virtual  void Whatis(Draw_Interpretor& I) const;
//Standard_EXPORT ~DrawTrSurf_Triangulation();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields 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
