Open CASCADE Technology  6.9.0
Static Public Member Functions

DBRep Class Reference

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 &Name, const TopAbs_ShapeEnum Typ=TopAbs_SHAPE, const Standard_Boolean Complain=Standard_False)
 Returns the shape in the variable <Name>. Returns a null shape if the variable is not set or not of the given <Typ>. If <Complain> is True a message is printed on cout if the variable is not set. More...
 
static void BasicCommands (Draw_Interpretor &theCommands)
 Defines the basic commands. 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 ()
 discretisation number of points for curves set progress indicator get progress indicator More...
 

Detailed Description

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.

Member Function Documentation

static void DBRep::BasicCommands ( Draw_Interpretor theCommands)
static

Defines the basic commands.

static Standard_Integer DBRep::Discretisation ( )
static

discretisation number of points for curves set progress indicator get progress indicator

static TopoDS_Shape DBRep::Get ( Standard_CString Name,
const TopAbs_ShapeEnum  Typ = TopAbs_SHAPE,
const Standard_Boolean  Complain = Standard_False 
)
static

Returns the shape in the variable <Name>. Returns a null shape if the variable is not set or not of the given <Typ>. If <Complain> is True a message is printed on cout if the variable is not set.

static Standard_Boolean DBRep::HidMode ( )
static

True if display HiddenLines.

static Standard_Real DBRep::HLRAngle ( )
static

discretisation angle for edges.

static Standard_Boolean DBRep::HLRMode ( )
static

True if HLR, False if wireframe.

static Standard_Integer DBRep::NbIsos ( )
static

number of iso in U and V

static Standard_Boolean DBRep::Rg1Mode ( )
static

True if display Rg1Lines.

static Standard_Boolean DBRep::RgNMode ( )
static

True if display RgNLines.

static void DBRep::Set ( const Standard_CString  Name,
const TopoDS_Shape S 
)
static

Creation of isoparametric curves. Implements ProgressIndicator for DRAW Sets <S> in the variable <Name>. Overwrite the variable if already set.


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