Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

#include <DBRep.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC 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.

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.

static void BasicCommands (Draw_Interpretor &theCommands)
 Defines the basic commands.

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 ()
 discretisation number of points for curves
//! set progress indicator
//! get progress indicator


Member Function Documentation

static void DBRep::BasicCommands ( Draw_Interpretor theCommands) [static]
static Standard_Boolean DBRep::HidMode ( ) [static]
static Standard_Real DBRep::HLRAngle ( ) [static]
static Standard_Boolean DBRep::HLRMode ( ) [static]
static Standard_Integer DBRep::NbIsos ( ) [static]
static Standard_Boolean DBRep::Rg1Mode ( ) [static]
static Standard_Boolean DBRep::RgNMode ( ) [static]

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