ModelRendererSimulator Class Reference

#include <ModelRendererSimulator.h>

List of all members.

Public Member Functions

 ModelRendererSimulator (ModelRenderer *renderer)
virtual ~ModelRendererSimulator ()
void draw (float distance=0.0f, float fade=1.0f, bool setState=true)
void drawBottomAligned (float distance=0.0f, float fade=1.0f, bool setState=true)
void simulate (float frameTime)
ModelRenderergetRenderer ()

Protected Attributes

ModelRendererrenderer_
float currentFrame_


Detailed Description

Definition at line 25 of file ModelRendererSimulator.h.


Constructor & Destructor Documentation

ModelRendererSimulator::ModelRendererSimulator ( ModelRenderer renderer  ) 

Definition at line 26 of file ModelRendererSimulator.cpp.

References currentFrame_, ModelRenderer::getModel(), Model::getStartFrame(), Model::getTotalFrames(), and renderer_.

ModelRendererSimulator::~ModelRendererSimulator (  )  [virtual]

Definition at line 36 of file ModelRendererSimulator.cpp.


Member Function Documentation

void ModelRendererSimulator::draw ( float  distance = 0.0f,
float  fade = 1.0f,
bool  setState = true 
)

Definition at line 45 of file ModelRendererSimulator.cpp.

References currentFrame_, ModelRenderer::draw(), and renderer_.

Referenced by ShotBounce::draw(), WaterMapPoints::draw(), DebrisActionRenderer::draw(), LandscapePoints::draw(), GLWWindView::drawArrow(), and TargetRendererImplTank::render().

void ModelRendererSimulator::drawBottomAligned ( float  distance = 0.0f,
float  fade = 1.0f,
bool  setState = true 
)

Definition at line 40 of file ModelRendererSimulator.cpp.

References currentFrame_, ModelRenderer::drawBottomAligned(), and renderer_.

Referenced by TargetRendererImplTarget::render(), and TargetRendererImplTarget::renderShadow().

void ModelRendererSimulator::simulate ( float  frameTime  ) 

Definition at line 50 of file ModelRendererSimulator.cpp.

References currentFrame_.

Referenced by TargetRendererImplTarget::simulate().

ModelRenderer* ModelRendererSimulator::getRenderer (  )  [inline]

Definition at line 37 of file ModelRendererSimulator.h.

References renderer_.

Referenced by ShotBounce::draw().


Member Data Documentation

ModelRenderer* ModelRendererSimulator::renderer_ [protected]

Definition at line 40 of file ModelRendererSimulator.h.

Referenced by draw(), drawBottomAligned(), getRenderer(), and ModelRendererSimulator().

float ModelRendererSimulator::currentFrame_ [protected]

Definition at line 42 of file ModelRendererSimulator.h.

Referenced by draw(), drawBottomAligned(), ModelRendererSimulator(), and simulate().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:04 2009 for Scorched3D by  doxygen 1.5.3