AURobotServers
4
|
Public Member Functions | |
void | addPolyToViewer (UPolyItem *poly, pcl::visualization::PCLVisualizer *viewer) |
void | makePolyCloud () |
void | unPaint (pcl::visualization::PCLVisualizer *viewer) |
UPaintPolygon () | |
~UPaintPolygon () | |
Public Member Functions inherited from UPaintBase | |
void | addBox (UPose *currentPose, pcl::visualization::PCLVisualizer *viewer, pcl::ModelCoefficients *params, double x, double y, double z, const char *id, const double color[3]) |
void | addCircleCloud (UPose *currentPose, pcl::visualization::PCLVisualizer *viewer, pcl::PointCloud< pcl::PointXYZ >::Ptr *cloud, double x, double y, double h, double radius, const char *ID) |
void | addCylinder (UPose *currentPose, pcl::visualization::PCLVisualizer *viewer, pcl::ModelCoefficients *params, double x1, double y1, double z1, double x2, double y2, double z2, double radius, const char *id, const double color[3]) |
void | addWheel (UPose *currentPose, pcl::visualization::PCLVisualizer *viewer, pcl::ModelCoefficients *params, double x, double y, double h, double radius, double width, const char *id) |
const int | getCooSysView () |
pcl::PointXYZ | getInViewedCoordinates (UPose *local, int cooSysLocal, double z) |
bool | isA (const char *testName) |
void | makeCircleCloud (pcl::PointCloud< pcl::PointXYZ > *cloud, UMatrix4 *pose, double radius) |
virtual const char * | name () |
virtual void | paint (UPose *currentPose, pcl::visualization::PCLVisualizer *viewer) |
virtual void | setViewCooSys (int refSystem, UPose origin) |
virtual void | unPaint (pcl::visualization::PCLVisualizer *viewer, int viewMaxHist) |
UPaintBase () | |
Public Attributes | |
pcl::PointCloud< pcl::PointXYZ > * | cloud |
point cloud for the polygon More... | |
pcl::PointCloud< pcl::PointXYZ >::Ptr * | cloudPtr |
boost pointer to the cloud More... | |
uint32_t | color |
color of the cloud More... | |
bool | dots |
paint also dots at vertex More... | |
int | id |
id of the polyline More... | |
bool | isPolyline |
is it a polygon or a polyline More... | |
bool | isShown |
is polygon shown More... | |
const char * | name |
name More... | |
UPolyItem * | polyData |
poly item More... | |
UTime | updateTime |
update time More... | |
Public Attributes inherited from UPaintBase | |
bool | bold |
int | maxHist |
Additional Inherited Members | |
Protected Attributes inherited from UPaintBase | |
int | cooSysSource |
int | cooSysView |
UPose | cooSysViewOrigin |
|
inline |
|
inline |
References UPaintPcp::cloud.
|
inline |
add cloud to the viewer - removing the older
poly | is polygon to view. |
viewer | is the 3D viewer |
References UPaintBase::bold, UPaintPcp::cloudPtr, UPolyItem::cooSys, UPaintBase::cooSysView, UPaintBase::cooSysViewOrigin, UPolygon::getCogXY(), UPolygon::getPoints(), UPolygon::getPointsCnt(), UPose::getPoseToMap(), UPolygon::isPolygon(), UPolygon::isPolyline(), UPaintPcp::name(), UPosition::x, UPosition::y, and UPosition::z.
Referenced by UPaintPolygons::setPolygon().
|
inline |
Paint this scan into a pointcloud
References UPolyItem::cooSys, UPaintBase::cooSysView, UPaintBase::cooSysViewOrigin, UPosition::dist(), UPolygon::getPoints(), UPolygon::getPointsCnt(), UPose::getPoseToMap(), UPosition::x, UPose::x, UPosition::y, UPose::y, and UPosition::z.
|
inlinevirtual |
Remove point cloud from viewer
Reimplemented from UPaintBase.
References UPolygon::getPointsCnt(), UPolygon::isPolygon(), and UPolygon::isPolyline().
Referenced by UPaintPolygons::setPolygon().
pcl::PointCloud<pcl::PointXYZ>* UPaintPolygon::cloud |
point cloud for the polygon
Referenced by UPaintPolygons::setPolygon().
pcl::PointCloud<pcl::PointXYZ>::Ptr* UPaintPolygon::cloudPtr |
boost pointer to the cloud
uint32_t UPaintPolygon::color |
color of the cloud
Referenced by UPaintPolygons::setPolygon().
bool UPaintPolygon::dots |
paint also dots at vertex
Referenced by UPaintPolygons::setPolygon().
int UPaintPolygon::id |
id of the polyline
Referenced by UPaintPolygons::setPolygon().
bool UPaintPolygon::isPolyline |
is it a polygon or a polyline
Referenced by UPaintPolygons::setPolygon().
bool UPaintPolygon::isShown |
is polygon shown
Referenced by UPaintPolygons::setPolygon().
const char* UPaintPolygon::name |
name
Referenced by UPaintPolygons::setPolygon().
UPolyItem* UPaintPolygon::polyData |
poly item
UTime UPaintPolygon::updateTime |
update time
Referenced by UPaintPolygons::setPolygon().