Torque3D Documentation / _generateds / ExtrudedPolyList

ExtrudedPolyList

Engine/source/collision/extrudedPolyList.h

Extruded Polytope PolyList.

More...

Classes:

Public Types

ExtrudedList 
IndexList 
PlaneList 
VertexList 

Public Static Attributes

Private Functions

Public Functions

Adds a plane to the poly list, and returns an ID number for that point.

Adds a point to the poly list, and returns an ID number for that point.

begin(BaseMatInstance * material, U32 surfaceKey)

Start a surface.

end()

Mark the end of a surface.

bool

Are we empty of data?

Indicate the plane of the surface.

plane(const U32 index)

Indicate the plane of the surface.

plane(U32 v1, U32 v2, U32 v3)

Indicate the plane of the surface.

vertex(U32 vi)

Reference a vertex which is in this surface.

Protected Functions

A helper function to convert a plane index to a PlaneF structure.

Detailed Description

Extruded Polytope PolyList.

This class is used primarily for collision detection, by objects which need to check for obstructions along their path. You feed it a polytope to extrude along the direction of movement, and it gives you a list of collisions.

Public Types

typedef Vector< ExtrudedFace > ExtrudedList 
typedef Vector< U32 > IndexList 
typedef Vector< PlaneF > PlaneList 
typedef Vector< Vertex > VertexList 

Public Static Attributes

F32 EqualEpsilon 
F32 FaceEpsilon 

Public Attributes

CollisionList * mCollisionList 
ExtrudedList mExtrudedList 
IndexList mIndexList 
VectorF mNormalVelocity 
PlaneList mPlaneList 
Poly mPoly 
PlaneList mPolyPlaneList 
VectorF mVelocity 
VertexList mVertexList 

Private Functions

testPoly(ExtrudedFace & )

Public Functions

ExtrudedPolyList()

~ExtrudedPolyList()

addPlane(const PlaneF & plane)

Reimplemented from: AbstractPolyList

addPoint(const Point3F & p)

Reimplemented from: AbstractPolyList

adjustCollisionTime()

begin(BaseMatInstance * material, U32 surfaceKey)

Reimplemented from: AbstractPolyList

end()

Reimplemented from: AbstractPolyList

extrude(const Polyhedron & , const VectorF & vec)

isEmpty()

Reimplemented from: AbstractPolyList

plane(const PlaneF & p)

Reimplemented from: AbstractPolyList

plane(const U32 index)

Reimplemented from: AbstractPolyList

plane(U32 v1, U32 v2, U32 v3)

Reimplemented from: AbstractPolyList

setCollisionList(CollisionList * )

setVelocity(const VectorF & velocity)

vertex(U32 vi)

Reimplemented from: AbstractPolyList

Protected Functions

getIndexedPlane(const U32 index)

Reimplemented from: AbstractPolyList