#include <osaOSGStereo.h>
|
| osaOSGStereo (osaOSGWorld *world, int x, int y, int width, int height, double fovy, double aspectRatio, double zNear, double zFar, double baseline, bool trackball=true, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >()) |
| Create a stereo OSG viewer (actually it's a OSG viewer) More...
|
|
| osaOSGStereo (osaOSGWorld *world, int x, int y, int width, int height, const vctFixedSizeMatrix< double, 3, 3 > &Kl, const vctFixedSizeMatrix< double, 3, 3 > &Kr, const vctFrame4x4< double > &Rtlr, double zNear, double zFar, bool trackball=true, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >()) |
| Create a stereo OSG viewer (actually it's a OSG viewer) More...
|
|
| ~osaOSGStereo () |
|
void | setCullMask (osg::Node::NodeMask mask, osaOSGStereo::Camera idx) |
|
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 |
|
osaOSGStereo::osaOSGStereo |
( |
osaOSGWorld * |
world, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
double |
fovy, |
|
|
double |
aspectRatio, |
|
|
double |
zNear, |
|
|
double |
zFar, |
|
|
double |
baseline, |
|
|
bool |
trackball = true , |
|
|
const vctFrame4x4< double > & |
Rtoffset = vctFrame4x4< double >() |
|
) |
| |
Create a stereo OSG viewer (actually it's a OSG viewer)
Create an stereo OSG viewer.
- 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 |
baseline | The base line between the two cameras |
trackball | Use the default trackball |
Rtoffset | Offset transformation of the left camera |
osaOSGStereo::osaOSGStereo |
( |
osaOSGWorld * |
world, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
const vctFixedSizeMatrix< double, 3, 3 > & |
Kl, |
|
|
const vctFixedSizeMatrix< double, 3, 3 > & |
Kr, |
|
|
const vctFrame4x4< double > & |
Rtlr, |
|
|
double |
zNear, |
|
|
double |
zFar, |
|
|
bool |
trackball = true , |
|
|
const vctFrame4x4< double > & |
Rtoffset = vctFrame4x4< double >() |
|
) |
| |
Create a stereo OSG viewer (actually it's a OSG viewer)
Create an stereo OSG viewer.
- 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 |
Kl | Intrinsic parameters of the left camera |
Kr | Intrinsic parameters of the right camera |
Rtlr | Position/orientation of the right camera wrt the left camera |
zNear | The near buffer distance |
zFar | The far buffer distance |
baseline | The base line between the two cameras |
trackball | Use the default trackball |
Rtoffset | Offset transformation of the left camera |
osaOSGStereo::~osaOSGStereo |
( |
| ) |
|
virtual void osaOSGStereo::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/osaOSGStereo.h