Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

InSpace::AnimTexPlane Class Reference

#include <AnimTexPlane.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 AnimTexPlane (str_ptr texNameList, double frameTimeInterval, int blendTransitions)
virtual ~AnimTexPlane ()
void preFrame ()
Color color ()
void setColor (Color c)
void draw ()

Protected Member Functions

void loadTextures (char *filelist)

Protected Attributes

ARRAY< str_ptr_textures
double _frameTimeInterval
double _lastFrameTime
int _curFrame
int _nextFrame
double _alpha
Color _color
int _blendTransitions
double _shininess
Color _diffuse
Color _specular
Color _emission
Color _ambient

Constructor & Destructor Documentation

InSpace::AnimTexPlane::AnimTexPlane str_ptr  texNameList,
double  frameTimeInterval,
int  blendTransitions

virtual InSpace::AnimTexPlane::~AnimTexPlane  )  [virtual]

Member Function Documentation

Color InSpace::AnimTexPlane::color  )  [inline]

void InSpace::AnimTexPlane::draw  )  [virtual]

This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function.

Reimplemented from InSpace::DrawObj.

void InSpace::AnimTexPlane::loadTextures char *  filelist  )  [protected]

void InSpace::AnimTexPlane::preFrame  ) 

void InSpace::AnimTexPlane::setColor Color  c  )  [inline]

Member Data Documentation

double InSpace::AnimTexPlane::_alpha [protected]

Color InSpace::AnimTexPlane::_ambient [protected]

int InSpace::AnimTexPlane::_blendTransitions [protected]

Color InSpace::AnimTexPlane::_color [protected]

int InSpace::AnimTexPlane::_curFrame [protected]

Color InSpace::AnimTexPlane::_diffuse [protected]

Color InSpace::AnimTexPlane::_emission [protected]

double InSpace::AnimTexPlane::_frameTimeInterval [protected]

double InSpace::AnimTexPlane::_lastFrameTime [protected]

int InSpace::AnimTexPlane::_nextFrame [protected]

double InSpace::AnimTexPlane::_shininess [protected]

Color InSpace::AnimTexPlane::_specular [protected]

ARRAY<str_ptr> InSpace::AnimTexPlane::_textures [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jul 8 15:19:30 2004 for inspace by doxygen 1.3.4