|
Public Member Functions |
Standard_EXPORT | 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) |
Standard_EXPORT void | Set (const TopoDS_Shape &C) |
Standard_EXPORT void | ChangeNbIsos (const Standard_Integer NbIsos) |
| Changes the number of isoparametric curves in a shape.
.
|
Standard_EXPORT Standard_Integer | NbIsos () const |
| Returns the number of isoparametric curves in a shape.
.
|
Standard_EXPORT void | ChangeDiscret (const Standard_Integer Discret) |
| Changes the number of isoparametric curves in a shape.
.
|
Standard_EXPORT Standard_Integer | Discret () const |
| Returns the discretisation value of curve
.
|
Standard_EXPORT TopoDS_Shape | Shape () const |
| Return const &
.
|
Standard_EXPORT void | DisplayOrientation (const Standard_Boolean D) |
| When True the orientations of the edges and free
vertices are displayed.
.
|
Standard_EXPORT void | DisplayTriangulation (const Standard_Boolean D) |
| When True the triangulations of the faces
are displayed even if there is a surface.
.
|
Standard_EXPORT void | DisplayPolygons (const Standard_Boolean D) |
| When True the polygons of the edges
are displayed even if there is a geometric curve.
.
|
Standard_EXPORT 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_EXPORT Standard_Boolean | DisplayTriangulation () const |
Standard_EXPORT Standard_Boolean | DisplayPolygons () const |
Standard_EXPORT void | GetDisplayHLR (Standard_Boolean &withHLR, Standard_Boolean &withRg1, Standard_Boolean &withRgN, Standard_Boolean &withHid, Standard_Real &ang) const |
Standard_EXPORT void | DrawOn (Draw_Display &dis) const |
Standard_EXPORT void | DisplayHiddenLines (Draw_Display &dis) |
virtual Standard_EXPORT Handle_Draw_Drawable3D | Copy () const |
| For variable copy.
.
|
virtual Standard_EXPORT void | Dump (Standard_OStream &S) const |
| For variable dump.
.
|
virtual Standard_EXPORT void | Whatis (Draw_Interpretor &I) const |
| For variable whatis command.
.
|
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions |
static Standard_EXPORT 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.
.
|
Private Member Functions |
Standard_EXPORT void | Display (const Handle(Poly_Triangulation)&T, const gp_Trsf &tr, Draw_Display &dis) const |
Private Attributes |
TopoDS_Shape | myShape |
DBRep_ListOfEdge | myEdges |
DBRep_ListOfFace | myFaces |
DBRep_ListOfHideData | myHidData |
Standard_Real | mySize |
Standard_Integer | myDiscret |
Draw_Color | myFreeCol |
Draw_Color | myConnCol |
Draw_Color | myEdgeCol |
Draw_Color | myIsosCol |
Standard_Integer | myNbIsos |
Standard_Boolean | myDispOr |
Standard_Boolean | mytriangulations |
Standard_Boolean | mypolygons |
Standard_Boolean | myHLR |
Standard_Boolean | myRg1 |
Standard_Boolean | myRgN |
Standard_Boolean | myHid |
Standard_Real | myAng |