DART
6.10.1
|
#include <HeightmapShapeNode.hpp>
Public Types | |
using | Vector3 = Eigen::Matrix< S, 3, 1 > |
using | osgVec3 = typename std::conditional< std::is_same< S, float >::value, ::osg::Vec3f, ::osg::Vec3d >::type |
using | Vec3Array = typename std::conditional< std::is_same< S, float >::value, ::osg::Vec3Array, ::osg::Vec3dArray >::type |
using | Vec4Array = typename std::conditional< std::is_same< S, float >::value, ::osg::Vec4Array, ::osg::Vec4dArray >::type |
Public Member Functions | |
HeightmapShapeDrawable (dynamics::HeightmapShape< S > *shape, dynamics::VisualAspect *visualAspect, HeightmapShapeGeode< S > *parent) | |
void | refresh (bool firstTime) |
Protected Member Functions | |
~HeightmapShapeDrawable () override=default | |
Protected Attributes | |
dynamics::HeightmapShape< S > * | mHeightmapShape |
dynamics::VisualAspect * | mVisualAspect |
HeightmapShapeGeode< S > * | mParent |
Private Attributes | |
::osg::ref_ptr< Vec3Array > | mVertices |
::osg::ref_ptr<::osg::DrawElementsUInt > | mElements |
::osg::ref_ptr< Vec3Array > | mNormals |
::osg::ref_ptr<::osg::Vec4Array > | mColors |
using dart::gui::osg::render::HeightmapShapeDrawable< S >::osgVec3 = typename std::conditional< std::is_same<S, float>::value, ::osg::Vec3f, ::osg::Vec3d>::type |
using dart::gui::osg::render::HeightmapShapeDrawable< S >::Vec3Array = typename std::conditional< std::is_same<S, float>::value, ::osg::Vec3Array, ::osg::Vec3dArray>::type |
using dart::gui::osg::render::HeightmapShapeDrawable< S >::Vec4Array = typename std::conditional< std::is_same<S, float>::value, ::osg::Vec4Array, ::osg::Vec4dArray>::type |
using dart::gui::osg::render::HeightmapShapeDrawable< S >::Vector3 = Eigen::Matrix<S, 3, 1> |
dart::gui::osg::render::HeightmapShapeDrawable< S >::HeightmapShapeDrawable | ( | dynamics::HeightmapShape< S > * | shape, |
dynamics::VisualAspect * | visualAspect, | ||
HeightmapShapeGeode< S > * | parent | ||
) |
|
overrideprotecteddefault |
void dart::gui::osg::render::HeightmapShapeDrawable< S >::refresh | ( | bool | firstTime | ) |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
private |
|
protected |