VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtLocalMetadataPublisher Class Reference
Inheritance diagram for makVrv::DtLocalMetadataPublisher:
Inheritance graph
[legend]

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.

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 Attributes

DtVector myAttachedVelocity
DtVector myAttachedLastPosition
bool myValidUpperLeftCorner
bool myValidUpperRightCorner
bool myValidLowerRightCorner
bool myValidLowerLeftCorner
DtVector myUpperLeftCorner
DtVector myUpperRightCorner
DtVector myLowerRightCorner
DtVector myLowerLeftCorner

Friends

class DtLocalMetadataPublisherCreator

Constructor & Destructor Documentation

virtual makVrv::DtLocalMetadataPublisher::~DtLocalMetadataPublisher ( )
virtual
makVrv::DtLocalMetadataPublisher::DtLocalMetadataPublisher ( DtDe de,
const DtVideoStream videoStream 
)
protected
makVrv::DtLocalMetadataPublisher::DtLocalMetadataPublisher ( )
protected

Member Function Documentation

virtual void makVrv::DtLocalMetadataPublisher::tick ( double  dt)
virtual

Tick the publisher.

Reimplemented from makVrv::DtMetadataPublisher.

virtual DtVector makVrv::DtLocalMetadataPublisher::attachedVelocity ( )
virtual
virtual double makVrv::DtLocalMetadataPublisher::windDirection ( )
virtual
virtual double makVrv::DtLocalMetadataPublisher::windSpeed ( )
virtual
virtual bool makVrv::DtLocalMetadataPublisher::haveValidUpperLeftCorner ( ) const
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 bool makVrv::DtLocalMetadataPublisher::haveValidUpperRightCorner ( ) const
virtual
virtual bool makVrv::DtLocalMetadataPublisher::haveValidLowerRightCorner ( ) const
virtual
virtual bool makVrv::DtLocalMetadataPublisher::haveValidLowerLeftCorner ( ) const
virtual
virtual DtVector makVrv::DtLocalMetadataPublisher::upperLeftCorner ( ) const
virtual

If a corner is valid, one of these can be used to access it This is 'Point 1' in the standard.

virtual DtVector makVrv::DtLocalMetadataPublisher::upperRightCorner ( ) const
virtual

This is 'Point 2' in the standard.

virtual DtVector makVrv::DtLocalMetadataPublisher::lowerRightCorner ( ) const
virtual

This is 'Point 3' in the standard.

virtual DtVector makVrv::DtLocalMetadataPublisher::lowerLeftCorner ( ) const
virtual

This is 'Point 4' in the standard.

virtual DtVector makVrv::DtLocalMetadataPublisher::calcLookAt ( double  hfov,
double  vfov 
)
virtual
virtual void makVrv::DtLocalMetadataPublisher::getFieldsOfView ( double hfov,
double vfov 
)
virtual
virtual void makVrv::DtLocalMetadataPublisher::updateTargetCorners ( )
protectedvirtual
virtual void makVrv::DtLocalMetadataPublisher::updateAttachedVelocity ( double  dt)
protectedvirtual
virtual DtVector makVrv::DtLocalMetadataPublisher::getFrustumVector ( int  corner)
protectedvirtual
unsigned int makVrv::DtLocalMetadataPublisher::calcChecksum ( unsigned char buffer,
unsigned int  length 
)
protected
void makVrv::DtLocalMetadataPublisher::setChecksum ( unsigned char buffer,
unsigned int  length,
unsigned int  checksum 
)
protected

Friends And Related Function Documentation

friend class DtLocalMetadataPublisherCreator
friend

Member Data Documentation

DtVector makVrv::DtLocalMetadataPublisher::myAttachedVelocity
protected
DtVector makVrv::DtLocalMetadataPublisher::myAttachedLastPosition
protected
bool makVrv::DtLocalMetadataPublisher::myValidUpperLeftCorner
protected
bool makVrv::DtLocalMetadataPublisher::myValidUpperRightCorner
protected
bool makVrv::DtLocalMetadataPublisher::myValidLowerRightCorner
protected
bool makVrv::DtLocalMetadataPublisher::myValidLowerLeftCorner
protected
DtVector makVrv::DtLocalMetadataPublisher::myUpperLeftCorner
protected
DtVector makVrv::DtLocalMetadataPublisher::myUpperRightCorner
protected
DtVector makVrv::DtLocalMetadataPublisher::myLowerRightCorner
protected
DtVector makVrv::DtLocalMetadataPublisher::myLowerLeftCorner
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)