Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
pcl::visualization::PCLContextItem Struct Reference

Struct PCLContextItem represents our own custom version of vtkContextItem, used by the ImageViewer class. More...

#include <pcl/visualization/vtk/pcl_context_item.h>

+ Inheritance diagram for pcl::visualization::PCLContextItem:
+ Collaboration diagram for pcl::visualization::PCLContextItem:

Public Member Functions

 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)
 

Static Public Member Functions

static PCLContextItemNew ()
 

Public Attributes

unsigned char colors [3]
 
std::vector< float > params
 

Detailed Description

Struct PCLContextItem represents our own custom version of vtkContextItem, used by the ImageViewer class.

Author
Nizar Sallem

Definition at line 59 of file pcl_context_item.h.

Member Function Documentation

◆ New()

static PCLContextItem* pcl::visualization::PCLContextItem::New ( )
static

◆ Paint()

bool pcl::visualization::PCLContextItem::Paint ( vtkContext2D *  )
inlineoverride

Definition at line 63 of file pcl_context_item.h.

◆ setColors() [1/2]

void pcl::visualization::PCLContextItem::setColors ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)

◆ setColors() [2/2]

void pcl::visualization::PCLContextItem::setColors ( unsigned char  rgb[3])
inline

Definition at line 65 of file pcl_context_item.h.

◆ setOpacity()

void pcl::visualization::PCLContextItem::setOpacity ( double  opacity)
inline

Definition at line 66 of file pcl_context_item.h.

◆ vtkTypeMacro()

pcl::visualization::PCLContextItem::vtkTypeMacro ( PCLContextItem  ,
vtkContextItem   
)

Member Data Documentation

◆ colors

unsigned char pcl::visualization::PCLContextItem::colors[3]

Definition at line 67 of file pcl_context_item.h.

◆ params

std::vector<float> pcl::visualization::PCLContextItem::params

Definition at line 68 of file pcl_context_item.h.


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