// 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_Polygon3D_HeaderFile
#define _DrawTrSurf_Polygon3D_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_DrawTrSurf_Polygon3D.hxx>

#include <Handle_Poly_Polygon3D.hxx>
#include <Standard_Boolean.hxx>
#include <Draw_Drawable3D.hxx>
#include <Handle_Draw_Drawable3D.hxx>
#include <Standard_OStream.hxx>
#include <Draw_Interpretor.hxx>
class Poly_Polygon3D;
class Draw_Display;
class Draw_Drawable3D;


//! Used to display a 3d polygon.
//!
//! Optional display of nodes.
class DrawTrSurf_Polygon3D : public Draw_Drawable3D
{

public:

  
  Standard_EXPORT DrawTrSurf_Polygon3D(const Handle(Poly_Polygon3D)& P);
  
  Standard_EXPORT   Handle(Poly_Polygon3D) Polygon3D()  const;
  
  Standard_EXPORT   void ShowNodes (const Standard_Boolean B) ;
  
  Standard_EXPORT   Standard_Boolean ShowNodes()  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_Polygon3D)

protected:




private: 


  Handle(Poly_Polygon3D) myPolygon3D;
  Standard_Boolean myNodes;


};







#endif // _DrawTrSurf_Polygon3D_HeaderFile
