DART  6.10.1
HeightmapShapeNode.hpp File Reference
#include "dart/config.hpp"
#include <osg/CullFace>
#include <osg/Geode>
#include <osg/Geometry>
#include <osg/Light>
#include <osg/Material>
#include <osg/MatrixTransform>
#include <osg/ShapeDrawable>
#include "dart/dynamics/HeightmapShape.hpp"
#include "dart/dynamics/SimpleFrame.hpp"
#include "dart/gui/osg/Utils.hpp"
#include "dart/gui/osg/render/ShapeNode.hpp"

Go to the source code of this file.

Classes

class  dart::gui::osg::render::HeightmapShapeNode< S_ >
 
class  dart::gui::osg::render::HeightmapShapeDrawable< S >
 
class  dart::gui::osg::render::HeightmapShapeGeode< S >
 

Namespaces

 dart
 
 dart::gui
 
 dart::gui::osg
 
 dart::gui::osg::render
 

Functions

template<typename S >
Eigen::Matrix< S, 3, 1 > dart::gui::osg::render::getNormal (const Eigen::Matrix< S, 3, 1 > &p1, const Eigen::Matrix< S, 3, 1 > &p2, const Eigen::Matrix< S, 3, 1 > &p3)
 
inline ::osg::Vec3f dart::gui::osg::render::getNormal (const ::osg::Vec3f &p1, const ::osg::Vec3f &p2, const ::osg::Vec3f &p3)
 
inline ::osg::Vec3d dart::gui::osg::render::getNormal (const ::osg::Vec3d &p1, const ::osg::Vec3d &p2, const ::osg::Vec3d &p3)
 
template<typename S >
void dart::gui::osg::render::setVertices (const typename dynamics::HeightmapShape< S >::HeightField &heightmap, typename HeightmapShapeDrawable< S >::Vec3Array &vertices, ::osg::DrawElementsUInt &faces, typename HeightmapShapeDrawable< S >::Vec3Array &normals, typename HeightmapShapeDrawable< S >::Vector3 scale)