64 virtual void update(
const osg::FrameStamp* frameStamp)
override;
70 virtual bool slot_setSequence(osg::Sequence* clone, osg::Sequence* master,
int containerInstanceId)
override;
74 virtual void addSequence(osg::Sequence* sequence,
int containerInstanceId)
override;
handles the switches for all the indirect geometry. Sets up the default state of osg::Switch, osgSim::MultiSwitch, and DtDynamicTerrainSwitchNode. Connects to a signal for the DtDynamicTerrainSwitchNode so it can update the indirect buffer when a switch changes. saves off the node path hash for every switch path that is added. Owned by a DtIndirectGeometry 1:1 This manager's switches get updated per frame via looking at the actual switches/multi-switches
Definition: DtIndirectSwitchManager.h:71
unsigned int myValue
Definition: DtIndirectSignalBasedSwitchManager.h:88
virtual void addSequence(osg::Sequence *sequence, int containerInstanceId) override
add a sequence
DtIndirectSignalBasedSwitchManager & operator=(const DtIndirectSwitchManager &other)=delete
Assignment Operator Not implemented – Assignment Not Allowed.
virtual void printInfoMapsSize() const override
print out map size information
virtual void updateActiveSequences(const osg::FrameStamp *frameStamp)
update
MapInstanceToMapOfSequences myActiveMapSequenceToInfo
Definition: DtIndirectSignalBasedSwitchManager.h:92
osg::Sequence * mySequence
Definition: DtIndirectSignalBasedSwitchManager.h:87
virtual void removeSwitchPaths(int containerInstanceId) override
remove the switch paths/infos associated with an instance
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Definition: DtIndirectSignalBasedSwitchManager.h:84
virtual void update(const osg::FrameStamp *frameStamp) override
override of DtIndirectSwitchManager::update
virtual bool slot_setSequence(osg::Sequence *clone, osg::Sequence *master, int containerInstanceId) override
set the sequence
This is used for entities indicate whether this manager's switches get updated directly using signals...
Definition: DtIndirectSignalBasedSwitchManager.h:42
virtual ~DtIndirectSignalBasedSwitchManager()
DTOR.
Contains makVrv::DtIndirectSwitchManager class.
std::map< osg::Sequence *, SequenceAndValue > MapOfSequences
Definition: DtIndirectSignalBasedSwitchManager.h:90
std::map< int, MapOfSequences > MapInstanceToMapOfSequences
Definition: DtIndirectSignalBasedSwitchManager.h:91
Contains DLL export macros.
DtVirtualBaseClassCreator< DtIndirectSignalBasedSwitchManager > DtIndirectSignalBasedSwitchManagerCreator
creator
Definition: DtIndirectSignalBasedSwitchManager.h:28
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
const char * creatorTypeName< DtIndirectSignalBasedSwitchManager >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtIndirectSignalBasedSwitchManager.h:35
friend DtIndirectSignalBasedSwitchManagerCreator
only creator can create
Definition: DtIndirectSignalBasedSwitchManager.h:46
DtIndirectSignalBasedSwitchManager()=delete
default constructor not implemented