Torque3D Documentation / _generateds / PlaneExtractorPolyList

PlaneExtractorPolyList

Engine/source/collision/planeExtractor.h

Fill a Vector with the planes from the geometry passed through this PolyList.

More...

Public Types

VertexList 

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

Fill a Vector with the planes from the geometry passed through this PolyList.

Public Types

typedef Vector< Point3F > VertexList 

Public Attributes

Vector< PlaneF > * mPlaneList 
Vector< PlaneF > mPolyPlaneList 
VertexList mVertexList 

Public Functions

PlaneExtractorPolyList()

~PlaneExtractorPolyList()

addPlane(const PlaneF & plane)

Reimplemented from: AbstractPolyList

addPoint(const Point3F & p)

Reimplemented from: AbstractPolyList

begin(BaseMatInstance * material, U32 surfaceKey)

Reimplemented from: AbstractPolyList

clear()

end()

Reimplemented from: AbstractPolyList

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

vertex(U32 vi)

Reimplemented from: AbstractPolyList

Protected Functions

getIndexedPlane(const U32 index)

Reimplemented from: AbstractPolyList