ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PclUtils::context_items::Polygon Struct Reference

#include <CustomContextItem.h>

Inheritance diagram for PclUtils::context_items::Polygon:
Collaboration diagram for PclUtils::context_items::Polygon:

Public Member Functions

 vtkTypeMacro (Polygon, Points) static Polygon *New()
 
virtual bool Paint (vtkContext2D *painter) override
 
- Public Member Functions inherited from PclUtils::context_items::Points
 vtkTypeMacro (Points, PCLContextItem) static Points *New()
 
void set (const std::vector< float > &_xy)
 
- Public Member Functions inherited from pcl::visualization::PCLContextItem
 vtkTypeMacro (PCLContextItem, vtkContextItem)
 
bool Paint (vtkContext2D *) override
 
void setColors (unsigned char r, unsigned char g, unsigned char b)
 
void setColors (unsigned char rgb[3])
 
void setOpacity (double opacity)
 

Additional Inherited Members

- Static Public Member Functions inherited from pcl::visualization::PCLContextItem
static PCLContextItemNew ()
 
- Public Attributes inherited from pcl::visualization::PCLContextItem
unsigned char colors [3]
 
std::vector< floatparams
 

Detailed Description

Definition at line 62 of file CustomContextItem.h.

Member Function Documentation

◆ Paint()

bool PclUtils::context_items::Polygon::Paint ( vtkContext2D *  painter)
overridevirtual

Reimplemented from PclUtils::context_items::Points.

Definition at line 141 of file CustomContextItem.cpp.

References colors.

◆ vtkTypeMacro()

PclUtils::context_items::Polygon::vtkTypeMacro ( Polygon  ,
Points   
)

The documentation for this struct was generated from the following files: