33 #ifndef DART_GUI_OSG_RENDER_MESHSHAPENODE_HPP_
34 #define DART_GUI_OSG_RENDER_MESHSHAPENODE_HPP_
38 #include <osg/MatrixTransform>
39 #include <osg/Material>
57 class MeshShapeGeometry;
63 MeshShapeNode(std::shared_ptr<dart::dynamics::MeshShape> shape,
78 std::vector< ::osg::ref_ptr<::osg::Material> >
mMaterials;
std::size_t index
Definition: SkelParser.cpp:1617
Definition: ShapeFrameNode.hpp:58
Definition: MeshShapeNode.hpp:60
MeshShapeNode(std::shared_ptr< dart::dynamics::MeshShape > shape, ShapeFrameNode *parentNode)
Definition: MeshShapeNode.cpp:176
osgAiNode * mRootAiNode
Definition: MeshShapeNode.hpp:77
void extractData(bool firstTime)
Definition: MeshShapeNode.cpp:215
std::shared_ptr< dart::dynamics::MeshShape > mMeshShape
Definition: MeshShapeNode.hpp:76
std::vector< std::string > getTextureImagePaths(std::size_t index) const
Definition: MeshShapeNode.cpp:375
void refresh()
Update all rendering data for this ShapeNode.
Definition: MeshShapeNode.cpp:187
std::vector< ::osg::ref_ptr<::osg::Material > > mMaterials
Definition: MeshShapeNode.hpp:78
::osg::Material * getMaterial(std::size_t index) const
Definition: MeshShapeNode.cpp:355
virtual ~MeshShapeNode()
Definition: MeshShapeNode.cpp:404
std::vector< std::vector< std::string > > mTextureImageArrays
Definition: MeshShapeNode.hpp:79
Definition: ShapeNode.hpp:59
Definition: MeshShapeNode.cpp:91
Definition: BulletCollisionDetector.cpp:63