Public Member Functions | Protected Member Functions | Private Attributes
srs_interaction_primitives::PlanePolygon Class Reference

#include <plane_polygon.h>

Inheritance diagram for srs_interaction_primitives::PlanePolygon:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

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.

Author:
Tomas Lokaj
See also:
http://ros.org/wiki/srs_env_model#PlanePolygon

Definition at line 47 of file plane_polygon.h.


Constructor & Destructor Documentation

srs_interaction_primitives::PlanePolygon::PlanePolygon ( InteractiveMarkerServerPtr  server,
std::string  frame_id,
std::string  name 
)

Constructor.

Parameters:
serveris Interactive marker server
frame_idis fixed frame
nameis name of this object

Definition at line 40 of file plane_polygon.cpp.


Member Function Documentation

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.

Gets plane's normal.

Returns:
plane's normal

Definition at line 63 of file plane_polygon.h.

void srs_interaction_primitives::PlanePolygon::setNormal ( Ogre::Vector3  normal) [inline]

Sets plane's normal.

Parameters:
normalis 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.

Parameters:
normalis 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.

Parameters:
polygonis PlanePolygon's polygon

Definition at line 90 of file plane_polygon.h.


Member Data Documentation

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.


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


srs_interaction_primitives
Author(s): Tomas Lokaj, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Mon Oct 6 2014 07:55:11