cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
osaOSGMono Class Reference

#include <osaOSGMono.h>

Inheritance diagram for osaOSGMono:
osaOSGCamera

Public Member Functions

 osaOSGMono (osaOSGWorld *world, int x, int y, int width, int height, double fovy, double aspectRatio, double zNear, double zFar, bool trackball=true, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), bool quadbufferstereo=false, bool offscreenrendering=false)
 Create an OSG mono camera (master camera) More...
 
 osaOSGMono (osaOSGWorld *world, int x, int y, int width, int height, const vctFixedSizeMatrix< double, 3, 3 > &K, double zNear, double zFar, bool trackball=true, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), bool quadbufferstereo=false, bool offscreenrendering=false)
 
 ~osaOSGMono ()
 
virtual void Initialize (const std::string &name=std::string())
 
- Public Member Functions inherited from osaOSGCamera
 osaOSGCamera (osaOSGWorld *world, bool trackball=true, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), bool offscreenrendering=false)
 Create an OSG viewer (actually it's a OSG viewer) More...
 
 ~osaOSGCamera ()
 
virtual void Initialize (const std::string &CMN_UNUSED(name)=std::string())
 
void setCullMask (osg::Node::NodeMask mask)
 
void SetTransform (const vctFrm3 &Rt)
 
void SetTransform (const vctFrame4x4< double > &Rt)
 
vctFrm3 GetTransform () const
 

Additional Inherited Members

- Public Types inherited from osaOSGCamera
enum  Errno { ESUCCESS, EFAILURE }
 
- Protected Member Functions inherited from osaOSGCamera
bool IsOffscreenRenderingEnabled () const
 
void AddHUD (osaOSGHUD *hud)
 
- Protected Attributes inherited from osaOSGCamera
std::vector< osg::ref_ptr
< osaOSGHUD > > 
huds
 

Constructor & Destructor Documentation

osaOSGMono::osaOSGMono ( osaOSGWorld world,
int  x,
int  y,
int  width,
int  height,
double  fovy,
double  aspectRatio,
double  zNear,
double  zFar,
bool  trackball = true,
const vctFrame4x4< double > &  Rtoffset = vctFrame4x4< double >(),
bool  quadbufferstereo = false,
bool  offscreenrendering = false 
)

Create an OSG mono camera (master camera)

Create an OSG mono wrapped in a MTS continuous task. The camera also creates an MTS required interface called "Transformation" if a function name is provided. This function is used to update the position of the camera at each update traversal.

Parameters
worldThe world the camera belongs to
xThe X offset of the camera window
yThe Y offset of the camera window
widthThe width of the camera image
heightThe height of the camera image
fovyThe field of view angle
aspectRatioThe aspect ratio of the camera
zNearThe near buffer distance
zFarThe far buffer distance
trackballCreate the default trackball
offscreenrenderingSet to true if you want to render off screen
osaOSGMono::osaOSGMono ( osaOSGWorld world,
int  x,
int  y,
int  width,
int  height,
const vctFixedSizeMatrix< double, 3, 3 > &  K,
double  zNear,
double  zFar,
bool  trackball = true,
const vctFrame4x4< double > &  Rtoffset = vctFrame4x4< double >(),
bool  quadbufferstereo = false,
bool  offscreenrendering = false 
)
osaOSGMono::~osaOSGMono ( )

Member Function Documentation

virtual void osaOSGMono::Initialize ( const std::string &  name = std::string())
virtual

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