doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idFixedPosition Class Reference

#include <splines.h>

Inheritance diagram for idFixedPosition:
idCameraPosition idPointListInterface

Public Member Functions

 idFixedPosition ()
 
 idFixedPosition (idVec3 p)
 
 ~idFixedPosition ()
 
void init ()
 
virtual void addPoint (const idVec3 &v)
 
virtual void addPoint (const float x, const float y, const float z)
 
virtual const idVec3getPosition (long t)
 
void parse (idParser *src)
 
void write (idFile *f, const char *name)
 
virtual int numPoints ()
 
virtual idVec3getPoint (int index)
 
virtual void draw (bool editMode)
 
- Public Member Functions inherited from idCameraPosition
 idCameraPosition ()
 
 idCameraPosition (const char *p)
 
 idCameraPosition (long t)
 
virtual ~idCameraPosition ()
 
virtual void clearVelocities ()
 
virtual void clear ()
 
virtual void start (long t)
 
long getTime ()
 
virtual void setTime (long t)
 
float getVelocity (long t)
 
float getBaseVelocity ()
 
void addVelocity (long start, long duration, float speed)
 
virtual bool parseToken (const idStr &key, idParser *src)
 
const char * getName ()
 
void setName (const char *p)
 
virtual void startEdit ()
 
virtual void stopEdit ()
 
virtual void draw ()
 
const char * typeStr ()
 
void calcVelocity (float distance)
 
- Public Member Functions inherited from idPointListInterface
 idPointListInterface ()
 
 ~idPointListInterface ()
 
virtual void removePoint (int index)
 
int numSelectedPoints ()
 
idVec3getSelectedPoint (int index)
 
int selectPointByRay (const idVec3 &origin, const idVec3 &direction, bool single)
 
int isPointSelected (int index)
 
int selectPoint (int index, bool single)
 
void selectAll ()
 
void deselectAll ()
 
virtual void updateSelection (const idVec3 &move)
 
void drawSelection ()
 

Protected Attributes

idVec3 pos
 
- Protected Attributes inherited from idCameraPosition
long startTime
 
long time
 
positionType type
 
idStr name
 
bool editMode
 
idList< idVelocity * > velocities
 
float baseVelocity
 
- Protected Attributes inherited from idPointListInterface
idList< intselectedPoints
 

Additional Inherited Members

- Public Types inherited from idCameraPosition
enum  positionType { FIXED = 0x00, INTERPOLATED, SPLINE, POSITION_COUNT }
 
- Static Protected Attributes inherited from idCameraPosition
static const char * positionStr [POSITION_COUNT]
 

Detailed Description

Definition at line 193 of file splines.h.

Constructor & Destructor Documentation

idFixedPosition::idFixedPosition ( )
inline

Definition at line 196 of file splines.h.

idFixedPosition::idFixedPosition ( idVec3  p)
inline

Definition at line 197 of file splines.h.

idFixedPosition::~idFixedPosition ( )
inline

Definition at line 198 of file splines.h.

Member Function Documentation

virtual void idFixedPosition::addPoint ( const idVec3 v)
inlinevirtual

Reimplemented from idPointListInterface.

Definition at line 202 of file splines.h.

virtual void idFixedPosition::addPoint ( const float  x,
const float  y,
const float  z 
)
inlinevirtual

Reimplemented from idPointListInterface.

Definition at line 203 of file splines.h.

virtual void idFixedPosition::draw ( bool  editMode)
inlinevirtual

Reimplemented from idCameraPosition.

Definition at line 209 of file splines.h.

virtual idVec3* idFixedPosition::getPoint ( int  index)
inlinevirtual

Reimplemented from idPointListInterface.

Definition at line 208 of file splines.h.

virtual const idVec3* idFixedPosition::getPosition ( long  t)
inlinevirtual

Reimplemented from idCameraPosition.

Definition at line 204 of file splines.h.

void idFixedPosition::init ( )
inline

Definition at line 200 of file splines.h.

virtual int idFixedPosition::numPoints ( )
inlinevirtual

Reimplemented from idPointListInterface.

Definition at line 207 of file splines.h.

void idFixedPosition::parse ( idParser src)
virtual

Reimplemented from idCameraPosition.

Definition at line 1869 of file splines.cpp.

void idFixedPosition::write ( idFile f,
const char *  name 
)
virtual

Reimplemented from idCameraPosition.

Definition at line 1895 of file splines.cpp.

Member Data Documentation

idVec3 idFixedPosition::pos
protected

Definition at line 212 of file splines.h.


The documentation for this class was generated from the following files: