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

Public Member Functions

 LineSegmentShapeDrawable (dart::dynamics::LineSegmentShape *shape, dart::dynamics::VisualAspect *visualAspect)
 
void refresh (bool firstTime)
 

Protected Member Functions

virtual ~LineSegmentShapeDrawable ()
 

Protected Attributes

dart::dynamics::LineSegmentShapemLineSegmentShape
 
dart::dynamics::VisualAspectmVisualAspect
 
::osg::ref_ptr<::osg::Vec3Array > mVertices
 
::osg::ref_ptr<::osg::Vec4Array > mColors
 
::osg::ref_ptr<::osg::DrawElementsUInt > mElements
 

Constructor & Destructor Documentation

◆ LineSegmentShapeDrawable()

dart::gui::osg::render::LineSegmentShapeDrawable::LineSegmentShapeDrawable ( dart::dynamics::LineSegmentShape shape,
dart::dynamics::VisualAspect visualAspect 
)

◆ ~LineSegmentShapeDrawable()

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

Member Function Documentation

◆ refresh()

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

Member Data Documentation

◆ mColors

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

◆ mElements

::osg::ref_ptr<::osg::DrawElementsUInt> dart::gui::osg::render::LineSegmentShapeDrawable::mElements
protected

◆ mLineSegmentShape

dart::dynamics::LineSegmentShape* dart::gui::osg::render::LineSegmentShapeDrawable::mLineSegmentShape
protected

◆ mVertices

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

◆ mVisualAspect

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