# Draw
TKDraw
Draw

# Draw Class Reference

MAQUETTE DESSIN MODELISATION
.

`#include <Draw.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)

## Static Public Member Functions

static Standard_EXPORT void | Load (Draw_Interpretor &theDI, const TCollection_AsciiString &theKey, const TCollection_AsciiString &theResourceFileName)
static Standard_EXPORT 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 Standard_EXPORT 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 Standard_EXPORT 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 Standard_EXPORT void | Set (const Standard_CString Name, const Standard_Real val)
| Sets a numeric variable. .
static Standard_EXPORT 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_EXPORT Standard_Boolean | Get (const Standard_CString Name, Standard_Real &val)
| Gets a numeric variable. Returns True if the variable exist. .
static Standard_EXPORT void | Set (const Standard_CString Name, const Standard_CString val)
| Sets a TCL sting variable .
static Standard_EXPORT Standard_Real | Atof (const Standard_CString Name)
| Search a numeric variable. If none found convert the string to a real. .
static Standard_EXPORT Standard_Integer | Atoi (const Standard_CString Name)
| Search a numeric variable. If none found convert the string to an integer. .
static Standard_EXPORT void | LastPick (Standard_Integer &view, Standard_Integer &X, Standard_Integer &Y, Standard_Integer &button)
| Returns last graphic selection description. .
static Standard_EXPORT void | Repaint ()
| Ask to repaint the screen after the current command. .
static Standard_EXPORT void | SetProgressBar (const Handle(Draw_ProgressIndicator)&thePI)
| set progress indicator
static Standard_EXPORT Handle_Draw_ProgressIndicator | GetProgressBar ()
| get progress indicator
static Standard_EXPORT void | Commands (Draw_Interpretor &I)
| Defines all Draw commands .
static Standard_EXPORT void | BasicCommands (Draw_Interpretor &I)
| Defines Draw basic commands .
static Standard_EXPORT void | VariableCommands (Draw_Interpretor &I)
| Defines Draw variables handling commands. .
static Standard_EXPORT void | GraphicCommands (Draw_Interpretor &I)
| Defines Draw variables handling commands. .
static Standard_EXPORT void | PloadCommands (Draw_Interpretor &I)
| Defines Loads Draw plugins commands. .
static Standard_EXPORT void | UnitCommands (Draw_Interpretor &I)
| Defines Draw unit commands .

## Member Function Documentation

static Standard_EXPORT Standard_Real Draw::Atof | ( | const Standard_CString | Name | ) | `[static]`

static Standard_EXPORT Standard_Integer Draw::Atoi | ( | const Standard_CString | Name | ) | `[static]`

static Standard_EXPORT void Draw::BasicCommands | ( | Draw_Interpretor & | I | ) | `[static]`

static Standard_EXPORT void Draw::Commands | ( | Draw_Interpretor & | I | ) | `[static]`

static Standard_EXPORT Standard_Boolean Draw::Get | ( | const Standard_CString | Name,
|  | Standard_Real & | val
| ) | `[static]`

static Standard_EXPORT Handle_Draw_Drawable3D Draw::Get | ( | Standard_CString & | Name,
|  | const Standard_Boolean | Complain = `Standard_True`
| ) | `[static]`

static Standard_EXPORT Handle_Draw_ProgressIndicator Draw::GetProgressBar | ( |  | ) | `[static]`

static Standard_EXPORT void Draw::GraphicCommands | ( | Draw_Interpretor & | I | ) | `[static]`

static Standard_EXPORT void Draw::LastPick | ( | Standard_Integer & | view,
|  | Standard_Integer & | X,
|  | Standard_Integer & | Y,
|  | Standard_Integer & | button
| ) | `[static]`

static Standard_EXPORT 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 Standard_EXPORT void Draw::Load | ( | Draw_Interpretor & | theDI,
|  | const TCollection_AsciiString & | theKey,
|  | const TCollection_AsciiString & | theResourceFileName
| ) | `[static]`

void Draw::operator delete | ( | void * | anAddress | ) | `[inline]`

void* Draw::operator new | ( | size_t | size | ) | `[inline]`

void* Draw::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

static Standard_EXPORT void Draw::PloadCommands | ( | Draw_Interpretor & | I | ) | `[static]`

static Standard_EXPORT void Draw::Repaint | ( |  | ) | `[static]`

static Standard_EXPORT void Draw::Set | ( | const Standard_CString | Name,
|  | const Standard_CString | val
| ) | `[static]`

static Standard_EXPORT void Draw::Set | ( | const Standard_CString | Name,
|  | const Standard_Real | val
| ) | `[static]`

static Standard_EXPORT void Draw::Set | ( | const Standard_CString | Name,
|  | const Handle(Draw_Drawable3D)& | D
| ) | `[static]`

static Standard_EXPORT void Draw::Set | ( | const Standard_CString | Name,
|  | const Handle(Draw_Drawable3D)& | D,
|  | const Standard_Boolean | Disp
| ) | `[static]`

static Standard_EXPORT void Draw::SetProgressBar | ( | const Handle(Draw_ProgressIndicator)& | thePI | ) | `[static]`

static Standard_EXPORT void Draw::UnitCommands | ( | Draw_Interpretor & | I | ) | `[static]`

static Standard_EXPORT void Draw::VariableCommands | ( | Draw_Interpretor & | I | ) | `[static]`

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

- Draw.hxx