#include <interactor_style_switch.h>
Public Member Functions | |
vtkSmartPointer < vtkInteractorStyle > | getInteractorStyle (const interactor_styles::INTERACTOR_STYLES interactor_style) const |
void | initializeInteractorStyles (boost::shared_ptr< pcl::visualization::PCLVisualizer > vis, ProjectModel *model) |
InteractorStyleSwitch () | |
virtual void | OnLeave () |
void | setCurrentInteractorStyle (interactor_styles::INTERACTOR_STYLES interactor_style) |
virtual void | SetCurrentRenderer (vtkRenderer *) |
virtual void | SetDefaultRenderer (vtkRenderer *) |
void | SetInteractor (vtkRenderWindowInteractor *iren) |
void | setQVTKWidget (QVTKWidget *qvtk) |
vtkGetObjectMacro (current_style_, vtkInteractorStyle) | |
vtkTypeMacro (InteractorStyleSwitch, vtkInteractorStyle) | |
virtual | ~InteractorStyleSwitch () |
Static Public Member Functions | |
static InteractorStyleSwitch * | New () |
Protected Member Functions | |
void | setCurrentStyle () |
Protected Attributes | |
vtkSmartPointer< vtkAreaPicker > | area_picker_ |
vtkSmartPointer < ClickTrackballStyleInteractor > | click_trackball_interactor_style_ |
vtkSmartPointer < vtkInteractorStyle > | current_style_ |
QMap < interactor_styles::INTERACTOR_STYLES, vtkSmartPointer < vtkInteractorStyle > > | name_to_style_map_ |
vtkSmartPointer < pcl::visualization::PCLVisualizerInteractorStyle > | pcl_vis_style_ |
vtkSmartPointer< vtkPointPicker > | point_picker_ |
QVTKWidget * | qvtk_ |
Internal pointer to QVTKWidget that this Switch works with. | |
vtkSmartPointer < RectangularFrustumSelector > | rectangular_frustum_selector_ |
vtkRenderWindowInteractor * | render_window_interactor_ |
vtkSmartPointer < vtkRendererCollection > | rens_ |
vtkSmartPointer < SelectedTrackballStyleInteractor > | selected_trackball_interactor_style_ |
boost::shared_ptr < pcl::visualization::PCLVisualizer > | vis_ |
Internal pointer to PCLVisualizer that this Switch works with. | |
Private Member Functions | |
InteractorStyleSwitch (const InteractorStyleSwitch &) | |
void | operator= (const InteractorStyleSwitch &) |
Private Attributes | |
ProjectModel * | project_model_ |
Definition at line 81 of file interactor_style_switch.h.
Definition at line 15 of file interactor_style_switch.cpp.
Definition at line 36 of file interactor_style_switch.cpp.
pcl::cloud_composer::InteractorStyleSwitch::InteractorStyleSwitch | ( | const InteractorStyleSwitch & | ) | [private] |
vtkSmartPointer<vtkInteractorStyle> pcl::cloud_composer::InteractorStyleSwitch::getInteractorStyle | ( | const interactor_styles::INTERACTOR_STYLES | interactor_style | ) | const [inline] |
Definition at line 108 of file interactor_style_switch.h.
void pcl::cloud_composer::InteractorStyleSwitch::initializeInteractorStyles | ( | boost::shared_ptr< pcl::visualization::PCLVisualizer > | vis, |
ProjectModel * | model | ||
) |
Definition at line 42 of file interactor_style_switch.cpp.
static InteractorStyleSwitch* pcl::cloud_composer::InteractorStyleSwitch::New | ( | ) | [static] |
void pcl::cloud_composer::InteractorStyleSwitch::OnLeave | ( | ) | [virtual] |
Definition at line 140 of file interactor_style_switch.cpp.
void pcl::cloud_composer::InteractorStyleSwitch::operator= | ( | const InteractorStyleSwitch & | ) | [private] |
void pcl::cloud_composer::InteractorStyleSwitch::setCurrentInteractorStyle | ( | interactor_styles::INTERACTOR_STYLES | interactor_style | ) |
Definition at line 63 of file interactor_style_switch.cpp.
void pcl::cloud_composer::InteractorStyleSwitch::SetCurrentRenderer | ( | vtkRenderer * | renderer | ) | [virtual] |
Definition at line 132 of file interactor_style_switch.cpp.
void pcl::cloud_composer::InteractorStyleSwitch::setCurrentStyle | ( | ) | [protected] |
void pcl::cloud_composer::InteractorStyleSwitch::SetDefaultRenderer | ( | vtkRenderer * | renderer | ) | [virtual] |
Definition at line 123 of file interactor_style_switch.cpp.
void pcl::cloud_composer::InteractorStyleSwitch::SetInteractor | ( | vtkRenderWindowInteractor * | iren | ) |
Definition at line 96 of file interactor_style_switch.cpp.
void pcl::cloud_composer::InteractorStyleSwitch::setQVTKWidget | ( | QVTKWidget * | qvtk | ) | [inline] |
Definition at line 99 of file interactor_style_switch.h.
pcl::cloud_composer::InteractorStyleSwitch::vtkGetObjectMacro | ( | current_style_ | , |
vtkInteractorStyle | |||
) |
pcl::cloud_composer::InteractorStyleSwitch::vtkTypeMacro | ( | InteractorStyleSwitch | , |
vtkInteractorStyle | |||
) |
vtkSmartPointer<vtkAreaPicker> pcl::cloud_composer::InteractorStyleSwitch::area_picker_ [protected] |
Definition at line 136 of file interactor_style_switch.h.
vtkSmartPointer<ClickTrackballStyleInteractor> pcl::cloud_composer::InteractorStyleSwitch::click_trackball_interactor_style_ [protected] |
Definition at line 135 of file interactor_style_switch.h.
vtkSmartPointer<vtkInteractorStyle> pcl::cloud_composer::InteractorStyleSwitch::current_style_ [protected] |
Definition at line 129 of file interactor_style_switch.h.
QMap<interactor_styles::INTERACTOR_STYLES, vtkSmartPointer <vtkInteractorStyle> > pcl::cloud_composer::InteractorStyleSwitch::name_to_style_map_ [protected] |
Definition at line 123 of file interactor_style_switch.h.
vtkSmartPointer<pcl::visualization::PCLVisualizerInteractorStyle> pcl::cloud_composer::InteractorStyleSwitch::pcl_vis_style_ [protected] |
Definition at line 130 of file interactor_style_switch.h.
vtkSmartPointer<vtkPointPicker> pcl::cloud_composer::InteractorStyleSwitch::point_picker_ [protected] |
Definition at line 137 of file interactor_style_switch.h.
Definition at line 146 of file interactor_style_switch.h.
QVTKWidget* pcl::cloud_composer::InteractorStyleSwitch::qvtk_ [protected] |
Internal pointer to QVTKWidget that this Switch works with.
Definition at line 140 of file interactor_style_switch.h.
vtkSmartPointer<RectangularFrustumSelector> pcl::cloud_composer::InteractorStyleSwitch::rectangular_frustum_selector_ [protected] |
Definition at line 131 of file interactor_style_switch.h.
vtkRenderWindowInteractor* pcl::cloud_composer::InteractorStyleSwitch::render_window_interactor_ [protected] |
Definition at line 126 of file interactor_style_switch.h.
vtkSmartPointer<vtkRendererCollection> pcl::cloud_composer::InteractorStyleSwitch::rens_ [protected] |
Definition at line 127 of file interactor_style_switch.h.
vtkSmartPointer<SelectedTrackballStyleInteractor> pcl::cloud_composer::InteractorStyleSwitch::selected_trackball_interactor_style_ [protected] |
Definition at line 133 of file interactor_style_switch.h.
boost::shared_ptr<pcl::visualization::PCLVisualizer> pcl::cloud_composer::InteractorStyleSwitch::vis_ [protected] |
Internal pointer to PCLVisualizer that this Switch works with.
Definition at line 142 of file interactor_style_switch.h.