Slab Class Reference

#include <influenc.h>

Inheritance diagram for Slab:

Inheritance graph
[legend]
Collaboration diagram for Slab:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Slab ()
 Slab (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 ComputeSides (Vector &, float, float, float)
void Transform ()
BOOL IsInside (Vector p)
void FindBounds (Vector &min, Vector &max)

Public Attributes

Vector center
Vector axis
float length
float softlength
float lengthdelta
float halfwidth
float softhalfwidth
float halfwidthdelta

Detailed Description

Definition at line 207 of file influenc.h.


Constructor & Destructor Documentation

Slab::Slab  )  [inline]
 

Definition at line 212 of file influenc.h.

Slab::Slab float  ,
float  ,
float  ,
float 
 


Member Function Documentation

Vector Slab::Attract Vector  ,
float 
[virtual]
 

Implements InfluenceShape.

void Slab::ComputeSides Vector ,
float  ,
float  ,
float 
 

float Slab::Falloff Vector   )  [virtual]
 

Implements InfluenceShape.

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

Implements InfluenceShape.

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

Implements InfluenceShape.

int Slab::GetType  )  [inline, virtual]
 

Implements RObject.

Definition at line 220 of file influenc.h.

References RBOX.

void Slab::Init float  ,
float  ,
float  ,
float 
 

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

Reimplemented from RObject.

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

Reimplemented from RObject.

BOOL Slab::IsInside Vector  p  )  [virtual]
 

Implements InfluenceShape.

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

Implements InfluenceShape.

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

Reimplemented from RObject.

void Slab::Transform  )  [virtual]
 

Implements InfluenceShape.

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

Implements InfluenceShape.


Member Data Documentation

Vector Slab::axis
 

Definition at line 209 of file influenc.h.

Vector Slab::center
 

Definition at line 209 of file influenc.h.

float Slab::halfwidth
 

Definition at line 210 of file influenc.h.

float Slab::halfwidthdelta
 

Definition at line 210 of file influenc.h.

float Slab::length
 

Definition at line 210 of file influenc.h.

float Slab::lengthdelta
 

Definition at line 210 of file influenc.h.

float Slab::softhalfwidth
 

Definition at line 210 of file influenc.h.

float Slab::softlength
 

Definition at line 210 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:47:03 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001