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

#include <CustomContextItem.h>

Inheritance diagram for PclUtils::context_items::Rectangle:
Collaboration diagram for PclUtils::context_items::Rectangle:

Public Member Functions

 vtkTypeMacro (Rectangle, Point) static Rectangle *New()
 
virtual bool Paint (vtkContext2D *painter) override
 
virtual void set (float _x, float _y, float _w, float _h)
 
- 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 44 of file CustomContextItem.h.

Member Function Documentation

◆ Paint()

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

Reimplemented in PclUtils::context_items::FilledRectangle.

Definition at line 108 of file CustomContextItem.cpp.

References colors.

◆ set()

void PclUtils::context_items::Rectangle::set ( float  _x,
float  _y,
float  _w,
float  _h 
)
virtual

Definition at line 50 of file CustomContextItem.cpp.

References x, and y.

◆ vtkTypeMacro()

PclUtils::context_items::Rectangle::vtkTypeMacro ( Rectangle  ,
Point   
)

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