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

#include <CustomContextItem.h>

Inheritance diagram for PclUtils::context_items::Markers:
Collaboration diagram for PclUtils::context_items::Markers:

Public Member Functions

 vtkTypeMacro (Markers, Points) static Markers *New()
 
virtual bool Paint (vtkContext2D *painter) override
 
void setSize (float _size)
 
void setPointColors (unsigned char r, unsigned char g, unsigned char b)
 
void setPointColors (unsigned char rgb[3])
 
- 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)
 

Public Attributes

float size
 
unsigned char point_colors [3]
 
- Public Attributes inherited from pcl::visualization::PCLContextItem
unsigned char colors [3]
 
std::vector< floatparams
 

Additional Inherited Members

- Static Public Member Functions inherited from pcl::visualization::PCLContextItem
static PCLContextItemNew ()
 

Detailed Description

Definition at line 78 of file CustomContextItem.h.

Member Function Documentation

◆ Paint()

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

Reimplemented from PclUtils::context_items::Points.

Definition at line 200 of file CustomContextItem.cpp.

References colors, and size.

◆ setPointColors() [1/2]

void PclUtils::context_items::Markers::setPointColors ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Definition at line 186 of file CustomContextItem.cpp.

◆ setPointColors() [2/2]

void PclUtils::context_items::Markers::setPointColors ( unsigned char  rgb[3])

Definition at line 195 of file CustomContextItem.cpp.

References rgb.

◆ setSize()

void PclUtils::context_items::Markers::setSize ( float  _size)
inline

Definition at line 81 of file CustomContextItem.h.

References size.

◆ vtkTypeMacro()

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

Member Data Documentation

◆ point_colors

unsigned char PclUtils::context_items::Markers::point_colors[3]

Definition at line 85 of file CustomContextItem.h.

◆ size

float PclUtils::context_items::Markers::size

Definition at line 84 of file CustomContextItem.h.


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