39 #ifndef PCL_PCL_VISUALIZER_INTERACTOR_STYLE_H_
40 #define PCL_PCL_VISUALIZER_INTERACTOR_STYLE_H_
43 #include <boost/shared_ptr.hpp>
47 #include <boost/shared_ptr.hpp>
48 #include <boost/signals2.hpp>
55 namespace visualization
105 init_ (), rens_ (), actors_ (), win_height_ (), win_width_ (), win_pos_x_ (), win_pos_y_ (),
106 max_win_height_ (), max_win_width_ (), grid_enabled_ (), grid_actor_ (), lut_enabled_ (),
107 lut_actor_ (), snapshot_writer_ (), wif_ (), mouse_signal_ (), keyboard_signal_ (),
108 point_picking_signal_ (), stereo_anaglyph_mask_default_ (), mouse_callback_ (), modifier_ ()
138 boost::signals2::connection
145 boost::signals2::connection
152 boost::signals2::connection
159 saveScreenshot (
const std::string &file);
171 modifier_ = modifier;
179 vtkSmartPointer<vtkRendererCollection> rens_;
185 int win_height_, win_width_;
188 int win_pos_x_, win_pos_y_;
191 int max_win_height_, max_win_width_;
196 vtkSmartPointer<vtkLegendScaleActor> grid_actor_;
201 vtkSmartPointer<vtkScalarBarActor> lut_actor_;
204 vtkSmartPointer<vtkPNGWriter> snapshot_writer_;
206 vtkSmartPointer<vtkWindowToImageFilter> wif_;
208 boost::signals2::signal<void (const pcl::visualization::MouseEvent&)> mouse_signal_;
209 boost::signals2::signal<void (const pcl::visualization::KeyboardEvent&)> keyboard_signal_;
210 boost::signals2::signal<void (const pcl::visualization::PointPickingEvent&)> point_picking_signal_;
230 OnMiddleButtonDown ();
234 OnRightButtonDown ();
238 OnMouseWheelForward ();
240 OnMouseWheelBackward ();
256 bool stereo_anaglyph_mask_default_;
259 vtkSmartPointer<PointPickingCallback> mouse_callback_;
265 vtkSmartPointer<vtkPolyData> full_data_;