DART  6.6.2
dart::gui::osg::render::SoftMeshShapeDrawable Class Reference
Inheritance diagram for dart::gui::osg::render::SoftMeshShapeDrawable:

Public Member Functions

 SoftMeshShapeDrawable (dart::dynamics::SoftMeshShape *shape, dart::dynamics::VisualAspect *visualAspect)
 
void refresh (bool firstTime)
 

Protected Member Functions

virtual ~SoftMeshShapeDrawable ()
 

Protected Attributes

::osg::ref_ptr<::osg::Vec3Array > mVertices
 
::osg::ref_ptr<::osg::Vec3Array > mNormals
 
::osg::ref_ptr<::osg::Vec4Array > mColors
 
std::vector< Eigen::Vector3d > mEigNormals
 
dart::dynamics::SoftMeshShapemSoftMeshShape
 
dart::dynamics::VisualAspectmVisualAspect
 

Constructor & Destructor Documentation

◆ SoftMeshShapeDrawable()

dart::gui::osg::render::SoftMeshShapeDrawable::SoftMeshShapeDrawable ( dart::dynamics::SoftMeshShape shape,
dart::dynamics::VisualAspect visualAspect 
)

◆ ~SoftMeshShapeDrawable()

dart::gui::osg::render::SoftMeshShapeDrawable::~SoftMeshShapeDrawable ( )
protectedvirtual

Member Function Documentation

◆ refresh()

void dart::gui::osg::render::SoftMeshShapeDrawable::refresh ( bool  firstTime)

Member Data Documentation

◆ mColors

::osg::ref_ptr<::osg::Vec4Array> dart::gui::osg::render::SoftMeshShapeDrawable::mColors
protected

◆ mEigNormals

std::vector<Eigen::Vector3d> dart::gui::osg::render::SoftMeshShapeDrawable::mEigNormals
protected

◆ mNormals

::osg::ref_ptr<::osg::Vec3Array> dart::gui::osg::render::SoftMeshShapeDrawable::mNormals
protected

◆ mSoftMeshShape

dart::dynamics::SoftMeshShape* dart::gui::osg::render::SoftMeshShapeDrawable::mSoftMeshShape
protected

◆ mVertices

::osg::ref_ptr<::osg::Vec3Array> dart::gui::osg::render::SoftMeshShapeDrawable::mVertices
protected

◆ mVisualAspect

dart::dynamics::VisualAspect* dart::gui::osg::render::SoftMeshShapeDrawable::mVisualAspect
protected