torque Torque Game Engine Documentation
TGE Version 1.5.2

TSStaticConvex Class Reference

#include <tsStatic.h>

Inheritance diagram for TSStaticConvex:

Inheritance graph
[legend]

Public Member Functions

 TSStaticConvex ()
 TSStaticConvex (const TSStaticConvex &cv)
void findNodeTransform ()
const MatrixFgetTransform () const
 Returns the transform of the object this is built around.
Box3F getBoundingBox () const
 Returns the bounding box for the object this is built around in world space.
Box3F getBoundingBox (const MatrixF &mat, const Point3F &scale) const
 Returns the object space bounding box for the object this is built around transformed and scaled.
Point3F support (const VectorF &v) const
 Returns the farthest point, along a vector, still bound by the convex.
void getFeatures (const MatrixF &mat, const VectorF &n, ConvexFeature *cf)
void getPolyList (AbstractPolyList *list)
 Builds a collision poly list out of this convex.

Data Fields

U32 hullId
Box3F box

Protected Attributes

TSStaticpStatic
MatrixFnodeTransform

Private Types

typedef Convex Parent

Friends

class TSStatic

Member Typedef Documentation

typedef Convex TSStaticConvex::Parent [private]


Constructor & Destructor Documentation

TSStaticConvex::TSStaticConvex (  )  [inline]

TSStaticConvex::TSStaticConvex ( const TSStaticConvex cv  )  [inline]


Member Function Documentation

void TSStaticConvex::findNodeTransform (  ) 

const MatrixF& TSStaticConvex::getTransform (  )  const [virtual]

Returns the transform of the object this is built around.

Reimplemented from Convex.

Box3F TSStaticConvex::getBoundingBox (  )  const [virtual]

Returns the bounding box for the object this is built around in world space.

Reimplemented from Convex.

Box3F TSStaticConvex::getBoundingBox ( const MatrixF mat,
const Point3F scale 
) const [virtual]

Returns the object space bounding box for the object this is built around transformed and scaled.

Parameters:
mat Matrix to transform the object-space box by
scale Scaling factor to scale the bounding box by

Reimplemented from Convex.

Point3F TSStaticConvex::support ( const VectorF v  )  const [virtual]

Returns the farthest point, along a vector, still bound by the convex.

Parameters:
v Vector

Reimplemented from Convex.

void TSStaticConvex::getFeatures ( const MatrixF mat,
const VectorF n,
ConvexFeature cf 
) [virtual]

Reimplemented from Convex.

void TSStaticConvex::getPolyList ( AbstractPolyList list  )  [virtual]

Builds a collision poly list out of this convex.

Parameters:
list (Out) Poly list built

Reimplemented from Convex.


Friends And Related Function Documentation

friend class TSStatic [friend]


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen