OsgBackground Class Reference

#include <osgBackground.h>

List of all members.

Public Member Functions

 OsgBackground (float pWidth, float pHeight, bool pMovable, std::vector< std::string > &pImages, float pLimitFPS)
 OsgBackground (float pWidth, float pHeight, bool pMovable, const std::string &pCameraMode, float pLimitFPS, const std::string &pCameraType, const std::string &pCameraAccess, bool cameraVideoControlFlag, bool cameraParamControlFlag)
 OsgBackground (float pWidth, float pHeight, bool pMovable, const std::string &pCameraMode, const std::string &pCameraType, const std::string &pCameraAccess)
virtual ~OsgBackground ()
osgGroupRef getRoot ()
bool setImageDirectly (osg::ref_ptr< osg::Image > imageData)
void setFlipV (bool flipV=false)
osg::ref_ptr< osg::Geode > getBackgroundGeode ()
void stopCamera ()

Public Attributes

vhdCAP::Camera * _arCamera

Private Member Functions

void init (float pWidth, float pHeight, bool pMovable)

Private Attributes

osgGroupRef myRoot
osg::ref_ptr< osg::Geode > geode
osg::ref_ptr< osg::StateSet > myStateSet
osg::ref_ptr< osg::TextureRectangle > myTexture
float myFrameRateLimit
float w
float h
bool myflipV
std::string myCameraMode
std::string myCameraType
std::string myCameraAccess

Friends

class LiveUpdateCallback
class ImageUpdateCallback

Classes

class  ImageUpdateCallback


Constructor & Destructor Documentation

OsgBackground::OsgBackground ( float  pWidth,
float  pHeight,
bool  pMovable,
std::vector< std::string > &  pImages,
float  pLimitFPS 
)

OsgBackground::OsgBackground ( float  pWidth,
float  pHeight,
bool  pMovable,
const std::string &  pCameraMode,
float  pLimitFPS,
const std::string &  pCameraType,
const std::string &  pCameraAccess,
bool  cameraVideoControlFlag,
bool  cameraParamControlFlag 
)

OsgBackground::OsgBackground ( float  pWidth,
float  pHeight,
bool  pMovable,
const std::string &  pCameraMode,
const std::string &  pCameraType,
const std::string &  pCameraAccess 
)

OsgBackground::~OsgBackground (  )  [virtual]


Member Function Documentation

osgGroupRef OsgBackground::getRoot (  )  [inline]

bool OsgBackground::setImageDirectly ( osg::ref_ptr< osg::Image >  imageData  ) 

void OsgBackground::setFlipV ( bool  flipV = false  ) 

osg::ref_ptr< osg::Geode > OsgBackground::getBackgroundGeode (  ) 

void OsgBackground::stopCamera (  ) 

void OsgBackground::init ( float  pWidth,
float  pHeight,
bool  pMovable 
) [private]


Friends And Related Function Documentation

friend class LiveUpdateCallback [friend]

friend class ImageUpdateCallback [friend]


Member Data Documentation

vhdCAP::Camera* OsgBackground::_arCamera

osgGroupRef OsgBackground::myRoot [private]

osg::ref_ptr<osg::Geode> OsgBackground::geode [private]

osg::ref_ptr<osg::StateSet> OsgBackground::myStateSet [private]

osg::ref_ptr<osg::TextureRectangle> OsgBackground::myTexture [private]

float OsgBackground::myFrameRateLimit [private]

float OsgBackground::w [private]

float OsgBackground::h [private]

bool OsgBackground::myflipV [private]

std::string OsgBackground::myCameraMode [private]

std::string OsgBackground::myCameraType [private]

std::string OsgBackground::myCameraAccess [private]


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