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

Member Typedef Documentation

Definition at line 558 of file CloudViewer.cpp.

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

Definition at line 552 of file CloudViewer.cpp.

Definition at line 554 of file CloudViewer.cpp.

Definition at line 553 of file CloudViewer.cpp.

Definition at line 557 of file CloudViewer.cpp.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 561 of file CloudViewer.cpp.

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

Empty destructor.

Definition at line 574 of file CloudViewer.cpp.

Member Function Documentation

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

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

Get the name of the field used.

Definition at line 690 of file CloudViewer.cpp.

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

Get the name of the class.

Definition at line 686 of file CloudViewer.cpp.

Member Data Documentation

int rtabmap::PointCloudColorHandlerIntensityField::colormap_
private

Definition at line 694 of file CloudViewer.cpp.

float rtabmap::PointCloudColorHandlerIntensityField::maxAbsIntensity_
private

Definition at line 693 of file CloudViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09