Open CASCADE Technology 6.6.0
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

DBRep_DrawableShape::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 
)

Member Function Documentation

void DBRep_DrawableShape::ChangeDiscret ( const Standard_Integer  Discret)
void DBRep_DrawableShape::ChangeNbIsos ( const Standard_Integer  NbIsos)
virtual Handle_Draw_Drawable3D DBRep_DrawableShape::Copy ( ) const [virtual]

Reimplemented from Draw_Drawable3D.

Standard_Integer DBRep_DrawableShape::Discret ( ) const
void DBRep_DrawableShape::DisplayHiddenLines ( Draw_Display dis)
void DBRep_DrawableShape::DisplayHLR ( const Standard_Boolean  withHLR,
const Standard_Boolean  withRg1,
const Standard_Boolean  withRgN,
const Standard_Boolean  withHid,
const Standard_Real  ang 
)
void DBRep_DrawableShape::DisplayOrientation ( const Standard_Boolean  D)
void DBRep_DrawableShape::DisplayPolygons ( const Standard_Boolean  D)
Standard_Boolean DBRep_DrawableShape::DisplayPolygons ( ) const
void DBRep_DrawableShape::DisplayTriangulation ( const Standard_Boolean  D)
Standard_Boolean DBRep_DrawableShape::DisplayTriangulation ( ) const
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]
Standard_Integer DBRep_DrawableShape::NbIsos ( ) const
void DBRep_DrawableShape::Set ( const TopoDS_Shape C)
TopoDS_Shape DBRep_DrawableShape::Shape ( ) const
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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines