A version of btTriangleMesh that also holds soil type for each polygon.
More...
|
| | DtTriangleMeshWithSoil (bool use32bitIndices=true, bool use4componentVertices=true) |
| |
| virtual | ~DtTriangleMeshWithSoil () |
| |
| bool | valid (const btVector3 &vertex0, const btVector3 &vertex1, const btVector3 &vertex2) const |
| |
| bool | valid (const btVector3 &vertex) const |
| |
| bool | valid (const btScalar &val) const |
| |
| bool | checkAddTriangle (const btVector3 &vertex0, const btVector3 &vertex1, const btVector3 &vertex2, bool removeDuplicateVertices=false) |
| |
| void | addTriangle (const btVector3 &vertex0, const btVector3 &vertex1, const btVector3 &vertex2, bool removeDuplicateVertices=false) |
| |
| void | addTriangleWithSurface (const btVector3 &vertex0, const btVector3 &vertex1, const btVector3 &vertex2, const DtSurface &surface, bool removeDuplicateVertices=false) |
| |
| DtSurface | triangleSurface (unsigned int triangleIndex) const |
| |
| const btVector3 & | max () const |
| |
| const btVector3 & | min () const |
| |
| bool | isAabbValid () const |
| |
| double | maxDistance () const |
| |
|
| void | updateBounds (const btVector3 &val) |
| |
| void | initializeSurfaceArray () |
| | Changes myUseSurfaceArray to true, and initialized mySurfaceTypes to have Unspecified for all already defined triangles in the mesh. More...
|
| |
| void | syncSurfaceArray () |
| | Ensures that the length of mySurfaceTypes is the same as the number of triangles in the base class. More...
|
| |
A version of btTriangleMesh that also holds soil type for each polygon.
| DtTriangleMeshWithSoil::DtTriangleMeshWithSoil |
( |
bool |
use32bitIndices = true, |
|
|
bool |
use4componentVertices = true |
|
) |
| |
| virtual DtTriangleMeshWithSoil::~DtTriangleMeshWithSoil |
( |
| ) |
|
|
virtual |
| bool DtTriangleMeshWithSoil::valid |
( |
const btVector3 & |
vertex0, |
|
|
const btVector3 & |
vertex1, |
|
|
const btVector3 & |
vertex2 |
|
) |
| const |
| bool DtTriangleMeshWithSoil::valid |
( |
const btVector3 & |
vertex | ) |
const |
| bool DtTriangleMeshWithSoil::valid |
( |
const btScalar & |
val | ) |
const |
| bool DtTriangleMeshWithSoil::checkAddTriangle |
( |
const btVector3 & |
vertex0, |
|
|
const btVector3 & |
vertex1, |
|
|
const btVector3 & |
vertex2, |
|
|
bool |
removeDuplicateVertices = false |
|
) |
| |
| void DtTriangleMeshWithSoil::addTriangle |
( |
const btVector3 & |
vertex0, |
|
|
const btVector3 & |
vertex1, |
|
|
const btVector3 & |
vertex2, |
|
|
bool |
removeDuplicateVertices = false |
|
) |
| |
| void DtTriangleMeshWithSoil::addTriangleWithSurface |
( |
const btVector3 & |
vertex0, |
|
|
const btVector3 & |
vertex1, |
|
|
const btVector3 & |
vertex2, |
|
|
const DtSurface & |
surface, |
|
|
bool |
removeDuplicateVertices = false |
|
) |
| |
| const btVector3& DtTriangleMeshWithSoil::max |
( |
| ) |
const |
| const btVector3& DtTriangleMeshWithSoil::min |
( |
| ) |
const |
| bool DtTriangleMeshWithSoil::isAabbValid |
( |
| ) |
const |
| double DtTriangleMeshWithSoil::maxDistance |
( |
| ) |
const |
| void DtTriangleMeshWithSoil::updateBounds |
( |
const btVector3 & |
val | ) |
|
|
protected |
| void DtTriangleMeshWithSoil::initializeSurfaceArray |
( |
| ) |
|
|
protected |
Changes myUseSurfaceArray to true, and initialized mySurfaceTypes to have Unspecified for all already defined triangles in the mesh.
| void DtTriangleMeshWithSoil::syncSurfaceArray |
( |
| ) |
|
|
protected |
Ensures that the length of mySurfaceTypes is the same as the number of triangles in the base class.
(in case addTriagle was called)
| bool DtTriangleMeshWithSoil::myUseSurfaceArray |
|
protected |
When this is false, mySurfaceTypes is empty, and all triangles are considered to have "Unspecified" as their surface type.
When true, then mySurfaceTypes holds the surface characteristics for each triangle.
| btAlignedObjectArray<DtSurface> DtTriangleMeshWithSoil::mySurfaceTypes |
|
protected |
| btVector3 DtTriangleMeshWithSoil::myMin |
|
protected |
| btVector3 DtTriangleMeshWithSoil::myMax |
|
protected |
| double DtTriangleMeshWithSoil::myMaxPointDistanceSq |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vantageTerrainImplementation/bvhTriangleMeshShape.h