DART  6.10.1
dart::gui::osg::render::PyramidShapeDrawable Class Reference
Inheritance diagram for dart::gui::osg::render::PyramidShapeDrawable:

Public Member Functions

 PyramidShapeDrawable (dart::dynamics::PyramidShape *shape, dart::dynamics::VisualAspect *visualAspect)
 
void refresh (bool firstTime)
 

Protected Member Functions

virtual ~PyramidShapeDrawable ()
 

Protected Attributes

dart::dynamics::PyramidShapemPyramidShape
 
dart::dynamics::VisualAspectmVisualAspect
 
::osg::ref_ptr<::osg::Vec3Array > mVertices
 
::osg::ref_ptr<::osg::Vec3Array > mNormals
 
::osg::ref_ptr<::osg::Vec4Array > mColors
 
std::array<::osg::ref_ptr<::osg::DrawElementsUInt >, 6 > mElements
 

Constructor & Destructor Documentation

◆ PyramidShapeDrawable()

dart::gui::osg::render::PyramidShapeDrawable::PyramidShapeDrawable ( dart::dynamics::PyramidShape shape,
dart::dynamics::VisualAspect visualAspect 
)

◆ ~PyramidShapeDrawable()

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

Member Function Documentation

◆ refresh()

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

Member Data Documentation

◆ mColors

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

◆ mElements

std::array<::osg::ref_ptr<::osg::DrawElementsUInt>, 6> dart::gui::osg::render::PyramidShapeDrawable::mElements
protected

◆ mNormals

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

◆ mPyramidShape

dart::dynamics::PyramidShape* dart::gui::osg::render::PyramidShapeDrawable::mPyramidShape
protected

◆ mVertices

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

◆ mVisualAspect

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