Cylinder Class Reference

#include <influenc.h>

Inheritance diagram for Cylinder:

Inheritance graph
[legend]
Collaboration diagram for Cylinder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Cylinder ()
 Cylinder (float, float, float, float)
void Init (float, float, float, float)
void Intersect (const Vector &, const Vector &, ThreadInfo *)
BOOL Intersect (const Vector &, const Vector &, Vector &, Vector &)
void Normal (Hit &, Vector &, Vector &)
int GetType ()
float Falloff (Vector)
Vector Attract (Vector, float)
Vector Vortex (Vector, Vector, float)
Vector Friction (Vector, Vector, float)
float Lighting (const Vector &, Vector &, float &)
void Transform ()
BOOL IsInside (Vector p)
void FindBounds (Vector &min, Vector &max)

Public Attributes

Vector base
Vector axis
float radius
float radiussqr
float length
float lengthsqr
float radiusfalloffdistance
float softfalloffdistance
float falloffdistancedelta
float radiusfalloffdistancedelta
float S
float beta
float L

Detailed Description

Definition at line 181 of file influenc.h.


Constructor & Destructor Documentation

Cylinder::Cylinder  )  [inline]
 

Definition at line 188 of file influenc.h.

Cylinder::Cylinder float  ,
float  ,
float  ,
float 
 


Member Function Documentation

Vector Cylinder::Attract Vector  ,
float 
[virtual]
 

Implements InfluenceShape.

float Cylinder::Falloff Vector   )  [virtual]
 

Implements InfluenceShape.

void Cylinder::FindBounds Vector min,
Vector max
[virtual]
 

Implements InfluenceShape.

Vector Cylinder::Friction Vector  ,
Vector  ,
float 
[virtual]
 

Implements InfluenceShape.

int Cylinder::GetType  )  [inline, virtual]
 

Implements RObject.

Definition at line 196 of file influenc.h.

References RCYLINDER.

void Cylinder::Init float  ,
float  ,
float  ,
float 
 

BOOL Cylinder::Intersect const Vector ,
const Vector ,
Vector ,
Vector
[virtual]
 

Reimplemented from RObject.

void Cylinder::Intersect const Vector ,
const Vector ,
ThreadInfo * 
[virtual]
 

Reimplemented from RObject.

BOOL Cylinder::IsInside Vector  p  )  [virtual]
 

Implements InfluenceShape.

float Cylinder::Lighting const Vector ,
Vector ,
float & 
[virtual]
 

Implements InfluenceShape.

void Cylinder::Normal Hit ,
Vector ,
Vector
[virtual]
 

Reimplemented from RObject.

void Cylinder::Transform  )  [virtual]
 

Implements InfluenceShape.

Vector Cylinder::Vortex Vector  ,
Vector  ,
float 
[virtual]
 

Implements InfluenceShape.


Member Data Documentation

Vector Cylinder::axis
 

Definition at line 183 of file influenc.h.

Vector Cylinder::base
 

Definition at line 183 of file influenc.h.

float Cylinder::beta
 

Definition at line 184 of file influenc.h.

float Cylinder::falloffdistancedelta
 

Definition at line 184 of file influenc.h.

float Cylinder::L
 

Definition at line 184 of file influenc.h.

float Cylinder::length
 

Definition at line 184 of file influenc.h.

float Cylinder::lengthsqr
 

Definition at line 184 of file influenc.h.

float Cylinder::radius
 

Definition at line 184 of file influenc.h.

float Cylinder::radiusfalloffdistance
 

Definition at line 184 of file influenc.h.

float Cylinder::radiusfalloffdistancedelta
 

Definition at line 184 of file influenc.h.

float Cylinder::radiussqr
 

Definition at line 184 of file influenc.h.

float Cylinder::S
 

Definition at line 184 of file influenc.h.

float Cylinder::softfalloffdistance
 

Definition at line 184 of file influenc.h.


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:51 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001