#include <osaOSGCamera.h>
| Enumerator |
|---|
| ESUCCESS |
|
| EFAILURE |
|
| 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)
Create an OSG viewer 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 |
| trackball | Create the default trackball |
| offscreenrendering | Render in p-buffer |
| osaOSGCamera::~osaOSGCamera |
( |
| ) |
|
| vctFrm3 osaOSGCamera::GetTransform |
( |
| ) |
const |
| virtual void osaOSGCamera::Initialize |
( |
const std::string & |
CMN_UNUSEDname = std::string() | ) |
|
|
inlinevirtual |
| bool osaOSGCamera::IsOffscreenRenderingEnabled |
( |
| ) |
const |
|
inlineprotected |
| void osaOSGCamera::setCullMask |
( |
osg::Node::NodeMask |
mask | ) |
|
|
inline |
| void osaOSGCamera::SetTransform |
( |
const vctFrm3 & |
Rt | ) |
|
| void osaOSGCamera::SetTransform |
( |
const vctFrame4x4< double > & |
Rt | ) |
|
| std::vector< osg::ref_ptr< osaOSGHUD > > osaOSGCamera::huds |
|
protected |
The documentation for this class was generated from the following file:
- /home/adeguet1/catkin_ws/src/cisst-saw/sawOpenSceneGraph/include/sawOpenSceneGraph/osaOSGCamera.h