![]() |
VR-Forces 4.7 Class Documentation
|

Public Member Functions | |
| virtual | ~DtMmsMetadataPublisher () |
| virtual void | tick (double dt) |
| Tick the publisher. | |
Public Member Functions inherited from makVrv::DtMetadataPublisher | |
| virtual | ~DtMetadataPublisher () |
| DTOR. | |
| virtual void | realize (const makArchives::DtMetadataPublisherRecord &metadataConfig) |
| Initialize a publisher from a DtMetadataPublisherRecord. | |
| virtual void | setObserverName (const DtUnicode &observerName) |
| Set the name of the observer that this publisher will track. | |
| virtual bool | isAttached () |
| Get whether the publisher is attached to an entity other than the observer. | |
| virtual void | attachEntity (makVrv::DtUniqueID entity) |
| Tell the publisher to attach to an entity. | |
| virtual void | detach () |
| Tell the publisher to detach from an entity (and re-attach to the named observer. | |
| virtual void | addMetadataElement (DtMetadataElement *element) |
| Add a metadata element. | |
| virtual int | numBytes () |
| virtual unsigned char * | getBytes () |
| Get the publisher's buffer of metadata. | |
| virtual const DtVideoStream & | videoStream () |
| Get the video stream that the metadata is being added to. | |
| virtual const DtSceneObject & | attachedEntitySceneObject () |
| Get the DtSceneObject that we are attached to, if attached to an entity rather than an observer (isAttached is true). | |
| virtual const DtObserver & | observer () |
| Get the observer that we are attached to (or assigned to if currently attached to an entity). | |
| virtual bool | haveValidTargetPoint () const |
| The publisher calculates the point intersected by a ray shot from the center of the view. | |
| virtual DtVector | targetPoint () const |
| If haveValidTargetPoint() is true, this returns it. | |
| virtual DtDe & | de () |
| Get the local display engine object. | |
Protected Member Functions | |
| DtMmsMetadataPublisher (DtDe &de, const DtVideoStream &videoStream) | |
| unsigned int | calcChecksum (unsigned char *buffer, unsigned int length) |
| void | setChecksum (unsigned char *buffer, unsigned int length, unsigned int checksum) |
Protected Member Functions inherited from makVrv::DtMetadataPublisher | |
| DtMetadataPublisher (DtDe &de, const DtVideoStream &videoStream) | |
| CTOR. Only called by creator. | |
| virtual void | slot_attachToChanged (makVrv::DtObserver *obs) |
| Method called when DtAttachManager::signal_attachToChanged is raised. | |
| virtual DtSceneObject * | findSceneObjectFromElement (const DtElementID &id) |
| Look up the 3D scene object using the element ID of the entity attached to. | |
| virtual void | updateTargetPoint () |
| Find the intersection with the terrain of the ray shot from the center of our observer's view. | |
Friends | |
| class | DtMmsMetadataPublisherCreator |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtMetadataPublisher | |
| DtDe & | myDe |
| const DtVideoStream & | myVideoStream |
| std::vector< DtMetadataElement * > | myElements |
| DtObserver * | myObserver |
| DtSceneObject * | myAttachedEntitySceneObject |
| bool | myIsAttached |
| makVrv::DtUniqueID | myAttachedEntity |
| unsigned char * | myBuffer |
| int | myBufferLength |
| bool | myValidTargetPoint |
| DtVector | myTargetPoint |
|
virtual |
|
protected |
|
virtual |
Tick the publisher.
Reimplemented from makVrv::DtMetadataPublisher.
|
protected |
|
protected |
|
friend |