Stg::StgModelCamera Class Reference

#include <stage.hh>

Inherits Stg::StgModel.

List of all members.


Detailed Description

StgModelCamera class


Public Member Functions

virtual void DataVisualize (StgCamera *cam)
 Draw camera visualization.
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 StgPerspectiveCamera & 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 ()
void setPitch (float pitch)
 change the pitch
void setYaw (float yaw)
 change the yaw
 StgModelCamera (StgWorld *world, StgModel *parent)
virtual void Update ()
 Capture a new frame ( calls GetFrame ).

Member Function Documentation

void StgModelCamera::Load (  )  [virtual]

configure a model by reading from the current world file

Reimplemented from Stg::StgModel.


The documentation for this class was generated from the following files:
Generated on Wed Jul 30 11:36:06 2008 for Stage by  doxygen 1.4.7