15 #ifndef OPENHRP_MODEL_LOADER_SHAPE_SET_INFO_INPL_H_INCLUDED 16 #define OPENHRP_MODEL_LOADER_SHAPE_SET_INFO_INPL_H_INCLUDED 20 #include <hrpCorba/ModelLoader.hh> 37 virtual PortableServer::POA_ptr _default_POA();
39 virtual ShapeInfoSequence* shapes();
40 virtual AppearanceInfoSequence* appearances();
41 virtual MaterialInfoSequence* materials();
42 virtual TextureInfoSequence* textures();
47 static void putMessage(
const std::string&
message);
48 std::string& replace(std::string& str,
const std::string& sb,
const std::string& sa);
49 void traverseShapeNodes(
VrmlNode* node,
const Matrix44& T, TransformedShapeIndexSequence& io_shapeIndices, DblArray12Sequence& inlinedShapeM,
const SFString* url = NULL);
50 virtual const std::string& topUrl() = 0;
51 void setColdetModel(
ColdetModelPtr& coldetModel, TransformedShapeIndexSequence shapeIndices,
const Matrix44& Tparent,
int& vertexIndex,
int& triangleIndex);
52 void saveOriginalData();
53 void restoreOriginalData();
54 void createAppearanceInfo();
55 void setBoundingBoxData(
const Vector3& boxSize,
int shapeIndex);
56 bool checkFileUpdateTime();
61 PortableServer::POA_var
poa;
81 void setPrimitiveProperties(ShapeInfo& shapeInfo,
VrmlShape* shapeNode);
89 std::string getModelFileDirPath(
const std::string& url);
90 void setColdetModelTriangles(
ColdetModelPtr& coldetModel,
const TransformedShapeIndex& tsi,
const Matrix44& Tparent,
int& vertexIndex,
int& triangleIndex);
94 #ifdef OPENHRP_COLLADA_FOUND boost::intrusive_ptr< VrmlTextureTransform > VrmlTextureTransformPtr
Abstract base class of all vrml nodes.
std::map< VrmlShapePtr, int > ShapeNodeToShapeInfoIndexMap
VRML IndexedFaseSet node.
AppearanceInfoSequence originAppearances_
reads in collada files and initializes a BodyInfo struct
PortableServer::POA_var poa
AppearanceInfoSequence appearances_
ShapeNodeToShapeInfoIndexMap shapeInfoIndexMap
MaterialInfoSequence originMaterials_
boost::intrusive_ptr< VrmlTexture > VrmlTexturePtr
TextureInfoSequence textures_
boost::intrusive_ptr< VrmlNode > VrmlNodePtr
ShapeInfoSequence shapes_
MaterialInfoSequence materials_
TriangleMeshShaper triangleMeshShaper
The colladadom reader that fills in the BodyInfoCollada_impl class.
boost::intrusive_ptr< ColdetModel > ColdetModelPtr
std::map< std::string, time_t > fileTimeMap
boost::intrusive_ptr< VrmlMaterial > VrmlMaterialPtr
ShapeInfoSequence originShapes_