#include <vhdOSGBackgroundProperty.h>
Inheritance diagram for vhdOSGBackgroundProperty:
Public Member Functions | |
vhdOSGBackgroundProperty (std::vector< std::string > &pImages, float pLimitFPS, const vhdVector3 &initialPosition, const vhdQuaternion &initialOrientation, float pWidth, float pHeight, vhtBool visibleFlag=true, vhtBool movableFlag=false) | |
vhdOSGBackgroundProperty (const std::string &pCameraMode, const std::string &pCameraType, const std::string &pCameraAccess, float pLimitFPS, const vhdVector3 &initialPosition, const vhdQuaternion &initialOrientation, float pWidth, float pHeight, vhtBool visibleFlag=true, vhtBool movableFlag=false, vhtBool cameraVideoControlFlag=false, vhtBool cameraParamControlFlag=false) | |
vhdOSGBackgroundProperty (const vhdVector3 &initialPosition, const vhdQuaternion &initialOrientation, float pWidth, float pHeight, vhtBool visibleFlag, vhtBool movableFlag, const std::string &pCameraMode, const std::string &pCameraType, const std::string &pCameraAccess) | |
virtual | ~vhdOSGBackgroundProperty () |
vhtBool | isVisible () |
void | setVisibleFlag (vhtBool flagValue) |
void | setImageDirectly (osg::ref_ptr< osg::Image > imageData) |
void | setFlipV (vhtBool flipValue) |
virtual osgGroupRef | getGeometry () |
virtual void | setPosition (const vhdVector3 &position) |
virtual vhdVector3 | getPosition () |
virtual void | setOrientation (const vhdQuaternion &orientation) |
virtual vhdQuaternion | getOrientation () |
Public Attributes | |
OsgBackground * | _background |
Private Attributes | |
_Implem * | _implem |
Classes | |
class | _Implem |
vhdOSGBackgroundProperty::vhdOSGBackgroundProperty | ( | std::vector< std::string > & | pImages, | |
float | pLimitFPS, | |||
const vhdVector3 & | initialPosition, | |||
const vhdQuaternion & | initialOrientation, | |||
float | pWidth, | |||
float | pHeight, | |||
vhtBool | visibleFlag = true , |
|||
vhtBool | movableFlag = false | |||
) |
Constructor. Creates textured quad and decorates it with osg::Switch node.
&pImages | ||
visibleFlag |
vhdOSGBackgroundProperty::vhdOSGBackgroundProperty | ( | const std::string & | pCameraMode, | |
const std::string & | pCameraType, | |||
const std::string & | pCameraAccess, | |||
float | pLimitFPS, | |||
const vhdVector3 & | initialPosition, | |||
const vhdQuaternion & | initialOrientation, | |||
float | pWidth, | |||
float | pHeight, | |||
vhtBool | visibleFlag = true , |
|||
vhtBool | movableFlag = false , |
|||
vhtBool | cameraVideoControlFlag = false , |
|||
vhtBool | cameraParamControlFlag = false | |||
) |
Constructor. Takes images from live camera feed.
pLimitFPS | ||
pCameraMode | ||
visibleFlag |
vhdOSGBackgroundProperty::vhdOSGBackgroundProperty | ( | const vhdVector3 & | initialPosition, | |
const vhdQuaternion & | initialOrientation, | |||
float | pWidth, | |||
float | pHeight, | |||
vhtBool | visibleFlag, | |||
vhtBool | movableFlag, | |||
const std::string & | pCameraMode, | |||
const std::string & | pCameraType, | |||
const std::string & | pCameraAccess | |||
) |
vhdOSGBackgroundProperty::~vhdOSGBackgroundProperty | ( | ) | [virtual] |
Destructor.
vhtBool vhdOSGBackgroundProperty::isVisible | ( | ) |
Returns true if object is enabled.
void vhdOSGBackgroundProperty::setVisibleFlag | ( | vhtBool | flagValue | ) |
Sets whether object is enabled.
flagValue |
void vhdOSGBackgroundProperty::setImageDirectly | ( | osg::ref_ptr< osg::Image > | imageData | ) |
void vhdOSGBackgroundProperty::setFlipV | ( | vhtBool | flipValue | ) |
osgGroupRef vhdOSGBackgroundProperty::getGeometry | ( | ) | [virtual] |
Gets direct access to Geometry encapsulated by this property.
Implements vhdIOSGDrawableProperty.
void vhdOSGBackgroundProperty::setPosition | ( | const vhdVector3 & | position | ) | [virtual] |
Sets the position value of the Geometry.
vhdVector3 vhdOSGBackgroundProperty::getPosition | ( | ) | [virtual] |
Gets the position of the Geometry.
void vhdOSGBackgroundProperty::setOrientation | ( | const vhdQuaternion & | orientation | ) | [virtual] |
Sets the rotation value of the Geometry.
vhdQuaternion vhdOSGBackgroundProperty::getOrientation | ( | ) | [virtual] |
Gets the rotation of the Geometry.
_Implem* vhdOSGBackgroundProperty::_implem [private] |