#include <osaOSGMono.h>
|
| 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()) |
|
| 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 |
|
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
-
world | The world the camera belongs to |
x | The X offset of the camera window |
y | The Y offset of the camera window |
width | The width of the camera image |
height | The height of the camera image |
fovy | The field of view angle |
aspectRatio | The aspect ratio of the camera |
zNear | The near buffer distance |
zFar | The far buffer distance |
trackball | Create the default trackball |
offscreenrendering | Set 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 |
( |
| ) |
|
virtual void osaOSGMono::Initialize |
( |
const std::string & |
name = std::string() | ) |
|
|
virtual |
The documentation for this class was generated from the following file:
- /home/adeguet1/catkin_ws/src/cisst-saw/sawOpenSceneGraph/include/sawOpenSceneGraph/osaOSGMono.h