#include <plane_polygon.h>
Public Member Functions | |
Ogre::Vector3 | getNormal () |
Gets plane's normal. | |
PlanePolygon (InteractiveMarkerServerPtr server, std::string frame_id, std::string name) | |
Constructor. | |
void | setNormal (Ogre::Vector3 normal) |
Sets plane's normal. | |
void | setNormal (geometry_msgs::Vector3 normal) |
Sets plane's normal. | |
void | setPolygon (geometry_msgs::Polygon polygon) |
Sets PlanePolygon's polygon. | |
Protected Member Functions | |
void | create () |
Create Object. | |
Private Attributes | |
Ogre::Vector3 | normal_ |
geometry_msgs::Polygon | polygon_ |
visualization_msgs::Marker | polygon_mesh_ |
This class represents a Plane Polygon primitive.
It's a variation of the Plane, which is defined with planar polygon. It's shown as transparent plane and polygon inside it.
Definition at line 47 of file plane_polygon.h.
srs_interaction_primitives::PlanePolygon::PlanePolygon | ( | InteractiveMarkerServerPtr | server, |
std::string | frame_id, | ||
std::string | name | ||
) |
Constructor.
server | is Interactive marker server |
frame_id | is fixed frame |
name | is name of this object |
Definition at line 40 of file plane_polygon.cpp.
void srs_interaction_primitives::PlanePolygon::create | ( | ) | [protected, virtual] |
Create Object.
Reimplemented from srs_interaction_primitives::Plane.
Definition at line 46 of file plane_polygon.cpp.
Ogre::Vector3 srs_interaction_primitives::PlanePolygon::getNormal | ( | ) | [inline] |
void srs_interaction_primitives::PlanePolygon::setNormal | ( | Ogre::Vector3 | normal | ) | [inline] |
Sets plane's normal.
normal | is plane's normal |
Definition at line 72 of file plane_polygon.h.
void srs_interaction_primitives::PlanePolygon::setNormal | ( | geometry_msgs::Vector3 | normal | ) | [inline] |
Sets plane's normal.
normal | is plane's normal |
Definition at line 81 of file plane_polygon.h.
void srs_interaction_primitives::PlanePolygon::setPolygon | ( | geometry_msgs::Polygon | polygon | ) | [inline] |
Sets PlanePolygon's polygon.
polygon | is PlanePolygon's polygon |
Definition at line 90 of file plane_polygon.h.
Ogre::Vector3 srs_interaction_primitives::PlanePolygon::normal_ [private] |
Definition at line 100 of file plane_polygon.h.
geometry_msgs::Polygon srs_interaction_primitives::PlanePolygon::polygon_ [private] |
Definition at line 101 of file plane_polygon.h.
visualization_msgs::Marker srs_interaction_primitives::PlanePolygon::polygon_mesh_ [private] |
Definition at line 102 of file plane_polygon.h.