![]() |
VR-Forces Developer's Guide
|
vrvCore Smoke Element

Classes | |
| struct | DtSmokeModelSetData |
Public Types | |
| using | ModelSetDataArray = std::array< DtSmokeModelSetData, MAX_MODEL_SETS > |
Public Types inherited from makVrv::DtElement | |
| using | ModelSetToSceneObjectIdMap = boost::unordered_map< DtModelSetId, DtUniqueID > |
Static Public Member Functions | |
| static const DtElementEntry::ElementType | theElementType () |
Protected Member Functions | |
| virtual void | slot_visibilityChanged (bool vis) |
Protected Member Functions inherited from makVrv::DtElement | |
| void | slot_updateOverlayNameRaw (const char *text) |
| void | slot_updateConnectionObjectID (const std::string &id) |
| void | slot_updateConnectionObjectType (const std::string &type) |
| void | slot_updateDisplayName (const std::string &text) |
| void | slot_updateOverlayName (const std::string &pname) |
| void | slot_updateDamageState (EntityStateListener::DamageState state) |
| virtual void | getDefinitions (std::vector< DtUnicode > &definitions) |
| virtual void | warnVisualizationFailed (const std::string &file, int line, const std::string &function, DtVisualizerSet *visSet, DtSceneObjectAgent *sceneObject, DtModelSetId modelSet, DtException ex) |
| virtual void | reportElementCreated () |
| virtual void | reportDisplayName () |
| virtual void | reportConnectionObjectID () |
| virtual void | reportConnectionObjectType () |
| virtual void | reportOverlayNameChanged () |
| virtual void | reportVisibility () |
| virtual void | reportDamageStateChanged () |
| virtual void | reportDriverType () |
| virtual void | reportElementSubtype () |
| virtual void | reportElementDefinitionName () |
| virtual void | reportDisplayUnitCollectionName () |
| virtual bool | distribute () const |
| virtual void | setDistribute (const bool distribute) |
Protected Attributes | |
| DtSmokeStateListener * | mySmokeListener |
| DtSignalConnectionManager | myConnections |
| ModelSetDataArray | myModelSetDataArray |
Protected Attributes inherited from makVrv::DtElement | |
| DtAgentManagerInterface & | mySceneInterface |
| DtSharedSettingsManager & | mySettingsManager |
| const DtVisualizerCreationSettings::VisualTypeVisualizerCreationMap & | myVisualTypeVisualizerCreationMap |
| DtBaseConnection & | myBaseConnection |
| DtElementID | myElementId |
| DtUnicode | myElementDefinitionName |
| const DtElementDefinition * | myElementDefinition |
| std::string | myDisplayUnitCollectionName |
| std::string | myConnectionObjectID |
| std::string | myConnectionObjectType |
| std::string | myDisplayName |
| std::string | myElementOverlayName |
| std::string | myDriverType |
| DtElementAttributes::ElementSubtypes | myElementSubtype |
| EntityStateListener::DamageState | myDamageState |
| bool | myElementVisible |
| bool | myElementReported |
| bool | myDistribute |
| ModelSetToSceneObjectIdMap | myModelSetToSceneObjectIdMap |
| using makVrv::DtSmokeElement::ModelSetDataArray = std::array<DtSmokeModelSetData, MAX_MODEL_SETS> |
MAX_MODEL_SETS is defined in DtModelSetEnums.h.
| makVrv::DtSmokeElement::DtSmokeElement | ( | DtBaseConnection & | conn, |
| DtStateListener & | listener | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
Returns the element type, in this case smoke.
Implements makVrv::DtElement.
|
static |
|
virtual |
Visualize the element. Finds the element definition DtSharedModelSetSettings::ModelSetVisualizedMap contains the model sets that are to be visualized. Each entry in the map is passed to setModelSetEnabled to either be created or destroyed if it has already been created.
Reimplemented from makVrv::DtElement.
|
overridevirtual |
Sets the particular model set up. Does nothing if it already exists. This method does a large portion of element creation. It creates the sceneObject agent, the visualizer set.
Implements makVrv::DtElement.
|
virtual |
|
virtual |
|
virtual |
Get the current model set array.
| DtSmokeVisualizerSet* makVrv::DtSmokeElement::findVisualizerSetForModelSet | ( | DtModelSetId | modelSet | ) | const |
Attempt to find a visualizer set for a given model set, can return nullptr;.
|
inline |
|
protectedvirtual |
Called when the listener indicates the element has become visible or not Calls DtElement::setVisible( vis ); to report element attribute visibility change.
|
protected |
|
protected |
|
protected |