Open CASCADE Technology
7.7.0
|
Used to display BRep objects using the DrawTrSurf package. The DrawableShape is a Display object build from a Shape. Provides methods to manage a directory of named shapes. Provides a set of Draw commands for Shapes. More...
#include <DBRep.hxx>
Static Public Member Functions | |
static void | Set (const Standard_CString Name, const TopoDS_Shape &S) |
Creation of isoparametric curves. Implements ProgressIndicator for DRAW Sets <S> in the variable <Name>. Overwrite the variable if already set. More... | |
static TopoDS_Shape | Get (Standard_CString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. More... | |
static TopoDS_Shape | Get (TCollection_AsciiString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. More... | |
static TopoDS_Shape | GetExisting (const TCollection_AsciiString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. More... | |
static void | BasicCommands (Draw_Interpretor &theCommands) |
Defines the basic commands. More... | |
static DBRep_Params & | Parameters () |
Return global parameters. More... | |
static Standard_Boolean | HLRMode () |
True if HLR, False if wireframe. More... | |
static Standard_Boolean | Rg1Mode () |
True if display Rg1Lines. More... | |
static Standard_Boolean | RgNMode () |
True if display RgNLines. More... | |
static Standard_Boolean | HidMode () |
True if display HiddenLines. More... | |
static Standard_Real | HLRAngle () |
discretisation angle for edges. More... | |
static Standard_Integer | NbIsos () |
number of iso in U and V More... | |
static Standard_Integer | Discretisation () |
Discretization number of points for curves. More... | |
Static Protected Member Functions | |
static TopoDS_Shape | getShape (Standard_CString &theName, TopAbs_ShapeEnum theType, Standard_Boolean theToComplain) |
Returns the shape in the variable. More... | |
Used to display BRep objects using the DrawTrSurf package. The DrawableShape is a Display object build from a Shape. Provides methods to manage a directory of named shapes. Provides a set of Draw commands for Shapes.
|
static |
Defines the basic commands.
|
inlinestatic |
Discretization number of points for curves.
|
inlinestatic |
Returns the shape in the variable.
theName | [in] [out] variable name, or "." to pick up shape interactively (the picked name will be returned then) |
theType | [in] shape type filter; function will return NULL if shape has different type |
theToComplain | [in] when TRUE, prints a message on cout if the variable is not set |
|
inlinestatic |
Returns the shape in the variable.
theName | [in] [out] variable name, or "." to pick up shape interactively (the picked name will be returned then) |
theType | [in] shape type filter; function will return NULL if shape has different type |
theToComplain | [in] when TRUE, prints a message on cout if the variable is not set |
|
inlinestatic |
Returns the shape in the variable.
theName | [in] variable name |
theType | [in] shape type filter; function will return NULL if shape has different type |
theToComplain | [in] when TRUE, prints a message on cout if the variable is not set |
|
staticprotected |
Returns the shape in the variable.
theName | [in] [out] variable name, or "." to pick up shape interactively (the picked name will be returned then) |
theType | [in] shape type filter; function will return NULL if shape has different type |
theToComplain | [in] when TRUE, prints a message on cout if the variable is not set |
|
inlinestatic |
True if display HiddenLines.
|
inlinestatic |
discretisation angle for edges.
|
inlinestatic |
True if HLR, False if wireframe.
|
inlinestatic |
number of iso in U and V
|
static |
Return global parameters.
|
inlinestatic |
True if display Rg1Lines.
|
inlinestatic |
True if display RgNLines.
|
static |
Creation of isoparametric curves. Implements ProgressIndicator for DRAW Sets <S> in the variable <Name>. Overwrite the variable if already set.