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

#include <Surface_SweptSpline.h>

Inheritance diagram for idSurface_SweptSpline:
idSurface

Public Member Functions

 idSurface_SweptSpline (void)
 
 ~idSurface_SweptSpline (void)
 
void SetSpline (idCurve_Spline< idVec4 > *spline)
 
void SetSweptSpline (idCurve_Spline< idVec4 > *sweptSpline)
 
void SetSweptCircle (const float radius)
 
void Tessellate (const int splineSubdivisions, const int sweptSplineSubdivisions)
 
void Clear (void)
 
- Public Member Functions inherited from idSurface
 idSurface (void)
 
 idSurface (const idSurface &surf)
 
 idSurface (const idDrawVert *verts, const int numVerts, const int *indexes, const int numIndexes)
 
 ~idSurface (void)
 
const idDrawVertoperator[] (const int index) const
 
idDrawVertoperator[] (const int index)
 
idSurfaceoperator+= (const idSurface &surf)
 
int GetNumIndexes (void) const
 
const intGetIndexes (void) const
 
int GetNumVertices (void) const
 
const idDrawVertGetVertices (void) const
 
const intGetEdgeIndexes (void) const
 
const surfaceEdge_tGetEdges (void) const
 
void Clear (void)
 
void SwapTriangles (idSurface &surf)
 
void TranslateSelf (const idVec3 &translation)
 
void RotateSelf (const idMat3 &rotation)
 
int Split (const idPlane &plane, const float epsilon, idSurface **front, idSurface **back, int *frontOnPlaneEdges=NULL, int *backOnPlaneEdges=NULL) const
 
bool ClipInPlace (const idPlane &plane, const float epsilon=ON_EPSILON, const bool keepOn=false)
 
bool IsConnected (void) const
 
bool IsClosed (void) const
 
bool IsPolytope (const float epsilon=0.1f) const
 
float PlaneDistance (const idPlane &plane) const
 
int PlaneSide (const idPlane &plane, const float epsilon=ON_EPSILON) const
 
bool LineIntersection (const idVec3 &start, const idVec3 &end, bool backFaceCull=false) const
 
bool RayIntersection (const idVec3 &start, const idVec3 &dir, float &scale, bool backFaceCull=false) const
 

Protected Member Functions

void GetFrame (const idMat3 &previousFrame, const idVec3 dir, idMat3 &newFrame)
 
- Protected Member Functions inherited from idSurface
void GenerateEdgeIndexes (void)
 
int FindEdge (int v1, int v2) const
 

Protected Attributes

idCurve_Spline< idVec4 > * spline
 
idCurve_Spline< idVec4 > * sweptSpline
 
- Protected Attributes inherited from idSurface
idList< idDrawVertverts
 
idList< intindexes
 
idList< surfaceEdge_tedges
 
idList< intedgeIndexes
 

Detailed Description

Definition at line 40 of file Surface_SweptSpline.h.

Constructor & Destructor Documentation

ID_INLINE idSurface_SweptSpline::idSurface_SweptSpline ( void  )

Definition at line 65 of file Surface_SweptSpline.h.

ID_INLINE idSurface_SweptSpline::~idSurface_SweptSpline ( void  )

Definition at line 75 of file Surface_SweptSpline.h.

Member Function Documentation

ID_INLINE void idSurface_SweptSpline::Clear ( void  )

Definition at line 85 of file Surface_SweptSpline.h.

void idSurface_SweptSpline::GetFrame ( const idMat3 previousFrame,
const idVec3  dir,
idMat3 newFrame 
)
protected

Definition at line 84 of file Surface_SweptSpline.cpp.

void idSurface_SweptSpline::SetSpline ( idCurve_Spline< idVec4 > *  spline)

Definition at line 38 of file Surface_SweptSpline.cpp.

void idSurface_SweptSpline::SetSweptCircle ( const float  radius)

Definition at line 64 of file Surface_SweptSpline.cpp.

void idSurface_SweptSpline::SetSweptSpline ( idCurve_Spline< idVec4 > *  sweptSpline)

Definition at line 50 of file Surface_SweptSpline.cpp.

void idSurface_SweptSpline::Tessellate ( const int  splineSubdivisions,
const int  sweptSplineSubdivisions 
)

Definition at line 146 of file Surface_SweptSpline.cpp.

Member Data Documentation

idCurve_Spline<idVec4>* idSurface_SweptSpline::spline
protected

Definition at line 54 of file Surface_SweptSpline.h.

idCurve_Spline<idVec4>* idSurface_SweptSpline::sweptSpline
protected

Definition at line 55 of file Surface_SweptSpline.h.


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