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
idPointListInterface Class Reference

#include <splines.h>

Inheritance diagram for idPointListInterface:
idCameraPosition idFixedPosition idInterpolatedPosition idSplinePosition

Public Member Functions

 idPointListInterface ()
 
 ~idPointListInterface ()
 
virtual int numPoints ()
 
virtual void addPoint (const float x, const float y, const float z)
 
virtual void addPoint (const idVec3 &v)
 
virtual void removePoint (int index)
 
virtual idVec3getPoint (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

idList< intselectedPoints
 

Detailed Description

Definition at line 36 of file splines.h.

Constructor & Destructor Documentation

idPointListInterface::idPointListInterface ( )
inline

Definition at line 38 of file splines.h.

idPointListInterface::~idPointListInterface ( )
inline

Definition at line 39 of file splines.h.

Member Function Documentation

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

Reimplemented in idInterpolatedPosition, and idFixedPosition.

Definition at line 42 of file splines.h.

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

Reimplemented in idSplinePosition, idInterpolatedPosition, and idFixedPosition.

Definition at line 43 of file splines.h.

void idPointListInterface::deselectAll ( )

Definition at line 225 of file splines.cpp.

void idPointListInterface::drawSelection ( )

Definition at line 256 of file splines.cpp.

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

Reimplemented in idSplinePosition, idInterpolatedPosition, and idFixedPosition.

Definition at line 45 of file splines.h.

idVec3 * idPointListInterface::getSelectedPoint ( int  index)

Definition at line 234 of file splines.cpp.

int idPointListInterface::isPointSelected ( int  index)

Definition at line 179 of file splines.cpp.

virtual int idPointListInterface::numPoints ( )
inlinevirtual

Reimplemented in idSplinePosition, idInterpolatedPosition, and idFixedPosition.

Definition at line 41 of file splines.h.

int idPointListInterface::numSelectedPoints ( )
inline

Definition at line 47 of file splines.h.

virtual void idPointListInterface::removePoint ( int  index)
inlinevirtual

Definition at line 44 of file splines.h.

void idPointListInterface::selectAll ( )

Definition at line 213 of file splines.cpp.

int idPointListInterface::selectPoint ( int  index,
bool  single 
)

Definition at line 194 of file splines.cpp.

int idPointListInterface::selectPointByRay ( const idVec3 origin,
const idVec3 direction,
bool  single 
)

Definition at line 143 of file splines.cpp.

void idPointListInterface::updateSelection ( const idVec3 move)
virtual

Reimplemented in idSplinePosition.

Definition at line 244 of file splines.cpp.

Member Data Documentation

idList<int> idPointListInterface::selectedPoints
protected

Definition at line 58 of file splines.h.


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