Point Cloud Library (PCL)
1.11.1-dev
|
40 #include <pcl/visualization/point_cloud_handlers.h>
41 #include <pcl/PCLPointCloud2.h>
43 #include <vtkLODActor.h>
44 #include <vtkSmartPointer.h>
46 #include <unordered_map>
55 namespace visualization
68 CloudActor () : color_handler_index_ (0), geometry_handler_index_ (0) {}
72 geometry_handlers.clear ();
73 color_handlers.clear ();
101 using ShapeActorMap = std::unordered_map<std::string, vtkSmartPointer<vtkProp> >;
Base Handler class for PointCloud colors.
shared_ptr< ShapeActorMap > ShapeActorMapPtr
vtkSmartPointer< vtkIdTypeArray > cells
Internal cell array.
int color_handler_index_
The active color handler.
std::unordered_map< std::string, CloudActor > CloudActorMap
shared_ptr< PointCloudColorHandler< PointCloud > > Ptr
int geometry_handler_index_
The active geometry handler.
shared_ptr< CloudActorMap > CloudActorMapPtr
shared_ptr< const PointCloudColorHandler< PointCloud > > ConstPtr
Base handler class for PointCloud geometry.
std::unordered_map< std::string, vtkSmartPointer< vtkProp > > CoordinateActorMap
vtkSmartPointer< vtkMatrix4x4 > viewpoint_transformation_
The viewpoint transformation matrix.
shared_ptr< PointCloudGeometryHandler< PointCloud > > Ptr
std::unordered_map< std::string, vtkSmartPointer< vtkProp > > ShapeActorMap
shared_ptr< const PointCloudGeometryHandler< PointCloud > > ConstPtr
std::vector< GeometryHandlerConstPtr > geometry_handlers
A vector of geometry handlers that can be used for rendering the data.
std::vector< ColorHandlerConstPtr > color_handlers
A vector of color handlers that can be used for rendering the data.
shared_ptr< CoordinateActorMap > CoordinateActorMapPtr
vtkSmartPointer< vtkLODActor > actor
The actor holding the data to render.