VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
DtOpcodeTerrainIntersectorImpl Class Reference

List of all members.

Public Member Functions

 DtOpcodeTerrainIntersectorImpl ()
virtual ~DtOpcodeTerrainIntersectorImpl ()
virtual bool initFromGdb (DtTerrainDatabase *terrain)
virtual DtString initStateText () const
virtual unsigned int memoryUsage () const
virtual bool chordIntersect (const DtChord &chord, DtChordIntersectionRecord &record, DtGdbNode::DtIntersectRecordType irtFlag=DtGdbNode::IRT_ALL_DATA_TERRAIN) const
virtual bool allIntersectsAlongChord (const DtChord &chord, DtChordIntersectRecordList &intList, DtGdbNode::DtIntersectRecordType irtFlag=DtGdbNode::IRT_ALL_DATA_TERRAIN, const DtFileNode *visitedFileNode=0) const
virtual bool sphereIntersect (const DtSphere &sphere, DtSphereIntersectionRecord &record, DtGdbNode::DtIntersectRecordType irtFlag=DtGdbNode::IRT_ALL_DATA_TERRAIN) const

Protected Types

typedef std::pair
< DtChordIntersectionRecord
*, DtOpcodeTerrainIntersectorImpl * > 
RecordMeshPair
typedef std::vector
< DtTriangleIndirect * > 
TriangleIndexType

Protected Member Functions

virtual bool makeOpcodeTriangleIndex (DtGdbNode *node)
virtual void makeIndexedTriangleArray ()
virtual bool intersectAnyFileNode (const DtChord &chord, std::vector< DtFileNode * > &vec) const
virtual bool intersectAnyFileNode (const DtSphere &sphere, std::vector< DtFileNode * > &vec) const
virtual bool lessDistance (const Opcode::CollisionFace &c1, const Opcode::CollisionFace &c2)

Protected Attributes

IndexedTriangle * myIndexedTriangleArray
TriangleIndexType myTriangleIndex
unsigned int myNumberOfVertices
unsigned int myNumberOfTriangles
Opcode::Model myOpcodeModel
Opcode::OPCODECREATE myOPC
Opcode::MeshInterface myMeshInterface
DtString myInitStateText
DtMutex myIntersectMutex
DtTerrainDatabasemyTerrainDb
std::vector< DtFileNode * > myFileNodes

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

virtual unsigned int DtOpcodeTerrainIntersectorImpl::memoryUsage ( ) const [virtual]
virtual bool DtOpcodeTerrainIntersectorImpl::allIntersectsAlongChord ( const DtChord chord,
DtChordIntersectRecordList intList,
DtGdbNode::DtIntersectRecordType  irtFlag = DtGdbNode::IRT_ALL_DATA_TERRAIN,
const DtFileNode visitedFileNode = 0 
) const [virtual]
virtual void DtOpcodeTerrainIntersectorImpl::makeIndexedTriangleArray ( ) [protected, virtual]
virtual bool DtOpcodeTerrainIntersectorImpl::intersectAnyFileNode ( const DtChord chord,
std::vector< DtFileNode * > &  vec 
) const [protected, virtual]
virtual bool DtOpcodeTerrainIntersectorImpl::intersectAnyFileNode ( const DtSphere sphere,
std::vector< DtFileNode * > &  vec 
) const [protected, virtual]
virtual bool DtOpcodeTerrainIntersectorImpl::lessDistance ( const Opcode::CollisionFace &  c1,
const Opcode::CollisionFace &  c2 
) [protected, virtual]

Member Data Documentation

Opcode::OPCODECREATE DtOpcodeTerrainIntersectorImpl::myOPC [protected]
Opcode::MeshInterface DtOpcodeTerrainIntersectorImpl::myMeshInterface [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)