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

Public Member Functions

void expand ()
 expand count of clouds More...
 
void removeAll ()
 remove all clouds More...
 
void setPolygon (pcl::visualization::PCLVisualizer *viewer, int idx, UPolyItem *pi, bool show, uint32_t color, bool bold, bool dots, const char *id, int viewSys, UPose sysPose)
 
void unPaintAll (pcl::visualization::PCLVisualizer *viewer)
 unpaint all More...
 
 UPaintPolygons ()
 constructor More...
 
 ~UPaintPolygons ()
 destructor More...
 

Public Attributes

UPaintPolygon ** clouds
 valid point clouds More...
 
int cloudsCnt
 number of clouds More...
 
int cloudsMax
 number of clouds More...
 

Constructor & Destructor Documentation

UPaintPolygons::UPaintPolygons ( )
inline

constructor

UPaintPolygons::~UPaintPolygons ( )
inline

destructor

Member Function Documentation

void UPaintPolygons::expand ( )
inline

expand count of clouds

void UPaintPolygons::removeAll ( )
inline

remove all clouds

void UPaintPolygons::setPolygon ( pcl::visualization::PCLVisualizer *  viewer,
int  idx,
UPolyItem pi,
bool  show,
uint32_t  color,
bool  bold,
bool  dots,
const char *  id,
int  viewSys,
UPose  sysPose 
)
inline

Set or update polygon

Parameters
vieweris the viewer
idxis the index number for the polygon (as source data index)
piis pointer to source data
showif false, then polygon is hidden
coloris 3x8bit RGB value
boldif true, then paint with large line width
dotsif true, then also show vertices as dots (point-cloud)
idis the name of the polygon
viewSysis the (new) coordinate system of the viewer
sysPoseis the origin of the source coordinate system, if not the same as the source coordinate system (in pi.cooSys)

References UPaintPolygon::addPolyToViewer(), UPaintBase::bold, UPaintPolygon::cloud, UPaintPolygon::color, UPolyItem::cooSys, UPaintPolygon::dots, UPolygon::getPointsCnt(), UPaintPolygon::id, UPolygon::isPolyline(), UPaintPolygon::isPolyline, UPaintPolygon::isShown, UPaintPolygon::name, UPaintBase::setViewCooSys(), UPaintPolygon::unPaint(), UPolyItem::updateTime, and UPaintPolygon::updateTime.

void UPaintPolygons::unPaintAll ( pcl::visualization::PCLVisualizer *  viewer)
inline

unpaint all

References UPaintPcp::unPaint().

Member Data Documentation

UPaintPolygon** UPaintPolygons::clouds

valid point clouds

int UPaintPolygons::cloudsCnt

number of clouds

int UPaintPolygons::cloudsMax

number of clouds


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