Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

pcl::visualization::PCLVisualizerInteractorStyle Class Reference
[Module visualization]

PCL Visualizer interactory style class. More...

#include <pcl/visualization/interactor_style.h>

List of all members.

Public Member Functions

virtual void Initialize ()
 Initialization routine.
void setCloudActorMap (const CloudActorMapPtr &actors)
 Pass a pointer to the actor map.
CloudActorMapPtr getCloudActorMap ()
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.
virtual void OnTimer ()
 Interactor style internal method.
void zoomIn ()
 Interactor style internal method.
void zoomOut ()
 Interactor style internal method.

Protected Attributes

bool init_
 Set to true after initialization is complete.
vtkSmartPointer
< vtkRendererCollection > 
rens_
 Collection of vtkRenderers stored internally.
CloudActorMapPtr actors_
 Actor map stored internally.
int win_height_
 The current window width/height.
int win_width_
int win_pos_x_
 The current window position x/y.
int win_pos_y_
int max_win_height_
 The maximum resizeable window width/height.
int max_win_width_
bool grid_enabled_
 Set to true if the grid actor is enabled.
vtkSmartPointer
< vtkLegendScaleActor > 
grid_actor_
 Actor for 2D grid on screen.
bool lut_enabled_
 Set to true if the LUT actor is enabled.
vtkSmartPointer
< vtkScalarBarActor > 
lut_actor_
 Actor for 2D lookup table on screen.
vtkSmartPointer< vtkPNGWriter > snapshot_writer_
 A PNG writer for screenshot captures.
vtkSmartPointer
< vtkWindowToImageFilter > 
wif_
 Internal window to image filter.

Detailed Description

PCL Visualizer interactory style class.

Author:
Radu Bogdan Rusu

Definition at line 75 of file interactor_style.h.


Member Function Documentation

CloudActorMapPtr pcl::visualization::PCLVisualizerInteractorStyle::getCloudActorMap (  )  [inline]

Definition at line 89 of file interactor_style.h.

virtual void pcl::visualization::PCLVisualizerInteractorStyle::Initialize (  )  [virtual]

Initialization routine.

Must be called before anything else.

static PCLVisualizerInteractorStyle* pcl::visualization::PCLVisualizerInteractorStyle::New (  )  [static]
virtual void pcl::visualization::PCLVisualizerInteractorStyle::OnChar (  )  [protected, virtual]

Interactor style internal method.

Gets called whenever a key is pressed.

virtual void pcl::visualization::PCLVisualizerInteractorStyle::OnTimer (  )  [protected, virtual]

Interactor style internal method.

Gets called periodically if a timer is set.

void pcl::visualization::PCLVisualizerInteractorStyle::setCloudActorMap ( const CloudActorMapPtr &  actors  )  [inline]

Pass a pointer to the actor map.

Parameters:
actors the actor map that will be used with this style

Definition at line 88 of file interactor_style.h.

void pcl::visualization::PCLVisualizerInteractorStyle::setRendererCollection ( vtkSmartPointer< vtkRendererCollection > &  rens  )  [inline]

Pass a set of renderers to the interactor style.

Parameters:
rens the vtkRendererCollection to use

Definition at line 94 of file interactor_style.h.

void pcl::visualization::PCLVisualizerInteractorStyle::zoomIn (  )  [protected]

Interactor style internal method.

Zoom in.

void pcl::visualization::PCLVisualizerInteractorStyle::zoomOut (  )  [protected]

Interactor style internal method.

Zoom out.


Member Data Documentation

Actor map stored internally.

Definition at line 104 of file interactor_style.h.

vtkSmartPointer<vtkLegendScaleActor> pcl::visualization::PCLVisualizerInteractorStyle::grid_actor_ [protected]

Actor for 2D grid on screen.

Definition at line 118 of file interactor_style.h.

Set to true if the grid actor is enabled.

Definition at line 116 of file interactor_style.h.

Set to true after initialization is complete.

Definition at line 98 of file interactor_style.h.

vtkSmartPointer<vtkScalarBarActor> pcl::visualization::PCLVisualizerInteractorStyle::lut_actor_ [protected]

Actor for 2D lookup table on screen.

Definition at line 123 of file interactor_style.h.

Set to true if the LUT actor is enabled.

Definition at line 121 of file interactor_style.h.

The maximum resizeable window width/height.

Definition at line 113 of file interactor_style.h.

Definition at line 113 of file interactor_style.h.

vtkSmartPointer<vtkRendererCollection> pcl::visualization::PCLVisualizerInteractorStyle::rens_ [protected]

Collection of vtkRenderers stored internally.

Definition at line 101 of file interactor_style.h.

vtkSmartPointer<vtkPNGWriter> pcl::visualization::PCLVisualizerInteractorStyle::snapshot_writer_ [protected]

A PNG writer for screenshot captures.

Definition at line 126 of file interactor_style.h.

vtkSmartPointer<vtkWindowToImageFilter> pcl::visualization::PCLVisualizerInteractorStyle::wif_ [protected]

Internal window to image filter.

Needed by snapshot_writer_.

Definition at line 128 of file interactor_style.h.

The current window width/height.

Definition at line 107 of file interactor_style.h.

The current window position x/y.

Definition at line 110 of file interactor_style.h.

Definition at line 110 of file interactor_style.h.

Definition at line 107 of file interactor_style.h.


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