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

Abstract class for storing figure information. More...

#include <pcl/visualization/pcl_painter2D.h>

+ Inheritance diagram for pcl::visualization::Figure2D:

Public Member Functions

 Figure2D (std::vector< float > info, vtkPen *p, vtkBrush *b, vtkTransform2D *t)
 
 Figure2D (vtkPen *p, vtkBrush *b, vtkTransform2D *t)
 
virtual ~Figure2D ()
 
void applyInternals (vtkContext2D *painter) const
 
virtual void draw (vtkContext2D *)
 

Public Attributes

std::vector< float > info_
 
vtkPen * pen_
 
vtkBrush * brush_
 
vtkTransform2D * transform_
 

Detailed Description

Abstract class for storing figure information.

All the derived class uses the same method draw() to invoke different drawing function of vtkContext2D

Author
Kripasindhu Sarkar

Definition at line 69 of file pcl_painter2D.h.

Constructor & Destructor Documentation

◆ Figure2D() [1/2]

pcl::visualization::Figure2D::Figure2D ( std::vector< float >  info,
vtkPen *  p,
vtkBrush *  b,
vtkTransform2D *  t 
)
inline

Definition at line 76 of file pcl_painter2D.h.

◆ Figure2D() [2/2]

pcl::visualization::Figure2D::Figure2D ( vtkPen *  p,
vtkBrush *  b,
vtkTransform2D *  t 
)
inline

Definition at line 88 of file pcl_painter2D.h.

◆ ~Figure2D()

virtual pcl::visualization::Figure2D::~Figure2D ( )
inlinevirtual

Definition at line 99 of file pcl_painter2D.h.

References brush_, pen_, and transform_.

Member Function Documentation

◆ applyInternals()

void pcl::visualization::Figure2D::applyInternals ( vtkContext2D *  painter) const
inline

◆ draw()

virtual void pcl::visualization::Figure2D::draw ( vtkContext2D *  )
inlinevirtual

Member Data Documentation

◆ brush_

vtkBrush* pcl::visualization::Figure2D::brush_

Definition at line 73 of file pcl_painter2D.h.

Referenced by applyInternals(), and ~Figure2D().

◆ info_

std::vector<float> pcl::visualization::Figure2D::info_

◆ pen_

vtkPen* pcl::visualization::Figure2D::pen_

Definition at line 72 of file pcl_painter2D.h.

Referenced by applyInternals(), and ~Figure2D().

◆ transform_

vtkTransform2D* pcl::visualization::Figure2D::transform_

Definition at line 74 of file pcl_painter2D.h.

Referenced by applyInternals(), and ~Figure2D().


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