AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UPaintLaserScan Class Reference

Public Member Functions

void addScanToViewer (ULaserDataSet *scan, UPose *viewPoseAtScantime, pcl::visualization::PCLVisualizer *viewer)
 
void makeScanCloud (ULaserDataSet *scan, UPose *viewPoseAtScantime)
 
void setBold (pcl::visualization::PCLVisualizer *viewer, int pointSize)
 
void unPaint (pcl::visualization::PCLVisualizer *viewer)
 
 UPaintLaserScan ()
 
 ~UPaintLaserScan ()
 

Public Attributes

pcl::PointCloud< pcl::PointXYZRGB > * cloud
 point cloud for the scan More...
 
pcl::PointCloud< pcl::PointXYZRGB >::Ptr * cloudPtr
 boost pointer to the cloud More...
 
pcl::visualization::PointCloudColorHandlerRGBField< pcl::PointXYZRGB > * rgbHandler
 scan color handler More...
 
int scannumber
 scannumber for ID More...
 

Constructor & Destructor Documentation

UPaintLaserScan::UPaintLaserScan ( )
inline
UPaintLaserScan::~UPaintLaserScan ( )
inline

Member Function Documentation

void UPaintLaserScan::addScanToViewer ( ULaserDataSet scan,
UPose viewPoseAtScantime,
pcl::visualization::PCLVisualizer *  viewer 
)
inline

add cloud to the viewer - removing the older

Parameters
scanis scan to convert, if NULL, then old scan is removed from viewer.
viewPoseAtScantimeis the pose in the viewer coordinate system when then scan was valid
vieweris the 3D viewer

References UPaintPcp::cloudPtr, UPaintPcp::rgbHandler, and UPaintPcp::unPaint().

Referenced by UPaintLaserScans::addScan().

void UPaintLaserScan::makeScanCloud ( ULaserDataSet scan,
UPose viewPoseAtScantime 
)
inline
void UPaintLaserScan::setBold ( pcl::visualization::PCLVisualizer *  viewer,
int  pointSize 
)
inline

Remove point cloud from viewer

Referenced by UPaintLaserScans::addScan(), and UPaintLaserScans::ageNewestScan().

void UPaintLaserScan::unPaint ( pcl::visualization::PCLVisualizer *  viewer)
inline

Remove point cloud from viewer

Referenced by UPaintLaserScans::remove().

Member Data Documentation

pcl::PointCloud<pcl::PointXYZRGB>* UPaintLaserScan::cloud

point cloud for the scan

pcl::PointCloud<pcl::PointXYZRGB>::Ptr* UPaintLaserScan::cloudPtr

boost pointer to the cloud

pcl::visualization::PointCloudColorHandlerRGBField<pcl::PointXYZRGB>* UPaintLaserScan::rgbHandler

scan color handler

int UPaintLaserScan::scannumber

scannumber for ID

Referenced by UPaintLaserScans::getNewestSerial().


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