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::TriangleMeshShaper ( )

Definition at line 90 of file TriangleMeshShaper.cpp.

◆ ~TriangleMeshShaper()

TriangleMeshShaper::~TriangleMeshShaper ( )

Definition at line 103 of file TriangleMeshShaper.cpp.

Member Function Documentation

◆ apply()

VrmlNodePtr TriangleMeshShaper::apply ( VrmlNodePtr  topNode)

Definition at line 169 of file TriangleMeshShaper.cpp.

◆ calcangle()

double TriangleMeshShaper::calcangle ( SFVec3f point)
private

Definition at line 1263 of file TriangleMeshShaper.cpp.

◆ convertBox()

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

Definition at line 1623 of file TriangleMeshShaper.cpp.

◆ defaultTextureMapping()

void TriangleMeshShaper::defaultTextureMapping ( VrmlShape shapeNode)

Definition at line 1147 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingBox()

void TriangleMeshShaper::defaultTextureMappingBox ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1273 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingCone()

void TriangleMeshShaper::defaultTextureMappingCone ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1347 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingCylinder()

void TriangleMeshShaper::defaultTextureMappingCylinder ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1417 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingElevationGrid()

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

Definition at line 1223 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingExtrusion()

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

Definition at line 1521 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingFaceSet()

void TriangleMeshShaper::defaultTextureMappingFaceSet ( VrmlIndexedFaceSet triangleMesh)
private

Definition at line 1180 of file TriangleMeshShaper.cpp.

◆ defaultTextureMappingSphere()

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

Definition at line 1486 of file TriangleMeshShaper.cpp.

◆ faceofBox()

int TriangleMeshShaper::faceofBox ( SFVec3f point)
private

Definition at line 1240 of file TriangleMeshShaper.cpp.

◆ findPoint()

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

Definition at line 1252 of file TriangleMeshShaper.cpp.

◆ getOriginalGeometry()

SFNode TriangleMeshShaper::getOriginalGeometry ( VrmlShapePtr  shapeNode)

Definition at line 140 of file TriangleMeshShaper.cpp.

◆ setDivisionNumber()

void TriangleMeshShaper::setDivisionNumber ( int  n)

Definition at line 116 of file TriangleMeshShaper.cpp.

◆ setNormalGenerationMode()

void TriangleMeshShaper::setNormalGenerationMode ( bool  on)

Definition at line 127 of file TriangleMeshShaper.cpp.

Member Data Documentation

◆ impl

TMSImpl* hrp::TriangleMeshShaper::impl
private

Definition at line 53 of file TriangleMeshShaper.h.

◆ sigMessage

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 Wed Sep 7 2022 02:51:06