Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes
srs_env_model_percp::PlaneExt Class Reference

#include <plane.h>

Inheritance diagram for srs_env_model_percp::PlaneExt:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector
< cob_3d_mapping_msgs::Shape,
Eigen::aligned_allocator
< cob_3d_mapping_msgs::Shape > > 
tShapeMarker
typedef std::vector
< pcl::Vertices
tVertices

Public Member Functions

visualization_msgs::Marker AddPlanePoints (pcl::PointCloud< pcl::PointXYZ >::Ptr plane_cloud, int max_poly_size)
std::list< TPPLPoly > & getMesh ()
visualization_msgs::Marker & getMeshMarker ()
ClipperLib::ExPolygonsgetPolygons ()
tShapeMarkergetShapeMarker ()
visualization_msgs::Marker NewPlanePoints (pcl::PointCloud< pcl::PointXYZ >::Ptr plane_cloud)
 PlaneExt (but_plane_detector::Plane< float > plane)
void setColor (std_msgs::ColorRGBA &new_color)
void setPolygons (ClipperLib::ExPolygons &polys)
void TriangulatePlanePolygon ()

Public Attributes

std_msgs::ColorRGBA color

Protected Member Functions

tVertices ComputeConcaveHull (pcl::PointCloud< pcl::PointXYZ >::Ptr &plane_cloud, pcl::PointCloud< pcl::PointXYZ >::Ptr &plane_hull)
bool ConcaveHullJoinCurrent (pcl::PointCloud< pcl::PointXYZ >::Ptr &plane_hull, tVertices &polygon_indices, int max_poly_size)
void ConcaveHullRewrite (pcl::PointCloud< pcl::PointXYZ >::Ptr &plane_hull, tVertices &polygon_indices)
ClipperLib::ExPolygons PolygonizeConcaveHull (pcl::PointCloud< pcl::PointXYZ >::Ptr &plane_hull, tVertices &polygon_indices)

Protected Attributes

pcl::ModelCoefficients::Ptr planeCoefficients
ClipperLib::ExPolygons planePolygonsClipper
double planeShift
Eigen::Affine3f planeTransXY
visualization_msgs::Marker planeTriangles
tShapeMarker planeTrianglesSRS
Eigen::Quaternion< float > rotationQuaternion

Static Protected Attributes

static const int MAX_POLYS = 1000

Detailed Description

Definition at line 48 of file plane.h.


Member Typedef Documentation

Definition at line 51 of file plane.h.

Definition at line 54 of file plane.h.


Constructor & Destructor Documentation

Creates an instance of this type... Must be on the basis of existing plane

Definition at line 5 of file plane.cpp.


Member Function Documentation

visualization_msgs::Marker srs_env_model_percp::PlaneExt::AddPlanePoints ( pcl::PointCloud< pcl::PointXYZ >::Ptr  plane_cloud,
int  max_poly_size 
)

Update marker and polygonized hull

Definition at line 253 of file plane.cpp.

PlaneExt::tVertices srs_env_model_percp::PlaneExt::ComputeConcaveHull ( pcl::PointCloud< pcl::PointXYZ >::Ptr &  plane_cloud,
pcl::PointCloud< pcl::PointXYZ >::Ptr &  plane_hull 
) [protected]

Definition at line 35 of file plane.cpp.

bool srs_env_model_percp::PlaneExt::ConcaveHullJoinCurrent ( pcl::PointCloud< pcl::PointXYZ >::Ptr &  plane_hull,
tVertices polygon_indices,
int  max_poly_size 
) [protected]

Definition at line 100 of file plane.cpp.

void srs_env_model_percp::PlaneExt::ConcaveHullRewrite ( pcl::PointCloud< pcl::PointXYZ >::Ptr &  plane_hull,
tVertices polygon_indices 
) [protected]

Definition at line 94 of file plane.cpp.

Get Mesh structure

visualization_msgs::Marker & srs_env_model_percp::PlaneExt::getMeshMarker ( )

Get MarkerArray message

Definition at line 271 of file plane.cpp.

Get polygon

Definition at line 290 of file plane.cpp.

Get Shape messages

Definition at line 276 of file plane.cpp.

visualization_msgs::Marker srs_env_model_percp::PlaneExt::NewPlanePoints ( pcl::PointCloud< pcl::PointXYZ >::Ptr  plane_cloud)

Make a new marker and polygonized hull

Definition at line 238 of file plane.cpp.

ClipperLib::ExPolygons srs_env_model_percp::PlaneExt::PolygonizeConcaveHull ( pcl::PointCloud< pcl::PointXYZ >::Ptr &  plane_hull,
tVertices polygon_indices 
) [protected]

Definition at line 60 of file plane.cpp.

void srs_env_model_percp::PlaneExt::setColor ( std_msgs::ColorRGBA &  new_color)

Definition at line 281 of file plane.cpp.

Definition at line 295 of file plane.cpp.

Definition at line 161 of file plane.cpp.


Member Data Documentation

Definition at line 99 of file plane.h.

const int srs_env_model_percp::PlaneExt::MAX_POLYS = 1000 [static, protected]

Definition at line 122 of file plane.h.

Definition at line 115 of file plane.h.

Definition at line 117 of file plane.h.

Definition at line 114 of file plane.h.

Eigen::Affine3f srs_env_model_percp::PlaneExt::planeTransXY [protected]

Definition at line 113 of file plane.h.

visualization_msgs::Marker srs_env_model_percp::PlaneExt::planeTriangles [protected]

Definition at line 118 of file plane.h.

Definition at line 119 of file plane.h.

Eigen::Quaternion<float> srs_env_model_percp::PlaneExt::rotationQuaternion [protected]

Definition at line 120 of file plane.h.


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


srs_env_model_percp
Author(s): Rostislav Hulik (ihulik@fit.vutbr.cz), Tomas Hodan, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:51:57