torque Torque Game Engine Documentation
TGE Version 1.5.2

InteriorMapConvex Class Reference

#include <interiorMap.h>

Inheritance diagram for InteriorMapConvex:

Inheritance graph
[legend]

Public Member Functions

 InteriorMapConvex ()
 ~InteriorMapConvex ()
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.
void getPolyList (AbstractPolyList *list)
 Builds a collision poly list out of this convex.
void getFeatures (const MatrixF &mat, const VectorF &n, ConvexFeature *cf)
Point3F support (const VectorF &v) const
 Returns the farthest point, along a vector, still bound by the convex.
void addEdge (U32 zero, U32 one, U32 base, ConvexFeature *cf)

Protected Attributes

Box3F box
InteriorMappOwner
U32 nodeIndex
S32 brushIndex

Private Types

typedef Convex Parent

Friends

class InteriorMap

Member Typedef Documentation

typedef Convex InteriorMapConvex::Parent [private]


Constructor & Destructor Documentation

InteriorMapConvex::InteriorMapConvex (  )  [inline]

InteriorMapConvex::~InteriorMapConvex (  )  [inline]


Member Function Documentation

Box3F InteriorMapConvex::getBoundingBox (  )  const [virtual]

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

Reimplemented from Convex.

Box3F InteriorMapConvex::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.

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

Builds a collision poly list out of this convex.

Parameters:
list (Out) Poly list built

Reimplemented from Convex.

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

Reimplemented from Convex.

Point3F InteriorMapConvex::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 InteriorMapConvex::addEdge ( U32  zero,
U32  one,
U32  base,
ConvexFeature cf 
)


Friends And Related Function Documentation

friend class InteriorMap [friend]


Field Documentation




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