Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
rtabmap::PointCloudColorHandlerIntensityField Class Reference
Inheritance diagram for rtabmap::PointCloudColorHandlerIntensityField:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< const PointCloudColorHandlerIntensityFieldConstPtr
 
typedef boost::shared_ptr< PointCloudColorHandlerIntensityFieldPtr
 

Public Member Functions

virtual bool getColor (vtkSmartPointer< vtkDataArray > &scalars) const
 Obtain the actual color for the input dataset as vtk scalars. More...
 
 PointCloudColorHandlerIntensityField (const PointCloudConstPtr &cloud, float maxAbsIntensity=0.0f, int colorMap=0)
 Constructor. More...
 
virtual ~PointCloudColorHandlerIntensityField ()
 Empty destructor. More...
 

Protected Member Functions

virtual std::string getFieldName () const
 Get the name of the field used. More...
 
virtual std::string getName () const
 Get the name of the class. More...
 

Private Types

typedef pcl::visualization::PointCloudColorHandler< pcl::PCLPointCloud2 >::PointCloud PointCloud
 
typedef PointCloud::ConstPtr PointCloudConstPtr
 
typedef PointCloud::Ptr PointCloudPtr
 

Private Attributes

int colormap_
 
float maxAbsIntensity_
 

Detailed Description

Definition at line 598 of file CloudViewer.cpp.

Member Typedef Documentation

◆ ConstPtr

Definition at line 606 of file CloudViewer.cpp.

◆ PointCloud

typedef pcl::visualization::PointCloudColorHandler<pcl::PCLPointCloud2>::PointCloud rtabmap::PointCloudColorHandlerIntensityField::PointCloud
private

Definition at line 600 of file CloudViewer.cpp.

◆ PointCloudConstPtr

Definition at line 602 of file CloudViewer.cpp.

◆ PointCloudPtr

Definition at line 601 of file CloudViewer.cpp.

◆ Ptr

Definition at line 605 of file CloudViewer.cpp.

Constructor & Destructor Documentation

◆ PointCloudColorHandlerIntensityField()

rtabmap::PointCloudColorHandlerIntensityField::PointCloudColorHandlerIntensityField ( const PointCloudConstPtr cloud,
float  maxAbsIntensity = 0.0f,
int  colorMap = 0 
)
inline

Constructor.

Definition at line 609 of file CloudViewer.cpp.

◆ ~PointCloudColorHandlerIntensityField()

virtual rtabmap::PointCloudColorHandlerIntensityField::~PointCloudColorHandlerIntensityField ( )
inlinevirtual

Empty destructor.

Definition at line 622 of file CloudViewer.cpp.

Member Function Documentation

◆ getColor()

virtual bool rtabmap::PointCloudColorHandlerIntensityField::getColor ( vtkSmartPointer< vtkDataArray > &  scalars) const
inlinevirtual

Obtain the actual color for the input dataset as vtk scalars.

Parameters
[out]scalarsthe output scalars containing the color for the dataset
Returns
true if the operation was successful (the handler is capable and the input cloud was given as a valid pointer), false otherwise

Definition at line 635 of file CloudViewer.cpp.

◆ getFieldName()

virtual std::string rtabmap::PointCloudColorHandlerIntensityField::getFieldName ( ) const
inlineprotectedvirtual

Get the name of the field used.

Definition at line 738 of file CloudViewer.cpp.

◆ getName()

virtual std::string rtabmap::PointCloudColorHandlerIntensityField::getName ( ) const
inlineprotectedvirtual

Get the name of the class.

Definition at line 734 of file CloudViewer.cpp.

Member Data Documentation

◆ colormap_

int rtabmap::PointCloudColorHandlerIntensityField::colormap_
private

Definition at line 742 of file CloudViewer.cpp.

◆ maxAbsIntensity_

float rtabmap::PointCloudColorHandlerIntensityField::maxAbsIntensity_
private

Definition at line 741 of file CloudViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:28