Go to the documentation of this file.
18 #ifndef _GAZEBO_DARTHEIGHTMAPSHAPE_HH_
19 #define _GAZEBO_DARTHEIGHTMAPSHAPE_HH_
33 template<
typename HeightType>
50 public:
virtual void Init();
53 public:
virtual void SetScale(
const ignition::math::Vector3d &_scale);
61 private:
using Vector3 =
62 Eigen::Matrix<HeightmapShape::HeightType, 3, 1>;
virtual void Init()
Initialize the heightmap.
Forward declarations for the common classes.
Definition: Animation.hh:26
DART Height map collision.
Definition: DARTHeightmapShape.hh:40
virtual ~DARTHeightmapShape()
Destructor.
HeightmapShape collision shape builds a heightmap from an image. The supplied image must be square wi...
Definition: HeightmapShape.hh:45
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
DARTHeightmapShape(DARTCollisionPtr _parent)
Constructor.
Forward declare private data class.
Definition: DARTHeightmapShape.hh:34
boost::shared_ptr< DARTCollision > DARTCollisionPtr
Definition: DARTTypes.hh:49
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set the scale of the heightmap shape.