Static Public Member Functions |
static DEFINE_STANDARD_ALLOC void | Load (Draw_Interpretor &theDI, const TCollection_AsciiString &theKey, const TCollection_AsciiString &theResourceFileName) |
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.
|
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.
|
static void | Set (const Standard_CString Name, const Standard_Real val) |
| Sets a numeric variable.
|
static Handle_Draw_Drawable3D | Get (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.
The name "." does a graphic selection. If the
selection is a variable <Name> is overwritten with
the name of the variable.
|
static Standard_Boolean | Get (const Standard_CString Name, Standard_Real &val) |
| Gets a numeric variable. Returns True if the
variable exist.
|
static void | Set (const Standard_CString Name, const Standard_CString val) |
| Sets a TCL sting variable
|
static Standard_Real | Atof (const Standard_CString Name) |
| Search a numeric variable. If none found converts
the string to a real.
|
static Standard_Integer | Atoi (const Standard_CString Name) |
| Search a numeric variable. If none found converts
the string to an integer.
|
static void | LastPick (Standard_Integer &view, Standard_Integer &X, Standard_Integer &Y, Standard_Integer &button) |
| Returns last graphic selection description.
|
static void | Repaint () |
| Asks to repaint the screen after the current command.
|
static void | SetProgressBar (const Handle< Draw_ProgressIndicator > &thePI) |
| sets progress indicator
|
static
Handle_Draw_ProgressIndicator | GetProgressBar () |
| gets progress indicator
|
static void | Commands (Draw_Interpretor &I) |
| Defines all Draw commands
|
static void | BasicCommands (Draw_Interpretor &I) |
| Defines Draw basic commands
|
static void | VariableCommands (Draw_Interpretor &I) |
| Defines Draw variables handling commands.
|
static void | GraphicCommands (Draw_Interpretor &I) |
| Defines Draw variables handling commands.
|
static void | PloadCommands (Draw_Interpretor &I) |
| Defines Loads Draw plugins commands.
|
static void | UnitCommands (Draw_Interpretor &I) |
| Defines Draw unit commands
|