#include <osaOSGImage.h>
|
| | osaOSGImage (float x, float y, float width, float height, osaOSGWorld *world, const vctFrame4x4< double > &Rt=vctFrame4x4< double >()) |
| | OSG Image constructor. More...
|
| |
| | osaOSGImage (float x, float y, float width, float height, osaOSGHUD *hud, const vctFrame4x4< double > &Rt=vctFrame4x4< double >()) |
| | OSG Image constructor. More...
|
| |
| | osaOSGImage (float x, float y, float width, float height, osaOSGWorld *world, const vctFrm3 &Rt) |
| | OSG Image constructor. More...
|
| |
| | ~osaOSGImage () |
| |
| virtual void | SetTransform (const vctFrame4x4< double > &Rt) |
| | Set the transform of the image. More...
|
| |
| virtual void | SetTransform (const vctFrm3 &Rt) |
| |
| virtual vctFrm3 | GetTransform () const |
| |
| void | SetImage (const osg::Image *image) |
| |
| void | SetImage (const std::string &filename) |
| |
| void | SwitchOn () |
| | Set the switch of the image. More...
|
| |
| void | SwitchOff () |
| |
| Enumerator |
|---|
| SWITCH_OFF |
|
| SWITCH_ON |
|
OSG Image constructor.
Create a OSG image.
- Parameters
-
| x | The horizontal position of the image |
| y | The vertical position of the image |
| width | The width of the rendered geode (not of the image in pixels) |
| height | The height of the rendered geode (not of the image in pixels) |
| world | The OSG world the image belongs to |
| Rt | The initial transformation of the image |
OSG Image constructor.
Create a OSG image.
- Parameters
-
| x | The horizontal position of the image |
| y | The vertical position of the image |
| width | The width of the rendered geode (not of the image in pixels) |
| height | The height of the rendered geode (not of the image in pixels) |
| hud | The OSG HUD the image belongs to |
| Rt | The initial transformation of the image |
| osaOSGImage::osaOSGImage |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height, |
|
|
osaOSGWorld * |
world, |
|
|
const vctFrm3 & |
Rt |
|
) |
| |
OSG Image constructor.
Create a OSG image.
- Parameters
-
| x | The horizontal position of the image |
| y | The vertical position of the image |
| width | The width of the rendered geode (not of the image in pixels) |
| height | The height of the rendered geode (not of the image in pixels) |
| world | The OSG world the image belongs to |
| Rt | The initial transformation of the image |
| osaOSGImage::~osaOSGImage |
( |
| ) |
|
| virtual vctFrm3 osaOSGImage::GetTransform |
( |
| ) |
const |
|
virtual |
| void osaOSGImage::Initialize |
( |
| ) |
|
|
protected |
| void osaOSGImage::SetImage |
( |
const osg::Image * |
image | ) |
|
| void osaOSGImage::SetImage |
( |
const std::string & |
filename | ) |
|
| virtual void osaOSGImage::SetTransform |
( |
const vctFrame4x4< double > & |
Rt | ) |
|
|
virtual |
Set the transform of the image.
| virtual void osaOSGImage::SetTransform |
( |
const vctFrm3 & |
Rt | ) |
|
|
virtual |
| void osaOSGImage::SwitchOff |
( |
| ) |
|
| void osaOSGImage::SwitchOn |
( |
| ) |
|
Set the switch of the image.
| virtual void osaOSGImage::UpdateImage |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void osaOSGImage::UpdateSwitch |
( |
| ) |
|
|
protectedvirtual |
This method is called from the switch callback.
| virtual void osaOSGImage::UpdateTransform |
( |
| ) |
|
|
protectedvirtual |
This method is called from the transform callback.
| unsigned char* osaOSGImage::data |
|
protected |
| float osaOSGImage::height |
|
protected |
| osg::ref_ptr<osg::Geode> osaOSGImage::osggeode |
|
protected |
| osg::ref_ptr<osg::Geometry> osaOSGImage::osggeom |
|
protected |
| osg::ref_ptr<osg::Image> osaOSGImage::osgimage |
|
protected |
| osg::ref_ptr<osg::StateSet> osaOSGImage::osgstateset |
|
protected |
| osg::ref_ptr< osg::Switch> osaOSGImage::osgswitch |
|
protected |
| osg::ref_ptr<osg::Texture2D> osaOSGImage::osgtexture |
|
protected |
| osg::ref_ptr<osg::MatrixTransform> osaOSGImage::osgtransform |
|
protected |
| osg::ref_ptr<osg::Referenced> osaOSGImage::userdata |
|
protected |
The documentation for this class was generated from the following file:
- /home/adeguet1/catkin_ws/src/cisst-saw/sawOpenSceneGraph/include/sawOpenSceneGraph/osaOSGImage.h