Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
DBRep_DrawableShape Class Reference

#include <DBRep_DrawableShape.hxx>

Inheritance diagram for DBRep_DrawableShape:
Inheritance graph
[legend]

Public Member Functions

 DBRep_DrawableShape (const TopoDS_Shape &C, const Draw_Color &FreeCol, const Draw_Color &ConnCol, const Draw_Color &EdgeCol, const Draw_Color &IsosCol, const Standard_Real size, const Standard_Integer nbisos, const Standard_Integer discret)
void Set (const TopoDS_Shape &C)
void ChangeNbIsos (const Standard_Integer NbIsos)
 Changes the number of isoparametric curves in a shape.

Standard_Integer NbIsos () const
 Returns the number of isoparametric curves in a shape.

void ChangeDiscret (const Standard_Integer Discret)
 Changes the number of isoparametric curves in a shape.

Standard_Integer Discret () const
 Returns the discretisation value of curve

TopoDS_Shape Shape () const
 Return const &

void DisplayOrientation (const Standard_Boolean D)
 When True the orientations of the edges and free
vertices are displayed.

void DisplayTriangulation (const Standard_Boolean D)
 When True the triangulations of the faces
are displayed even if there is a surface.

void DisplayPolygons (const Standard_Boolean D)
 When True the polygons of the edges
are displayed even if there is a geometric curve.

void DisplayHLR (const Standard_Boolean withHLR, const Standard_Boolean withRg1, const Standard_Boolean withRgN, const Standard_Boolean withHid, const Standard_Real ang)
 Performs Hidden lines.

Standard_Boolean DisplayTriangulation () const
Standard_Boolean DisplayPolygons () const
void GetDisplayHLR (Standard_Boolean &withHLR, Standard_Boolean &withRg1, Standard_Boolean &withRgN, Standard_Boolean &withHid, Standard_Real &ang) const
void DrawOn (Draw_Display &dis) const
void DisplayHiddenLines (Draw_Display &dis)
virtual Handle_Draw_Drawable3D Copy () const
 For variable copy.

virtual void Dump (Standard_OStream &S) const
 For variable dump.

virtual void Whatis (Draw_Interpretor &I) const
 For variable whatis command.

Static Public Member Functions

static void LastPick (TopoDS_Shape &S, Standard_Real &u, Standard_Real &v)
 Returns the subshape touched by the last pick.
u,v are the parameters of the closest point.


Constructor & Destructor Documentation


Member Function Documentation

virtual Handle_Draw_Drawable3D DBRep_DrawableShape::Copy ( ) const [virtual]

Reimplemented from Draw_Drawable3D.

void DBRep_DrawableShape::DrawOn ( Draw_Display dis) const [virtual]
virtual void DBRep_DrawableShape::Dump ( Standard_OStream S) const [virtual]

Reimplemented from Draw_Drawable3D.

void DBRep_DrawableShape::GetDisplayHLR ( Standard_Boolean withHLR,
Standard_Boolean withRg1,
Standard_Boolean withRgN,
Standard_Boolean withHid,
Standard_Real ang 
) const
static void DBRep_DrawableShape::LastPick ( TopoDS_Shape S,
Standard_Real u,
Standard_Real v 
) [static]
virtual void DBRep_DrawableShape::Whatis ( Draw_Interpretor I) const [virtual]

Reimplemented from Draw_Drawable3D.


The documentation for this class was generated from the following file: