|
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 | ViewerInit () |
| implemented in Viewer2dTest_ViewerCommands.cxx
|
static Standard_EXPORT TopoDS_Shape | PickShape (const TopAbs_ShapeEnum aType, const Standard_Integer MaxPick=5) |
| waits until a shape of type <atype> is picked in the AIS2D Viewer and returns it.
if <atype> == TopAbs_Shape, any shape can be picked...
MaxPick is the Max number before exiting, if no pick is successfull
|
static Standard_EXPORT Standard_Boolean | PickShapes (const TopAbs_ShapeEnum aType, Handle(TopTools_HArray1OfShape)&thepicked, const Standard_Integer MaxPick=5) |
| wait until the array is filled with picked shapes.
returns True if the array is filled.
exit if number of unsuccesfull picks = <maxpick>
|
static Standard_EXPORT Handle_AIS2D_InteractiveObject | PickObject (const AIS_KindOfInteractive Type=AIS_KOI_None, const Standard_Integer Signature=-1, const Standard_Integer MaxPick=5) |
| waits until an interactive object of a given Type
and signature is picked (defaut values authorize
selection of any Interactive Object)
exit if number of unsuccesfull picks = <maxpick>
|
static Standard_EXPORT Standard_Boolean | PickObjects (Handle(TColStd_HArray1OfTransient)&thepicked, const AIS_KindOfInteractive Type=AIS_KOI_None, const Standard_Integer Signature=-1, const Standard_Integer MaxPick=5) |
| selection of several interactive objects. Number is given
by the size of <thepicked>
exit if number of unsuccesfull picks = <maxpick>
|
static Standard_EXPORT void | GetMousePosition (Standard_Integer &xpix, Standard_Integer &ypix) |
static Standard_EXPORT Handle_V2d_Viewer | GetViewerFromContext () |
static Standard_EXPORT Handle_V2d_Viewer | GetCollectorFromContext () |
static Standard_EXPORT Handle_AIS2D_InteractiveContext | GetAIS2DContext () |
static Standard_EXPORT void | SetAIS2DContext (const Handle(AIS2D_InteractiveContext)&aContext) |
static Standard_EXPORT Handle_V2d_View | CurrentView () |
static Standard_EXPORT void | CurrentView (const Handle(V2d_View)&aViou) |
static Standard_EXPORT void | Clear () |
static Standard_EXPORT void | SetEventManager (const Handle(Viewer2dTest_EventManager)&aMgr) |
| puts <amgr> as current eventmanager (the
move,select,...will be applied to <amgr>
|
static Standard_EXPORT void | UnsetEventManager () |
| removes the last EventManager from the list.
|
static Standard_EXPORT void | ResetEventManager () |
| clear the list of EventManagers and
sets the default EventManager as current
|
static Standard_EXPORT Handle_Viewer2dTest_EventManager | CurrentEventManager () |
static Standard_EXPORT void | RemoveSelected () |
static Standard_EXPORT void | StandardModeActivation (const Standard_Integer Mode) |
static Standard_EXPORT void | Commands (Draw_Interpretor &theCommands) |
static Standard_EXPORT void | MyCommands (Draw_Interpretor &theCommands) |
static Standard_EXPORT void | GeneralCommands (Draw_Interpretor &theCommands) |
static Standard_EXPORT void | ViewerCommands (Draw_Interpretor &theCommands) |
static Standard_EXPORT void | DisplayCommands (Draw_Interpretor &theCommands) |
static Standard_EXPORT void | ObjectCommands (Draw_Interpretor &theCommands) |