AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UPaintPolygon Class Reference
Inheritance diagram for UPaintPolygon:
Inheritance graph

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...
 
UPolyItempolyData
 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
 

Constructor & Destructor Documentation

UPaintPolygon::UPaintPolygon ( )
inline
UPaintPolygon::~UPaintPolygon ( )
inline

References UPaintPcp::cloud.

Member Function Documentation

void UPaintPolygon::addPolyToViewer ( UPolyItem poly,
pcl::visualization::PCLVisualizer *  viewer 
)
inline
void UPaintPolygon::makePolyCloud ( )
inline
void UPaintPolygon::unPaint ( pcl::visualization::PCLVisualizer *  viewer)
inlinevirtual

Remove point cloud from viewer

Reimplemented from UPaintBase.

References UPolygon::getPointsCnt(), UPolygon::isPolygon(), and UPolygon::isPolyline().

Referenced by UPaintPolygons::setPolygon().

Member Data Documentation

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().


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