torque Torque Game Engine Documentation
TGE Version 1.5.2

InteriorConvex Class Reference

#include <interior.h>

Inheritance diagram for InteriorConvex:

Inheritance graph
[legend]

Public Member Functions

 InteriorConvex ()
 InteriorConvex (const InteriorConvex &cv)
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

S32 hullId
Box3F box

Protected Attributes

InteriorpInterior

Private Types

typedef Convex Parent

Friends

class Interior
class InteriorInstance

Member Typedef Documentation

typedef Convex InteriorConvex::Parent [private]


Constructor & Destructor Documentation

InteriorConvex::InteriorConvex (  )  [inline]

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


Member Function Documentation

Box3F InteriorConvex::getBoundingBox (  )  const [virtual]

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

Reimplemented from Convex.

Box3F InteriorConvex::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 InteriorConvex::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 InteriorConvex::getFeatures ( const MatrixF mat,
const VectorF n,
ConvexFeature cf 
) [virtual]

Reimplemented from Convex.

void InteriorConvex::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 Interior [friend]

friend class InteriorInstance [friend]


Field Documentation




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