Stg::ModelCamera Class Reference
ModelCamera class More...
#include <stage.hh>
Inherits Stg::Model.
Classes | |
| struct | ColoredVertex |
Public Member Functions | |
| virtual void | DataVisualize (Camera *cam) |
| Draw Camera Model - TODO. | |
| const GLubyte * | FrameColor () const |
| get a reference to camera color image. 3 bytes (RGB) per pixel | |
| const GLfloat * | FrameDepth () const |
| get a reference to camera depth buffer | |
| const PerspectiveCamera & | getCamera (void) const |
| get reference to camera used | |
| int | getHeight (void) const |
| height of captured image | |
| int | getWidth (void) const |
| width of captured image | |
| virtual void | Load () |
| ModelCamera (World *world, Model *parent, const std::string &type) | |
| void | setPitch (float pitch) |
| change the pitch | |
| void | setYaw (float yaw) |
| change the yaw | |
| virtual void | Update () |
| Capture a new frame ( calls GetFrame ). | |
| ~ModelCamera () | |
Detailed Description
ModelCamera class
Constructor & Destructor Documentation
| ModelCamera::~ModelCamera | ( | ) |
Member Function Documentation
| void ModelCamera::DataVisualize | ( | Camera * | cam | ) | [virtual] |
| const GLubyte* Stg::ModelCamera::FrameColor | ( | ) | const [inline] |
get a reference to camera color image. 3 bytes (RGB) per pixel
| const GLfloat* Stg::ModelCamera::FrameDepth | ( | ) | const [inline] |
get a reference to camera depth buffer
| const PerspectiveCamera& Stg::ModelCamera::getCamera | ( | void | ) | const [inline] |
get reference to camera used
| int Stg::ModelCamera::getHeight | ( | void | ) | const [inline] |
height of captured image
| int Stg::ModelCamera::getWidth | ( | void | ) | const [inline] |
width of captured image
| void ModelCamera::Load | ( | void | ) | [virtual] |
configure a model by reading from the current world file
Reimplemented from Stg::Model.
| void Stg::ModelCamera::setPitch | ( | float | pitch | ) | [inline] |
change the pitch
| void Stg::ModelCamera::setYaw | ( | float | yaw | ) | [inline] |
change the yaw
| void ModelCamera::Update | ( | void | ) | [virtual] |
Capture a new frame ( calls GetFrame ).
Reimplemented from Stg::Model.
The documentation for this class was generated from the following files:
Generated on Tue Oct 20 15:42:06 2009 for Stage by
1.6.1
