#include <exotkAIS_DisplayManager.hxx>
Collaboration diagram for exotkAIS_DisplayManager:

Public Methods | |
| void * | operator new (size_t, void *anAddress) |
| OCC new. More... | |
| void * | operator new (size_t size) |
| OCC new. More... | |
| void | operator delete (void *anAddress) |
| OCC delete. More... | |
| Standard_EXPORT | exotkAIS_DisplayManager () |
| Constructor. More... | |
| Standard_EXPORT | exotkAIS_DisplayManager (const Handle_V3d_Viewer &aViewer) |
| Constructor with an existing viewer. More... | |
| Standard_EXPORT | exotkAIS_DisplayManager (const Handle_AIS_InteractiveContext &anAISContext) |
| Constructor with an existing InteractiveContext. More... | |
| virtual Standard_EXPORT | ~exotkAIS_DisplayManager () |
| Destructor. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | SetNameSeed (const TCollection_AsciiString &aNewSeed) |
| Set the name seed for the object names ( if you give "Object" as seed, the names are "Object_1" ). More... | |
| virtual Standard_EXPORT TCollection_AsciiString | NameSeed () |
| Return the name seed. More... | |
| virtual Standard_EXPORT Handle_AIS_InteractiveContext & | InteractiveContext () |
| Return the interactive context. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Add (const Handle_AIS_InteractiveObject &anObjectToAdd, const TCollection_AsciiString &aProposedName=TCollection_AsciiString(), const Standard_Integer aDisplayMode=0, const Standard_Boolean UpdateViewer=Standard_True) |
| Add anObjectToAdd to the Display Manager. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Remove (const Handle_AIS_InteractiveObject &anObjectToRemove, const Standard_Boolean UpdateViewer=Standard_True) |
| Remove anObjectToRemove from the Display Manager. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Remove (const TCollection_AsciiString &anObjectNameToRemove, const Standard_Boolean UpdateViewer=Standard_True) |
| Remove an Handle_AIS_InteractiveObject from the Display Manager from its name. More... | |
| virtual Standard_EXPORT void | SetDisplayMode (const Handle_AIS_InteractiveObject &anObject, const enum exotkAIS_DisplayMode aMode) |
| Set aMode as display mode for anObject. More... | |
| virtual Standard_EXPORT Standard_Boolean | NameExists (const TCollection_AsciiString &aNameToTest) |
| Return true if aNameToTest exists in the display manager. More... | |
| virtual Standard_EXPORT Standard_Boolean | ObjectExists (const Handle_AIS_InteractiveObject &anObjectToTest) |
| Return true if anObjectToTest exists in the display manager. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | Name (const Handle_AIS_InteractiveObject &anObjectToFind) |
| Return the name of anObjectToFind. More... | |
| virtual Standard_EXPORT Standard_Boolean | CurrentObjects (AIS_SequenceOfInteractive &aSequence) |
| return a sequence with the current objects. More... | |
| virtual Standard_EXPORT Handle_AIS_InteractiveObject | InteractiveObject (const TCollection_AsciiString &aNameToFind) |
| Return the InteractiveObject associated with aNameToFind. More... | |
| virtual Standard_EXPORT void | SetMaterial (const Handle_AIS_InteractiveObject &anObject, const Graphic3d_MaterialAspect &aMaterial) |
| Set aMaterial for anObject. More... | |
| virtual Standard_EXPORT void | SetTransparency (const Handle_AIS_InteractiveObject &anObject, const Standard_Real aTransparency) |
| Set aTransparency for anObject. More... | |
| Standard_EXPORT const Handle_Standard_Type & | DynamicType () const |
| Type management. More... | |
| Standard_EXPORT Standard_Boolean | IsKind (const Handle_Standard_Type &) const |
| Type management. More... | |
Private Attributes | |
| Handle_AIS_InteractiveContext | myAISContext |
| exotkAIS_DoubleMapAsciiStringAISInteractiveObject | myMap |
| TCollection_AsciiString | myNameSeed |
| Standard_Integer | myNameIndex |
Friends | |
| Standard_EXPORT friend Handle_Standard_Type & | exotkAIS_DisplayManager_Type_ () |
| Type management. More... | |
Definition at line 63 of file exotkAIS_DisplayManager.hxx.
|
|
Constructor.
Definition at line 90 of file exotkAIS_DisplayManager.cxx. References exotkAIS_GraphicDevice::GetGraphicDevice(), exotkAIS_GraphicDevice::Instance(), myAISContext, myNameIndex, and myNameSeed. |
|
|
Constructor with an existing viewer.
Definition at line 124 of file exotkAIS_DisplayManager.cxx. References myAISContext, myNameIndex, and myNameSeed. |
|
|
Constructor with an existing InteractiveContext.
Definition at line 142 of file exotkAIS_DisplayManager.cxx. References myAISContext, myNameIndex, and myNameSeed. |
|
|
Destructor.
Definition at line 159 of file exotkAIS_DisplayManager.cxx. |
|
||||||||||||||||||||
|
Add anObjectToAdd to the Display Manager.
Definition at line 255 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::Bind(), exotkAIS_DoubleMapAsciiStringAISInteractiveObject::Find2(), exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound2(), myAISContext, myMap, myNameIndex, myNameSeed, and NameExists(). |
|
|
return a sequence with the current objects.
Definition at line 396 of file exotkAIS_DisplayManager.cxx. References myAISContext. |
|
|
Type management.
|
|
|
Return the interactive context.
Definition at line 208 of file exotkAIS_DisplayManager.cxx. References myAISContext. |
|
|
Return the InteractiveObject associated with aNameToFind.
Definition at line 357 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::Find1(), exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound1(), and myMap. Referenced by Remove(). |
|
|
Type management.
|
|
|
Return the name of anObjectToFind.
Definition at line 377 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::Find2(), exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound2(), and myMap. Referenced by Remove(). |
|
|
Return true if aNameToTest exists in the display manager.
Definition at line 221 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound1(), and myMap. Referenced by Add(). |
|
|
Return the name seed.
Definition at line 195 of file exotkAIS_DisplayManager.cxx. References myNameSeed. |
|
|
Return true if anObjectToTest exists in the display manager.
Definition at line 237 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound2(), and myMap. Referenced by SetDisplayMode(), SetMaterial(), and SetTransparency(). |
|
|
OCC delete.
Definition at line 96 of file exotkAIS_DisplayManager.hxx. References exotkAIS_DisplayMode. |
|
|
OCC new.
Definition at line 85 of file exotkAIS_DisplayManager.hxx. |
|
||||||||||||
|
OCC new.
Definition at line 74 of file exotkAIS_DisplayManager.hxx. |
|
||||||||||||
|
Remove an Handle_AIS_InteractiveObject from the Display Manager from its name.
Definition at line 338 of file exotkAIS_DisplayManager.cxx. References InteractiveObject(), and Remove(). |
|
||||||||||||
|
Remove anObjectToRemove from the Display Manager.
Definition at line 308 of file exotkAIS_DisplayManager.cxx. References exotkAIS_DoubleMapAsciiStringAISInteractiveObject::IsBound2(), myAISContext, myMap, Name(), and exotkAIS_DoubleMapAsciiStringAISInteractiveObject::UnBind2(). Referenced by Remove(). |
|
||||||||||||
|
Set aMode as display mode for anObject.
Definition at line 417 of file exotkAIS_DisplayManager.cxx. References myAISContext, and ObjectExists(). |
|
||||||||||||
|
Set aMaterial for anObject.
Definition at line 435 of file exotkAIS_DisplayManager.cxx. References myAISContext, and ObjectExists(). |
|
|
Set the name seed for the object names ( if you give "Object" as seed, the names are "Object_1" ).
Definition at line 172 of file exotkAIS_DisplayManager.cxx. References myNameIndex, and myNameSeed. |
|
||||||||||||
|
Set aTransparency for anObject.
Definition at line 445 of file exotkAIS_DisplayManager.cxx. References myAISContext, and ObjectExists(). |
|
|
Type management.
|
|
|
the exotkAIS_InteractiveContext Definition at line 272 of file exotkAIS_DisplayManager.hxx. Referenced by Add(), CurrentObjects(), exotkAIS_DisplayManager(), InteractiveContext(), Remove(), SetDisplayMode(), SetMaterial(), and SetTransparency(). |
|
|
the map to store the objects and theit names Definition at line 275 of file exotkAIS_DisplayManager.hxx. Referenced by Add(), InteractiveObject(), Name(), NameExists(), ObjectExists(), and Remove(). |
|
|
the index for the name Definition at line 281 of file exotkAIS_DisplayManager.hxx. Referenced by Add(), exotkAIS_DisplayManager(), and SetNameSeed(). |
|
|
the nname seed for the object names Definition at line 278 of file exotkAIS_DisplayManager.hxx. Referenced by Add(), exotkAIS_DisplayManager(), NameSeed(), and SetNameSeed(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001