40 #include <pcl/visualization/point_cloud_geometry_handlers.h>
41 #include <pcl/visualization/point_cloud_color_handlers.h>
42 #include <pcl/PCLPointCloud2.h>
44 #include <vtkLODActor.h>
45 #include <vtkSmartPointer.h>
46 #include <vtkIdTypeArray.h>
48 #include <unordered_map>
57 namespace visualization
84 int color_handler_index_{0};
87 int geometry_handler_index_{0};
99 using ShapeActorMap = std::unordered_map<std::string, vtkSmartPointer<vtkProp> >;
vtkSmartPointer< vtkLODActor > actor
The actor holding the data to render.
vtkSmartPointer< vtkIdTypeArray > cells
Internal cell array.
std::vector< ColorHandlerConstPtr > color_handlers
A vector of color handlers that can be used for rendering the data.
virtual ~CloudActor()=default
vtkSmartPointer< vtkMatrix4x4 > viewpoint_transformation_
The viewpoint transformation matrix.
std::vector< GeometryHandlerConstPtr > geometry_handlers
A vector of geometry handlers that can be used for rendering the data.
Base Handler class for PointCloud colors.
shared_ptr< const PointCloudColorHandler< PointCloud > > ConstPtr
shared_ptr< PointCloudColorHandler< PointCloud > > Ptr
Base handler class for PointCloud geometry.
shared_ptr< PointCloudGeometryHandler< PointCloud > > Ptr
shared_ptr< const PointCloudGeometryHandler< PointCloud > > ConstPtr
std::unordered_map< std::string, CloudActor > CloudActorMap
std::unordered_map< std::string, vtkSmartPointer< vtkProp > > ShapeActorMap
shared_ptr< CloudActorMap > CloudActorMapPtr
std::unordered_map< std::string, vtkSmartPointer< vtkProp > > CoordinateActorMap
shared_ptr< ShapeActorMap > ShapeActorMapPtr
shared_ptr< CoordinateActorMap > CoordinateActorMapPtr