![]() |
VR-Forces 5.0.1 Developer's Guide
|
The DtIntervisibilityElement class implements the common behavior of shape elements that are added to the scene.

Public Types | |
| using | ModelSetMap = boost::unordered_map< int, DtIntervisibilityVisualizerSet * > |
Public Types inherited from makVrv::DtElement | |
| using | ModelSetToSceneObjectIdMap = boost::unordered_map< DtObserverMode::ModelSets, DtUniqueID > |
Static Public Member Functions | |
| static const DtElementEntry::ElementType | theElementType () |
Protected Member Functions | |
| virtual void | setModelSetEnabled (int modelSet, bool enabled) override |
| virtual DtIntervisibilityVisualizerSet * | createVisualizerSet (int modelSet) const |
| virtual void | getDefinitions (std::vector< DtUnicode > &definitions) override |
| virtual void | reportDriverType () override |
| 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 | reportElementCreated () |
| virtual void | reportDisplayName () |
| virtual void | reportConnectionObjectID () |
| virtual void | reportConnectionObjectType () |
| virtual void | reportOverlayNameChanged () |
| virtual void | reportVisibility () |
| virtual void | reportDamageStateChanged () |
| virtual void | reportElementSubtype () |
| virtual void | reportElementDefinitionName () |
| virtual void | reportDisplayUnitCollectionName () |
| virtual bool | distribute () const |
| virtual void | setDistribute (const bool distribute) |
| using makVrv::DtIntervisibilityElement::ModelSetMap = boost::unordered_map<int, DtIntervisibilityVisualizerSet*> |
| makVrv::DtIntervisibilityElement::DtIntervisibilityElement | ( | DtDe & | de, |
| DtBaseConnection & | connection, | ||
| DtIntervisibilityStateListener & | , | ||
| const DtUnicode & | elementDefName, | ||
| DtElementEntry::ElementType | type, | ||
| bool | distribute = true |
||
| ) |
COTR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
virtual |
Set the element to be visible.
Reimplemented from makVrv::DtElement.
|
inline |
|
inline |
|
virtual |
|
virtual |
|
inlineoverridevirtual |
Virtual function for getting the element type.
Implements makVrv::DtElement.
|
inlinestatic |
References makVrv::DtElementEntry::Intervisibility.
|
virtual |
Returns the index of the vertex and the visualizer that contains it. Returns -1 is index does not exist.
Loops through all visual sets and sets the particular vertex at the index to be selected (or not)
|
virtual |
Visualizes on all realized model sets.
|
virtual |
Sets points pickable (if there is a shape vertex visualizer) in any of the sets.
| bool makVrv::DtIntervisibilityElement::pickable | ( | ) | const |
|
virtual |
Returns true if circle is selected. The visual definition, when created, has the "circleMode" flag as true, the item is selected and the center point is not.
|
virtual |
Returns true if any of the visualizers in this set has the circleMode flag set.
|
overrideprotectedvirtual |
Enables a given model set.
Implements makVrv::DtElement.
Reimplemented in makVrf::DtIntervisibilityRadarCoverageElement.
|
protectedvirtual |
Must implement to return visualizer set to use.
|
overrideprotectedvirtual |
get the element definition names for this entity type Intentional NOP for base override
Reimplemented from makVrv::DtElement.
|
overrideprotectedvirtual |
Report what driver this element comes from. This element type is not put out across any networks. Must override base class method. Intentional NOP.
Reimplemented from makVrv::DtElement.
|
protectedvirtual |
Called when the listener indicates the element has become visible or not.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |