Public Types | |
enum | RemapType { REMAP_COLOR, REMAP_NORMAL } |
typedef std::map< VrmlShapePtr, SFNode > | ShapeToGeometryMap |
Public Attributes | |
int | divisionNumber |
std::vector< int > | faceIndexMap |
std::vector< Vector3 > | faceNormals |
std::vector< int > | indexPositionMap |
bool | isNormalGenerationMode |
std::vector< int > | polygon |
TriangleMeshShaper * | self |
ShapeToGeometryMap | shapeToOriginalGeometryMap |
Triangulator | triangulator |
std::vector< std::vector< int > > | vertexIndexToFaceIndicesMap |
std::vector< std::vector< int > > | vertexIndexToNormalIndicesMap |
Definition at line 33 of file TriangleMeshShaper.cpp.
typedef std::map<VrmlShapePtr, SFNode> hrp::TMSImpl::ShapeToGeometryMap |
Definition at line 43 of file TriangleMeshShaper.cpp.
Enumerator | |
---|---|
REMAP_COLOR | |
REMAP_NORMAL |
Definition at line 57 of file TriangleMeshShaper.cpp.
TMSImpl::TMSImpl | ( | TriangleMeshShaper * | self | ) |
Definition at line 96 of file TriangleMeshShaper.cpp.
void TMSImpl::calculateFaceNormals | ( | VrmlIndexedFaceSetPtr & | triangleMesh | ) |
Definition at line 961 of file TriangleMeshShaper.cpp.
bool TMSImpl::checkAndRemapIndices | ( | RemapType | type, |
unsigned int | numElements, | ||
MFInt32 & | indices, | ||
bool | perVertex, | ||
VrmlIndexedFaceSet * | triangleMesh | ||
) |
Definition at line 368 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertBox | ( | VrmlBox * | box, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 501 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertCone | ( | VrmlCone * | cone, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 565 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertCylinder | ( | VrmlCylinder * | cylinder, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 603 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertElevationGrid | ( | VrmlElevationGrid * | grid, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 714 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertExtrusion | ( | VrmlExtrusion * | extrusion, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 763 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertIndexedFaceSet | ( | VrmlIndexedFaceSet * | faceSet | ) |
Definition at line 268 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertPointSet | ( | VrmlPointSet * | pointSet, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 556 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertShapeNode | ( | VrmlShape * | shapeNode | ) |
Definition at line 208 of file TriangleMeshShaper.cpp.
bool TMSImpl::convertSphere | ( | VrmlSphere * | sphere, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 653 of file TriangleMeshShaper.cpp.
void TMSImpl::generateNormals | ( | VrmlIndexedFaceSetPtr & | triangleMesh | ) |
Definition at line 946 of file TriangleMeshShaper.cpp.
SFNode TMSImpl::getOriginalGeometry | ( | VrmlShapePtr | shapeNode | ) |
Definition at line 146 of file TriangleMeshShaper.cpp.
Definition at line 472 of file TriangleMeshShaper.cpp.
Definition at line 1139 of file TriangleMeshShaper.cpp.
bool TMSImpl::remapDirectMapObjectsPerFaces | ( | TArray & | objects, |
const char * | objectName | ||
) |
Definition at line 349 of file TriangleMeshShaper.cpp.
void TMSImpl::setFaceNormals | ( | VrmlIndexedFaceSetPtr & | triangleMesh | ) |
Definition at line 1090 of file TriangleMeshShaper.cpp.
bool TMSImpl::setTexCoordIndex | ( | VrmlIndexedFaceSetPtr | faseSet | ) |
Definition at line 438 of file TriangleMeshShaper.cpp.
void TMSImpl::setVertexNormals | ( | VrmlIndexedFaceSetPtr & | triangleMesh | ) |
Definition at line 1009 of file TriangleMeshShaper.cpp.
bool TMSImpl::traverseShapeNodes | ( | VrmlNode * | node, |
AbstractVrmlGroup * | parentNode, | ||
int | indexInParent | ||
) |
Definition at line 176 of file TriangleMeshShaper.cpp.
int hrp::TMSImpl::divisionNumber |
Definition at line 40 of file TriangleMeshShaper.cpp.
std::vector<int> hrp::TMSImpl::faceIndexMap |
Definition at line 50 of file TriangleMeshShaper.cpp.
std::vector<Vector3> hrp::TMSImpl::faceNormals |
Definition at line 53 of file TriangleMeshShaper.cpp.
std::vector<int> hrp::TMSImpl::indexPositionMap |
Definition at line 49 of file TriangleMeshShaper.cpp.
bool hrp::TMSImpl::isNormalGenerationMode |
Definition at line 41 of file TriangleMeshShaper.cpp.
std::vector<int> hrp::TMSImpl::polygon |
Definition at line 48 of file TriangleMeshShaper.cpp.
TriangleMeshShaper* hrp::TMSImpl::self |
Definition at line 38 of file TriangleMeshShaper.cpp.
ShapeToGeometryMap hrp::TMSImpl::shapeToOriginalGeometryMap |
Definition at line 44 of file TriangleMeshShaper.cpp.
Triangulator hrp::TMSImpl::triangulator |
Definition at line 47 of file TriangleMeshShaper.cpp.
std::vector< std::vector<int> > hrp::TMSImpl::vertexIndexToFaceIndicesMap |
Definition at line 54 of file TriangleMeshShaper.cpp.
std::vector< std::vector<int> > hrp::TMSImpl::vertexIndexToNormalIndicesMap |
Definition at line 55 of file TriangleMeshShaper.cpp.