Classes | Typedefs | Enumerations | Functions

pcl::visualization Namespace Reference

Classes

class  CloudViewer
 Simple point cloud visualization class. More...
class  CloudActor
class  Camera
 Camera class holds a set of camera parameters together with the window pos/size. More...
class  FPSCallback
class  RenWinInteract
class  PCLHistogramVisualizer
 PCL histogram visualizer main class. More...
class  PCLVisualizerInteractor
 The PCLVisualizer interactor. More...
class  PCLVisualizerInteractorStyle
 PCL Visualizer interactory style class. More...
class  PCLHistogramVisualizerInteractorStyle
 PCL histogram visualizer interactory style class. More...
class  PCLVisualizer
 PCL Visualizer main class. More...
class  PointCloudGeometryHandler
 Base handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerXYZ
 XYZ handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerSurfaceNormal
 Surface normal handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerCustom
 Custom handler class for PointCloud geometry. More...
class  PointCloudGeometryHandler< sensor_msgs::PointCloud2 >
 Base handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >
 XYZ handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerSurfaceNormal< sensor_msgs::PointCloud2 >
 Surface normal handler class for PointCloud geometry. More...
class  PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >
 Custom handler class for PointCloud geometry. More...
class  PointCloudColorHandler
 Base Handler class for PointCloud colors. More...
class  PointCloudColorHandlerRandom
 Handler for random PointCloud colors. More...
class  PointCloudColorHandlerCustom
 Handler for predefined user colors. More...
class  PointCloudColorHandlerRGBField
 RGB handler class for colors. More...
class  PointCloudColorHandlerGenericField
 Generic field handler class for colors. More...
class  PointCloudColorHandler< sensor_msgs::PointCloud2 >
 Base Handler class for PointCloud colors. More...
class  PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >
 Handler for random PointCloud colors. More...
class  PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >
 Handler for predefined user colors. More...
class  PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >
 RGB handler class for colors. More...
class  PointCloudColorHandlerGenericField< sensor_msgs::PointCloud2 >
 Generic field handler class for colors. More...

Typedefs

typedef std::map< std::string,
CloudActor
CloudActorMap
typedef std::map< std::string,
vtkSmartPointer< vtkProp > > 
ShapeActorMap
typedef std::map< std::string,
RenWinInteract
RenWinInteractMap

Enumerations

enum  RenderingProperties {
  PCL_VISUALIZER_POINT_SIZE, PCL_VISUALIZER_OPACITY, PCL_VISUALIZER_LINE_WIDTH, PCL_VISUALIZER_FONT_SIZE,
  PCL_VISUALIZER_COLOR
}

Functions

PCL_EXPORTS void getRandomColors (double &r, double &g, double &b, double min=0.2, double max=2.8)
 Get (good) random values for R/G/B.
void getCorrespondingPointCloud (vtkPolyData *src, const pcl::PointCloud< pcl::PointXYZ > &tgt, std::vector< int > &indices)
 Obtain a list of corresponding indices, for a set of vtk points, from a pcl::PointCloud.
bool savePointData (vtkPolyData *data, const std::string &out_file, const boost::shared_ptr< CloudActorMap > &actors)
 Saves the vtk-formatted Point Cloud data into a set of files, based on whether the data comes from previously loaded PCD files.
template<typename PointT >
vtkSmartPointer< vtkDataSet > createPolygon (const typename pcl::PointCloud< PointT >::ConstPtr &cloud)
 Create a 3d poly line from a set of points.
template<typename P1 , typename P2 >
vtkSmartPointer< vtkDataSet > createLine (const P1 &pt1, const P2 &pt2)
 Create a line shape from two points.
template<typename PointT >
vtkSmartPointer< vtkDataSet > createSphere (const PointT &center, double radius, int res=10)
 Create a sphere shape from a point and a radius.
vtkSmartPointer< vtkDataSet > createCylinder (const pcl::ModelCoefficients &coefficients, int numsides=30)
 Create a cylinder shape from a set of model coefficients.
vtkSmartPointer< vtkDataSet > createSphere (const pcl::ModelCoefficients &coefficients, int res=10)
 Create a sphere shape from a set of model coefficients.
vtkSmartPointer< vtkDataSet > createLine (const pcl::ModelCoefficients &coefficients)
 Create a line shape from a set of model coefficients.
vtkSmartPointer< vtkDataSet > createPlane (const pcl::ModelCoefficients &coefficients)
 Create a planar shape from a set of model coefficients.
vtkSmartPointer< vtkDataSet > create2DCircle (const pcl::ModelCoefficients &coefficients, double z=0.0)
 Create a 2d circle shape from a set of model coefficients.
vtkSmartPointer< vtkDataSet > createCone (const pcl::ModelCoefficients &coefficients)
 Create a cone shape from a set of model coefficients.

Typedef Documentation

typedef std::map<std::string, CloudActor> pcl::visualization::CloudActorMap

Definition at line 75 of file actor_map.h.

typedef std::map<std::string, RenWinInteract> pcl::visualization::RenWinInteractMap

Definition at line 76 of file ren_win_interact_map.h.

typedef std::map<std::string, vtkSmartPointer<vtkProp> > pcl::visualization::ShapeActorMap

Definition at line 77 of file actor_map.h.


Enumeration Type Documentation

Enumerator:
PCL_VISUALIZER_POINT_SIZE 
PCL_VISUALIZER_OPACITY 
PCL_VISUALIZER_LINE_WIDTH 
PCL_VISUALIZER_FONT_SIZE 
PCL_VISUALIZER_COLOR 

Definition at line 58 of file common.h.


Function Documentation

PCL_EXPORTS void pcl::visualization::getRandomColors ( double &  r,
double &  g,
double &  b,
double  min = 0.2,
double  max = 2.8 
)

Get (good) random values for R/G/B.

Parameters:
r the resultant R color value
g the resultant G color value
b the resultant B color value
min minimum value for the colors
max maximum value for the colors