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

Public Member Functions | |
| virtual | ~DtLocalMetadataPublisher () |
| virtual void | tick (double dt) |
| Tick the publisher. | |
| virtual DtVector | attachedVelocity () |
| virtual double | windDirection () |
| virtual double | windSpeed () |
| virtual DtVector | calcLookAt (double hfov, double vfov) |
| virtual void | getFieldsOfView (double &hfov, double &vfov) |
| virtual bool | haveValidUpperLeftCorner () const |
| The publisher calculates the point intersected by a ray shot from each of the corners of the field of view. | |
| virtual bool | haveValidUpperRightCorner () const |
| virtual bool | haveValidLowerRightCorner () const |
| virtual bool | haveValidLowerLeftCorner () const |
| virtual DtVector | upperLeftCorner () const |
| If a corner is valid, one of these can be used to access it This is 'Point 1' in the standard. | |
| virtual DtVector | upperRightCorner () const |
| This is 'Point 2' in the standard. | |
| virtual DtVector | lowerRightCorner () const |
| This is 'Point 3' in the standard. | |
| virtual DtVector | lowerLeftCorner () const |
| This is 'Point 4' in the standard. | |
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 | |
| DtLocalMetadataPublisher (DtDe &de, const DtVideoStream &videoStream) | |
| DtLocalMetadataPublisher () | |
| virtual void | updateTargetCorners () |
| virtual void | updateAttachedVelocity (double dt) |
| virtual DtVector | getFrustumVector (int corner) |
| 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 | DtLocalMetadataPublisherCreator |
|
virtual |
|
protected |
|
protected |
|
virtual |
Tick the publisher.
Reimplemented from makVrv::DtMetadataPublisher.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
The publisher calculates the point intersected by a ray shot from each of the corners of the field of view.
Any of these may be false if there was no intersection at that corner (a sky shot)
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If a corner is valid, one of these can be used to access it This is 'Point 1' in the standard.
|
virtual |
This is 'Point 2' in the standard.
|
virtual |
This is 'Point 3' in the standard.
|
virtual |
This is 'Point 4' in the standard.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |