#include <Drawable.h>
Inheritance diagram for Track::Drawable:
Public Member Functions | |
Drawable () | |
virtual | ~Drawable () |
virtual void | draw () const =0 |
Draw the object. | |
virtual void | conditional_draw (const OcclusionTester &occlusion_tester) const |
Draw the object if it is visible. |
Definition at line 21 of file Drawable.h.
Track::Drawable::Drawable | ( | ) |
Definition at line 16 of file Drawable.cpp.
Track::Drawable::~Drawable | ( | ) | [virtual] |
Definition at line 20 of file Drawable.cpp.
void Track::Drawable::conditional_draw | ( | const OcclusionTester & | occlusion_tester | ) | const [virtual] |
Draw the object if it is visible.
occlusion_tester | Reference to object describing planes of the view's frustrum to test against. |
Reimplemented in Track::AABBDrawable, Track::Path, and Track::PathEdge.
Definition at line 24 of file Drawable.cpp.
virtual void Track::Drawable::draw | ( | ) | const [pure virtual] |
Draw the object.
Called indirectly by draw(const OcclusionTester &) const when it is on the screen, but can also be called manually if view bounds are not known.
Implemented in Track::DrawableMesh, Track::Path, Track::PathEdge, Track::PathVertex, and Engine::GameObjects::Car.
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.