vhdOSGBackgroundProperty Class Reference

#include <vhdOSGBackgroundProperty.h>

Inheritance diagram for vhdOSGBackgroundProperty:

vhdProperty vhdIOSGDrawableProperty List of all members.

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

Detailed Description

Examples:

vhdOSGBackgroundProperty.


Constructor & Destructor Documentation

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.

Parameters:
&pImages 
visibleFlag 
Returns:

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.

Parameters:
pLimitFPS 
pCameraMode 
visibleFlag 
Returns:

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.


Member Function Documentation

vhtBool vhdOSGBackgroundProperty::isVisible (  ) 

Returns true if object is enabled.

Returns:

void vhdOSGBackgroundProperty::setVisibleFlag ( vhtBool  flagValue  ) 

Sets whether object is enabled.

Parameters:
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.

Returns:
pointer to Geometry hierarchy.

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.

Returns:
reference to the position vector.

void vhdOSGBackgroundProperty::setOrientation ( const vhdQuaternion orientation  )  [virtual]

Sets the rotation value of the Geometry.

vhdQuaternion vhdOSGBackgroundProperty::getOrientation (  )  [virtual]

Gets the rotation of the Geometry.

Returns:
reference to the rotation.


Member Data Documentation

_Implem* vhdOSGBackgroundProperty::_implem [private]

OsgBackground* vhdOSGBackgroundProperty::_background


Generated on Thu Jan 18 10:06:25 2007 for vhdPLUS by  doxygen 1.5.1-p1