pcl_visualization::PCLVisualizerInteractorStyle Class Reference

PCL Visualizer interactory style class. More...

#include <interactor_style.h>

List of all members.

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

Detailed Description

PCL Visualizer interactory style class.

Author:
Radu Bogdan Rusu

Definition at line 72 of file interactor_style.h.


Member Typedef Documentation

Definition at line 74 of file interactor_style.h.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.


Member Data Documentation

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.

Set to true if the grid actor is enabled.

Definition at line 113 of file interactor_style.h.

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.

Set to true if the LUT actor is enabled.

Definition at line 118 of file interactor_style.h.

The maximum resizeable window width/height.

Definition at line 110 of file interactor_style.h.

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.

The current window width/height.

Definition at line 104 of file interactor_style.h.

The current window position x/y.

Definition at line 107 of file interactor_style.h.

Definition at line 107 of file interactor_style.h.

Definition at line 104 of file interactor_style.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pcl_visualization
Author(s): Radu Bogdan Rusu, Bastian Steder, Ethan Rublee
autogenerated on Fri Jan 11 09:59:19 2013