Open CASCADE Technology  6.9.0
Static Public Member Functions

Draw Class Reference

MAQUETTE DESSIN MODELISATION. More...

#include <Draw.hxx>

Static Public Member Functions

static void Load (Draw_Interpretor &theDI, const TCollection_AsciiString &theKey, const TCollection_AsciiString &theResourceFileName, TCollection_AsciiString &theDefaultsDirectory, TCollection_AsciiString &theUserDefaultsDirectory, const Standard_Boolean Verbose=Standard_False)
 
static void Set (const Standard_CString Name, const Handle< Draw_Drawable3D > &D, const Standard_Boolean Disp)
 Sets a variable. Display it if <Disp> is true. More...
 
static void Set (const Standard_CString Name, const Handle< Draw_Drawable3D > &D)
 Sets a variable, a null handle clear the vartiable. Automatic display is context driven. More...
 
static void Set (const Standard_CString Name, const Standard_Real val)
 Sets a numeric variable. More...
 
static Handle< Draw_Drawable3DGet (Standard_CString &Name, const Standard_Boolean Complain=Standard_True)
 Returns a variable value. Null if the variable does not exist, a warning is printed if Complain is True. More...
 
static Standard_Boolean Get (const Standard_CString Name, Standard_Real &val)
 Gets a numeric variable. Returns True if the variable exist. More...
 
static void Set (const Standard_CString Name, const Standard_CString val)
 Sets a TCL sting variable. More...
 
static Standard_Real Atof (const Standard_CString Name)
 Converts numeric expression, that can involve DRAW variables, to real value. More...
 
static Standard_Integer Atoi (const Standard_CString Name)
 Converts numeric expression, that can involve DRAW variables, to integer value. Implemented as cast of Atof() to integer. More...
 
static void LastPick (Standard_Integer &view, Standard_Integer &X, Standard_Integer &Y, Standard_Integer &button)
 Returns last graphic selection description. More...
 
static void Repaint ()
 Asks to repaint the screen after the current command. More...
 
static void SetProgressBar (const Handle< Draw_ProgressIndicator > &thePI)
 sets progress indicator More...
 
static Handle
< Draw_ProgressIndicator
GetProgressBar ()
 gets progress indicator More...
 
static void Commands (Draw_Interpretor &I)
 Defines all Draw commands. More...
 
static void BasicCommands (Draw_Interpretor &I)
 Defines Draw basic commands. More...
 
static void VariableCommands (Draw_Interpretor &I)
 Defines Draw variables handling commands. More...
 
static void GraphicCommands (Draw_Interpretor &I)
 Defines Draw variables handling commands. More...
 
static void PloadCommands (Draw_Interpretor &I)
 Defines Loads Draw plugins commands. More...
 
static void UnitCommands (Draw_Interpretor &I)
 Defines Draw unit commands. More...
 

Detailed Description

MAQUETTE DESSIN MODELISATION.

Member Function Documentation

static Standard_Real Draw::Atof ( const Standard_CString  Name)
static

Converts numeric expression, that can involve DRAW variables, to real value.

static Standard_Integer Draw::Atoi ( const Standard_CString  Name)
static

Converts numeric expression, that can involve DRAW variables, to integer value. Implemented as cast of Atof() to integer.

static void Draw::BasicCommands ( Draw_Interpretor I)
static

Defines Draw basic commands.

static void Draw::Commands ( Draw_Interpretor I)
static

Defines all Draw commands.

static Handle< Draw_Drawable3D > Draw::Get ( Standard_CString Name,
const Standard_Boolean  Complain = Standard_True 
)
static

Returns a variable value. Null if the variable does not exist, a warning is printed if Complain is True.

The name "." does a graphic selection. If the selection is a variable <Name> is overwritten with the name of the variable.

static Standard_Boolean Draw::Get ( const Standard_CString  Name,
Standard_Real val 
)
static

Gets a numeric variable. Returns True if the variable exist.

static Handle< Draw_ProgressIndicator > Draw::GetProgressBar ( )
static

gets progress indicator

static void Draw::GraphicCommands ( Draw_Interpretor I)
static

Defines Draw variables handling commands.

static void Draw::LastPick ( Standard_Integer view,
Standard_Integer X,
Standard_Integer Y,
Standard_Integer button 
)
static

Returns last graphic selection description.

static void Draw::Load ( Draw_Interpretor theDI,
const TCollection_AsciiString theKey,
const TCollection_AsciiString theResourceFileName,
TCollection_AsciiString theDefaultsDirectory,
TCollection_AsciiString theUserDefaultsDirectory,
const Standard_Boolean  Verbose = Standard_False 
)
static
static void Draw::PloadCommands ( Draw_Interpretor I)
static

Defines Loads Draw plugins commands.

static void Draw::Repaint ( )
static

Asks to repaint the screen after the current command.

static void Draw::Set ( const Standard_CString  Name,
const Handle< Draw_Drawable3D > &  D,
const Standard_Boolean  Disp 
)
static

Sets a variable. Display it if <Disp> is true.

static void Draw::Set ( const Standard_CString  Name,
const Handle< Draw_Drawable3D > &  D 
)
static

Sets a variable, a null handle clear the vartiable. Automatic display is context driven.

static void Draw::Set ( const Standard_CString  Name,
const Standard_Real  val 
)
static

Sets a numeric variable.

static void Draw::Set ( const Standard_CString  Name,
const Standard_CString  val 
)
static

Sets a TCL sting variable.

static void Draw::SetProgressBar ( const Handle< Draw_ProgressIndicator > &  thePI)
static

sets progress indicator

static void Draw::UnitCommands ( Draw_Interpretor I)
static

Defines Draw unit commands.

static void Draw::VariableCommands ( Draw_Interpretor I)
static

Defines Draw variables handling commands.


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