#include <W3DTracerDraw.h>
Inherits DrawModule, and TracerDrawInterface.
Public Member Functions | |
| W3DTracerDraw (Thing *thing, const ModuleData *moduleData) | |
| virtual void | doDrawModule (const Matrix3D *transformMtx) |
| virtual void | setShadowsEnabled (Bool enable) |
| virtual void | releaseShadows (void) |
| frees all shadow resources used by this module - used by Options screen. | |
| virtual void | allocateShadows (void) |
| we don't care about preserving temporary shadows. | |
| virtual void | setFullyObscuredByShroud (Bool fullyObscured) |
| we don't care about preserving temporary shadows. | |
| virtual void | reactToTransformChange (const Matrix3D *oldMtx, const Coord3D *oldPos, Real oldAngle) |
| virtual void | reactToGeometryChange () |
| virtual void | setTracerParms (Real speed, Real length, Real width, const RGBColor &color, Real initialOpacity) |
| virtual TracerDrawInterface * | getTracerDrawInterface () |
| virtual const TracerDrawInterface * | getTracerDrawInterface () const |
Public Member Functions inherited from DrawModule | |
| DrawModule (Thing *thing, const ModuleData *moduleData) | |
| virtual void | setTerrainDecal (TerrainDecalType type) |
| virtual void | setTerrainDecalSize (Real x, Real y) |
| virtual void | setTerrainDecalOpacity (Real o) |
| virtual Bool | isVisible () const |
| for limiting tree sway, etc to visible objects | |
| virtual Bool | isLaser () const |
| virtual ObjectDrawInterface * | getObjectDrawInterface () |
| virtual const ObjectDrawInterface * | getObjectDrawInterface () const |
| virtual DebrisDrawInterface * | getDebrisDrawInterface () |
| virtual const DebrisDrawInterface * | getDebrisDrawInterface () const |
| virtual RopeDrawInterface * | getRopeDrawInterface () |
| virtual const RopeDrawInterface * | getRopeDrawInterface () const |
| virtual LaserDrawInterface * | getLaserDrawInterface () |
| virtual const LaserDrawInterface * | getLaserDrawInterface () const |
Public Member Functions inherited from DrawableModule | |
| DrawableModule (Thing *thing, const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
Public Member Functions inherited from Module | |
| Module (const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
| virtual NameKeyType | getModuleNameKey () const =0 |
| NameKeyType | getModuleTagNameKey () const |
| virtual void | onObjectCreated () |
| virtual void | onDrawableBoundToObject () |
| virtual void | preloadAssets (TimeOfDay timeOfDay) |
| preload any assets we might have for this time of day | |
| virtual void | onDelete (void) |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Protected Attributes | |
| Line3DClass * | m_theTracer |
| the tracer render object in the W3D scene | |
| Real | m_length |
| length of tracer | |
| Real | m_width |
| width of tracer | |
| RGBColor | m_color |
| color of tracer | |
| Real | m_speedInDistPerFrame |
| speed of tracer (in dist/frame) | |
| Real | m_opacity |
| opacity of the tracer | |
Additional Inherited Members | |
Static Public Member Functions inherited from DrawModule | |
| static ModuleType | getModuleType () |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Protected Member Functions inherited from DrawableModule | |
| Drawable * | getDrawable () |
| const Drawable * | getDrawable () const |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from Module | |
| const ModuleData * | getModuleData () const |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
W3D tracer draw
Definition at line 42 of file W3DTracerDraw.h.
| W3DTracerDraw::W3DTracerDraw | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 56 of file W3DTracerDraw.cpp.
|
inlinevirtual |
we don't care about preserving temporary shadows.
Implements DrawModule.
Definition at line 56 of file W3DTracerDraw.h.
|
virtual |
Implements DrawModule.
Definition at line 115 of file W3DTracerDraw.cpp.
|
inlinevirtual |
Reimplemented from DrawModule.
Definition at line 63 of file W3DTracerDraw.h.
|
inlinevirtual |
Reimplemented from DrawModule.
Definition at line 64 of file W3DTracerDraw.h.
|
inlinevirtual |
Implements DrawModule.
Definition at line 59 of file W3DTracerDraw.h.
|
virtual |
Implements DrawModule.
Definition at line 105 of file W3DTracerDraw.cpp.
|
inlinevirtual |
frees all shadow resources used by this module - used by Options screen.
Implements DrawModule.
Definition at line 55 of file W3DTracerDraw.h.
|
inlinevirtual |
we don't care about preserving temporary shadows.
Implements DrawModule.
Definition at line 57 of file W3DTracerDraw.h.
|
inlinevirtual |
Implements DrawModule.
Definition at line 54 of file W3DTracerDraw.h.
|
virtual |
Implements TracerDrawInterface.
Definition at line 73 of file W3DTracerDraw.cpp.
|
protected |
color of tracer
Definition at line 71 of file W3DTracerDraw.h.
|
protected |
length of tracer
Definition at line 69 of file W3DTracerDraw.h.
|
protected |
opacity of the tracer
Definition at line 73 of file W3DTracerDraw.h.
|
protected |
speed of tracer (in dist/frame)
Definition at line 72 of file W3DTracerDraw.h.
|
protected |
the tracer render object in the W3D scene
Definition at line 68 of file W3DTracerDraw.h.
|
protected |
width of tracer
Definition at line 70 of file W3DTracerDraw.h.