#include <TriangleMeshShaper.h>
Public Member Functions | |
VrmlNodePtr | apply (VrmlNodePtr topNode) |
bool | convertBox (VrmlBox *box, VrmlIndexedFaceSetPtr &triangleMesh) |
void | defaultTextureMapping (VrmlShape *shapeNode) |
SFNode | getOriginalGeometry (VrmlShapePtr shapeNode) |
void | setDivisionNumber (int n) |
void | setNormalGenerationMode (bool on) |
TriangleMeshShaper () | |
~TriangleMeshShaper () | |
Public Attributes | |
boost::signal< void(const std::string &message)> | sigMessage |
Private Member Functions | |
double | calcangle (SFVec3f &point) |
void | defaultTextureMappingBox (VrmlIndexedFaceSet *triangleMesh) |
void | defaultTextureMappingCone (VrmlIndexedFaceSet *triangleMesh) |
void | defaultTextureMappingCylinder (VrmlIndexedFaceSet *triangleMesh) |
void | defaultTextureMappingElevationGrid (VrmlElevationGrid *grid, VrmlIndexedFaceSet *triangleMesh) |
void | defaultTextureMappingExtrusion (VrmlIndexedFaceSet *triangleMesh, VrmlExtrusion *extrusion) |
void | defaultTextureMappingFaceSet (VrmlIndexedFaceSet *triangleMesh) |
void | defaultTextureMappingSphere (VrmlIndexedFaceSet *triangleMesh, double radius) |
int | faceofBox (SFVec3f *point) |
int | findPoint (MFVec2f &points, SFVec2f &target) |
Private Attributes | |
TMSImpl * | impl |
Definition at line 31 of file TriangleMeshShaper.h.
TriangleMeshShaper::TriangleMeshShaper | ( | ) |
Definition at line 90 of file TriangleMeshShaper.cpp.
TriangleMeshShaper::~TriangleMeshShaper | ( | ) |
Definition at line 103 of file TriangleMeshShaper.cpp.
VrmlNodePtr TriangleMeshShaper::apply | ( | VrmlNodePtr | topNode | ) |
Definition at line 169 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1263 of file TriangleMeshShaper.cpp.
bool TriangleMeshShaper::convertBox | ( | VrmlBox * | box, |
VrmlIndexedFaceSetPtr & | triangleMesh | ||
) |
Definition at line 1623 of file TriangleMeshShaper.cpp.
Definition at line 1147 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1273 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1347 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1417 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1223 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1521 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1180 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 1486 of file TriangleMeshShaper.cpp.
Definition at line 1240 of file TriangleMeshShaper.cpp.
Definition at line 1252 of file TriangleMeshShaper.cpp.
SFNode TriangleMeshShaper::getOriginalGeometry | ( | VrmlShapePtr | shapeNode | ) |
Definition at line 140 of file TriangleMeshShaper.cpp.
Definition at line 116 of file TriangleMeshShaper.cpp.
void TriangleMeshShaper::setNormalGenerationMode | ( | bool | on | ) |
Definition at line 127 of file TriangleMeshShaper.cpp.
|
private |
Definition at line 53 of file TriangleMeshShaper.h.
Definition at line 47 of file TriangleMeshShaper.h.