![]() |
VR-Forces 5.0.3 Developer's Guide
|
handles the uv offsets for all the indirect geometry. Sets up the default state of the uv offset. Also handles changes to the uv offset sent to this instances DtOsgArticulatedModel Owned by a DtIndirectGeometry 1:1

Classes | |
| struct | MultiplierAndTrackSide |
| struct | UvOffset |
| struct | UvOffsetInitializer |
Public Types | |
| typedef std::map< std::string, unsigned int > | AnnotationToUvOffsetMap |
| typedef std::map< int, AnnotationToUvOffsetMap > | MapIntToAnnotationToUvOffsetMap |
| typedef std::unordered_map < int, MultiplierAndTrackSide > | ScrollableUvOffsetIdsAndMultipliers |
| typedef std::unordered_map < int, ScrollableUvOffsetIdsAndMultipliers > | MapInstancesToScrollableUvOffsetIds |
Public Types inherited from makVrv::DtIndirectManager | |
| enum | ManagerTypes { BaseClass, LodManager, SwitchManager, DofManager, UvOffsetManager, PerInstanceDataManager } |
Public Member Functions | |
| virtual | ~DtIndirectUvOffsetManager () |
| virtual void | addUvOffsetAnnotations (int perGeomInstanceIndex, int size, const AnnotationToUvOffsetMap &annotationToUvOffsetMap, const ScrollableUvOffsetIdsAndMultipliers &scrollableUvOffsetIds, int instanceId) |
| virtual void | addUvOffsetAnnotation (int perGeomInstanceIndex, unsigned int uvOffsetStartId) |
| virtual void | removeUvOffsets (int instanceId) |
| virtual void | setUvOffset (const std::string &annotation, int instanceId, float uOffset, float vOffset) |
| virtual void | scrollUv (int instanceId, const std::tuple< float, float, float > &uvSpeeds) |
| virtual void | annotationAndUvOffsets (int instanceId, std::vector< DtIndirectAnnotationAndUvOffset > &annotations) const |
| virtual void | setPureSignalBasedUvOffsets (bool val) |
| virtual bool | pureSignalBasedUvOffsets (void) const |
| virtual void | processUvOffsets (void) |
| virtual void | releaseGLObjects (osg::State *state) const |
| virtual const DtGlBuffer * | gpuUvOffsetBuffer (void) const |
Public Member Functions inherited from makVrv::DtIndirectManager | |
| DtIndirectManager (DtDe &de, DtInstanceContainer &container) | |
| virtual | ~DtIndirectManager () |
Public Attributes | |
| friend | DtIndirectUvOffsetManagerCreator |
Protected Types | |
| typedef DtReusableMemoryVector < UvOffset, UvOffsetInitializer > | VectorUvOffsets |
Protected Member Functions | |
| DtIndirectUvOffsetManager (DtDe &de, DtInstanceContainer &container) | |
| virtual void | updateUvOffsetBufferIfNecessary (void) |
| virtual void | deleteBuffers (void) |
| virtual void | tearDownBuffers (void) const |
Private Member Functions | |
| DtIndirectUvOffsetManager ()=delete | |
| DtIndirectUvOffsetManager (const DtIndirectUvOffsetManager &other)=delete | |
| DtIndirectUvOffsetManager & | operator= (const DtIndirectUvOffsetManager &other)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtIndirectManager | |
| static int | managerType () |
| typedef std::map<std::string, unsigned int> makVrv::DtIndirectUvOffsetManager::AnnotationToUvOffsetMap |
| typedef std::map<int, AnnotationToUvOffsetMap> makVrv::DtIndirectUvOffsetManager::MapIntToAnnotationToUvOffsetMap |
| typedef std::unordered_map<int, MultiplierAndTrackSide> makVrv::DtIndirectUvOffsetManager::ScrollableUvOffsetIdsAndMultipliers |
| typedef std::unordered_map< int, ScrollableUvOffsetIdsAndMultipliers > makVrv::DtIndirectUvOffsetManager::MapInstancesToScrollableUvOffsetIds |
|
protected |
|
virtual |
DTOR.
|
protected |
CTOR. only creator can create.
|
privatedelete |
default constructor not implemented
|
privatedelete |
Copy Constructor not implemented – Copy Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
Add all the uv annotations for a particular model instance.
|
virtual |
Add the uv annotation for a particular per geom instance.
|
virtual |
remove the uv offsets associated with an instance
|
virtual |
set the uv offset for a particular instance and annotation of a model
|
virtual |
set the uv offset for a particular of a model
|
virtual |
get all the annotations and uv offsets for a particular instance.
|
virtual |
indicate whether this manager's uv offsets get updated per frame or directly using signals
|
virtual |
indicate whether this manager's switches get updated per frame via looking at the actual switches/multi-switches or directly using signals
|
virtual |
process the uv offsets. TO DO: do this in compute shader
|
virtual |
release gl objects for this manager
|
virtual |
get the uv offset buffer used by the GPU
|
protectedvirtual |
update the gpu side buffer if switches are dirty
|
protectedvirtual |
delete the buffers
|
protectedvirtual |
tear down the buffers
| friend makVrv::DtIndirectUvOffsetManager::DtIndirectUvOffsetManagerCreator |
only creator can create
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |