PCL Visualizer interactory style class. More...
#include <interactor_style.h>
Public Member Functions | |
| CloudActorMapPtr | getCloudActorMap () |
| virtual void | Initialize () |
| Initialization routine. Must be called before anything else. | |
| void | setCloudActorMap (const CloudActorMapPtr &actors) |
| Pass a pointer to the actor map. | |
| void | setRendererCollection (vtkSmartPointer< vtkRendererCollection > &rens) |
| Pass a set of renderers to the interactor style. | |
Static Public Member Functions | |
| static PCLVisualizerInteractorStyle * | New () |
Protected Member Functions | |
| virtual void | OnChar () |
| Interactor style internal method. Gets called whenever a key is pressed. | |
| virtual void | OnTimer () |
| Interactor style internal method. Gets called periodically if a timer is set. | |
| void | zoomIn () |
| Interactor style internal method. Zoom in. | |
| void | zoomOut () |
| Interactor style internal method. Zoom out. | |
Protected Attributes | |
| CloudActorMapPtr | actors_ |
| Actor map stored internally. | |
| vtkSmartPointer < vtkLegendScaleActor > | grid_actor_ |
| Actor for 2D grid on screen. | |
| bool | grid_enabled_ |
| Set to true if the grid actor is enabled. | |
| bool | init_ |
| Set to true after initialization is complete. | |
| vtkSmartPointer < vtkScalarBarActor > | lut_actor_ |
| Actor for 2D lookup table on screen. | |
| bool | lut_enabled_ |
| Set to true if the LUT actor is enabled. | |
| int | max_win_height_ |
| The maximum resizeable window width/height. | |
| int | max_win_width_ |
| vtkSmartPointer < vtkRendererCollection > | rens_ |
| Collection of vtkRenderers stored internally. | |
| vtkSmartPointer< vtkPNGWriter > | snapshot_writer_ |
| A PNG writer for screenshot captures. | |
| vtkSmartPointer < vtkWindowToImageFilter > | wif_ |
| Internal window to image filter. Needed by snapshot_writer_. | |
| int | win_height_ |
| The current window width/height. | |
| int | win_pos_x_ |
| The current window position x/y. | |
| int | win_pos_y_ |
| int | win_width_ |
Private Types | |
| typedef boost::shared_ptr < CloudActorMap > | CloudActorMapPtr |
PCL Visualizer interactory style class.
Definition at line 72 of file interactor_style.h.
typedef boost::shared_ptr<CloudActorMap> pcl_visualization::PCLVisualizerInteractorStyle::CloudActorMapPtr [private] |
Definition at line 74 of file interactor_style.h.
| CloudActorMapPtr pcl_visualization::PCLVisualizerInteractorStyle::getCloudActorMap | ( | ) | [inline] |
Definition at line 86 of file interactor_style.h.
| void pcl_visualization::PCLVisualizerInteractorStyle::Initialize | ( | ) | [virtual] |
Initialization routine. Must be called before anything else.
Definition at line 55 of file interactor_style.cpp.
| static PCLVisualizerInteractorStyle* pcl_visualization::PCLVisualizerInteractorStyle::New | ( | ) | [static] |
| void pcl_visualization::PCLVisualizerInteractorStyle::OnChar | ( | ) | [protected, virtual] |
Interactor style internal method. Gets called whenever a key is pressed.
Definition at line 117 of file interactor_style.cpp.
| void pcl_visualization::PCLVisualizerInteractorStyle::OnTimer | ( | ) | [protected, virtual] |
Interactor style internal method. Gets called periodically if a timer is set.
Definition at line 567 of file interactor_style.cpp.
| void pcl_visualization::PCLVisualizerInteractorStyle::setCloudActorMap | ( | const CloudActorMapPtr & | actors | ) | [inline] |
Pass a pointer to the actor map.
| actors | the actor map that will be used with this style |
Definition at line 85 of file interactor_style.h.
| void pcl_visualization::PCLVisualizerInteractorStyle::setRendererCollection | ( | vtkSmartPointer< vtkRendererCollection > & | rens | ) | [inline] |
Pass a set of renderers to the interactor style.
| rens | the vtkRendererCollection to use |
Definition at line 91 of file interactor_style.h.
| void pcl_visualization::PCLVisualizerInteractorStyle::zoomIn | ( | ) | [protected] |
Interactor style internal method. Zoom in.
Definition at line 91 of file interactor_style.cpp.
| void pcl_visualization::PCLVisualizerInteractorStyle::zoomOut | ( | ) | [protected] |
Interactor style internal method. Zoom out.
Definition at line 104 of file interactor_style.cpp.
Actor map stored internally.
Definition at line 101 of file interactor_style.h.
vtkSmartPointer<vtkLegendScaleActor> pcl_visualization::PCLVisualizerInteractorStyle::grid_actor_ [protected] |
Actor for 2D grid on screen.
Definition at line 115 of file interactor_style.h.
bool pcl_visualization::PCLVisualizerInteractorStyle::grid_enabled_ [protected] |
Set to true if the grid actor is enabled.
Definition at line 113 of file interactor_style.h.
bool pcl_visualization::PCLVisualizerInteractorStyle::init_ [protected] |
Set to true after initialization is complete.
Definition at line 95 of file interactor_style.h.
vtkSmartPointer<vtkScalarBarActor> pcl_visualization::PCLVisualizerInteractorStyle::lut_actor_ [protected] |
Actor for 2D lookup table on screen.
Definition at line 120 of file interactor_style.h.
bool pcl_visualization::PCLVisualizerInteractorStyle::lut_enabled_ [protected] |
Set to true if the LUT actor is enabled.
Definition at line 118 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::max_win_height_ [protected] |
The maximum resizeable window width/height.
Definition at line 110 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::max_win_width_ [protected] |
Definition at line 110 of file interactor_style.h.
vtkSmartPointer<vtkRendererCollection> pcl_visualization::PCLVisualizerInteractorStyle::rens_ [protected] |
Collection of vtkRenderers stored internally.
Definition at line 98 of file interactor_style.h.
vtkSmartPointer<vtkPNGWriter> pcl_visualization::PCLVisualizerInteractorStyle::snapshot_writer_ [protected] |
A PNG writer for screenshot captures.
Definition at line 123 of file interactor_style.h.
vtkSmartPointer<vtkWindowToImageFilter> pcl_visualization::PCLVisualizerInteractorStyle::wif_ [protected] |
Internal window to image filter. Needed by snapshot_writer_.
Definition at line 125 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::win_height_ [protected] |
The current window width/height.
Definition at line 104 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::win_pos_x_ [protected] |
The current window position x/y.
Definition at line 107 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::win_pos_y_ [protected] |
Definition at line 107 of file interactor_style.h.
int pcl_visualization::PCLVisualizerInteractorStyle::win_width_ [protected] |
Definition at line 104 of file interactor_style.h.