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 587 of file CloudViewer.cpp.

Member Typedef Documentation

◆ ConstPtr

Definition at line 595 of file CloudViewer.cpp.

◆ PointCloud

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

Definition at line 589 of file CloudViewer.cpp.

◆ PointCloudConstPtr

Definition at line 591 of file CloudViewer.cpp.

◆ PointCloudPtr

Definition at line 590 of file CloudViewer.cpp.

◆ Ptr

Definition at line 594 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 598 of file CloudViewer.cpp.

◆ ~PointCloudColorHandlerIntensityField()

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

Empty destructor.

Definition at line 611 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 624 of file CloudViewer.cpp.

◆ getFieldName()

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

Get the name of the field used.

Definition at line 727 of file CloudViewer.cpp.

◆ getName()

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

Get the name of the class.

Definition at line 723 of file CloudViewer.cpp.

Member Data Documentation

◆ colormap_

int rtabmap::PointCloudColorHandlerIntensityField::colormap_
private

Definition at line 731 of file CloudViewer.cpp.

◆ maxAbsIntensity_

float rtabmap::PointCloudColorHandlerIntensityField::maxAbsIntensity_
private

Definition at line 730 of file CloudViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00