Public Member Functions
PlaneShape Class Reference

Collision for an infinite plane. More...

#include <PlaneShape.hh>

Inheritance diagram for PlaneShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PlaneShape (CollisionPtr parent)
 Constructor.
virtual ~PlaneShape ()
 Destructor.
virtual void Load (sdf::ElementPtr &_sdf)
 Load the plane.
virtual void Init ()
 Initialize the plane.
virtual void CreatePlane ()
 Create the plane.
virtual void SetAltitude (const math::Vector3 &pos)
 Set the altitude of the plane.
void SetNormal (const math::Vector3 &norm)
 Set the normal.
math::Vector3 GetNormal () const
void FillShapeMsg (msgs::Geometry &_msg)
virtual void ProcessMsg (const msgs::Geometry &_msg)

Detailed Description

Collision for an infinite plane.

This collision is used primarily for ground planes. Note that while the plane in infinite, only the part near the camera is drawn.


Constructor & Destructor Documentation

PlaneShape ( CollisionPtr  parent)

Constructor.

Parameters:
bodyLink to which we are attached.

The documentation for this class was generated from the following file: