Open CASCADE Technology 7.8.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 | |
static TopoDS_Shape | Get (Standard_CString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. | |
static TopoDS_Shape | Get (TCollection_AsciiString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. | |
static TopoDS_Shape | GetExisting (const TCollection_AsciiString &theName, TopAbs_ShapeEnum theType=TopAbs_SHAPE, Standard_Boolean theToComplain=Standard_False) |
Returns the shape in the variable. | |
static void | BasicCommands (Draw_Interpretor &theCommands) |
Defines the basic commands. | |
static DBRep_Params & | Parameters () |
Return global parameters. | |
static Standard_Boolean | HLRMode () |
True if HLR, False if wireframe. | |
static Standard_Boolean | Rg1Mode () |
True if display Rg1Lines. | |
static Standard_Boolean | RgNMode () |
True if display RgNLines. | |
static Standard_Boolean | HidMode () |
True if display HiddenLines. | |
static Standard_Real | HLRAngle () |
discretisation angle for edges. | |
static Standard_Integer | NbIsos () |
number of iso in U and V | |
static Standard_Integer | Discretisation () |
Discretization number of points for curves. | |
Static Protected Member Functions | |
static TopoDS_Shape | getShape (Standard_CString &theName, TopAbs_ShapeEnum theType, Standard_Boolean theToComplain) |
Returns the shape in the variable. | |
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 in the variable <Name>. Overwrite the variable if already set.