Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
hrp::TriangleMeshShaper Class Reference

#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

TMSImplimpl
 

Detailed Description

Definition at line 31 of file TriangleMeshShaper.h.

Constructor & Destructor Documentation

TriangleMeshShaper::TriangleMeshShaper ( )

Definition at line 90 of file TriangleMeshShaper.cpp.

TriangleMeshShaper::~TriangleMeshShaper ( )

Definition at line 103 of file TriangleMeshShaper.cpp.

Member Function Documentation

VrmlNodePtr TriangleMeshShaper::apply ( VrmlNodePtr  topNode)

Definition at line 169 of file TriangleMeshShaper.cpp.

double TriangleMeshShaper::calcangle ( SFVec3f point)
private

Definition at line 1263 of file TriangleMeshShaper.cpp.

bool TriangleMeshShaper::convertBox ( VrmlBox box,
VrmlIndexedFaceSetPtr triangleMesh 
)

Definition at line 1623 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMapping ( VrmlShape shapeNode)

Definition at line 1147 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingBox ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1273 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingCone ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1347 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingCylinder ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1417 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingElevationGrid ( VrmlElevationGrid grid,
VrmlIndexedFaceSet triangleMesh 
)
private

Definition at line 1223 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingExtrusion ( VrmlIndexedFaceSet triangleMesh,
VrmlExtrusion extrusion 
)
private

Definition at line 1521 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingFaceSet ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1180 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::defaultTextureMappingSphere ( VrmlIndexedFaceSet triangleMesh,
double  radius 
)
private

Definition at line 1486 of file TriangleMeshShaper.cpp.

int TriangleMeshShaper::faceofBox ( SFVec3f point)
private

Definition at line 1240 of file TriangleMeshShaper.cpp.

int TriangleMeshShaper::findPoint ( MFVec2f points,
SFVec2f target 
)
private

Definition at line 1252 of file TriangleMeshShaper.cpp.

SFNode TriangleMeshShaper::getOriginalGeometry ( VrmlShapePtr  shapeNode)

Definition at line 140 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::setDivisionNumber ( int  n)

Definition at line 116 of file TriangleMeshShaper.cpp.

void TriangleMeshShaper::setNormalGenerationMode ( bool  on)

Definition at line 127 of file TriangleMeshShaper.cpp.

Member Data Documentation

TMSImpl* hrp::TriangleMeshShaper::impl
private

Definition at line 53 of file TriangleMeshShaper.h.

boost::signal<void(const std::string& message)> hrp::TriangleMeshShaper::sigMessage

Definition at line 47 of file TriangleMeshShaper.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:31