|
Point Cloud Library (PCL)
1.6.0
|
PCLVisualizerInteractorStyle defines an unique, custom VTK based interactory style for PCL Visualizer applications. More...
#include <pcl/visualization/interactor_style.h>


Public Member Functions | |
| PCLVisualizerInteractorStyle () | |
| Empty constructor. More... | |
| vtkTypeMacro (PCLVisualizerInteractorStyle, vtkInteractorStyleTrackballCamera) | |
| virtual void | Initialize () |
| Initialization routine. More... | |
| void | setCloudActorMap (const CloudActorMapPtr &actors) |
| Pass a pointer to the actor map. More... | |
| CloudActorMapPtr | getCloudActorMap () |
| Get the cloud actor map pointer. More... | |
| void | setRendererCollection (vtkSmartPointer< vtkRendererCollection > &rens) |
| Pass a set of renderers to the interactor style. More... | |
| boost::signals2::connection | registerMouseCallback (boost::function< void(const pcl::visualization::MouseEvent &)> cb) |
| Register a callback function for mouse events. More... | |
| boost::signals2::connection | registerKeyboardCallback (boost::function< void(const pcl::visualization::KeyboardEvent &)> cb) |
| Register a callback boost::function for keyboard events. More... | |
| boost::signals2::connection | registerPointPickingCallback (boost::function< void(const pcl::visualization::PointPickingEvent &)> cb) |
| Register a callback function for point picking events. More... | |
| void | saveScreenshot (const std::string &file) |
| Save the current rendered image to disk, as a PNG screenshot. More... | |
| void | setKeyboardModifier (const InteractorKeyboardModifier &modifier) |
| Change the default keyboard modified from ALT to a different special key. More... | |
Static Public Member Functions | |
| static PCLVisualizerInteractorStyle * | New () |
Friends | |
| class | PointPickingCallback |
PCLVisualizerInteractorStyle defines an unique, custom VTK based interactory style for PCL Visualizer applications.
Besides defining the rendering style, we also create a list of custom actions that are triggered on different keys being pressed:
Definition at line 96 of file interactor_style.h.
|
inline |
Empty constructor.
Definition at line 104 of file interactor_style.h.
|
inline |
Get the cloud actor map pointer.
Definition at line 126 of file interactor_style.h.
|
virtual |
Initialization routine.
Must be called before anything else.
|
static |
| boost::signals2::connection pcl::visualization::PCLVisualizerInteractorStyle::registerKeyboardCallback | ( | boost::function< void(const pcl::visualization::KeyboardEvent &)> | cb | ) |
Register a callback boost::function for keyboard events.
| [in] | cb | a boost function that will be registered as a callback for a keyboard event |
| boost::signals2::connection pcl::visualization::PCLVisualizerInteractorStyle::registerMouseCallback | ( | boost::function< void(const pcl::visualization::MouseEvent &)> | cb | ) |
Register a callback function for mouse events.
| [in] | cb | a boost function that will be registered as a callback for a mouse event |
| boost::signals2::connection pcl::visualization::PCLVisualizerInteractorStyle::registerPointPickingCallback | ( | boost::function< void(const pcl::visualization::PointPickingEvent &)> | cb | ) |
Register a callback function for point picking events.
| [in] | cb | a boost function that will be registered as a callback for a point picking event |
| void pcl::visualization::PCLVisualizerInteractorStyle::saveScreenshot | ( | const std::string & | file | ) |
Save the current rendered image to disk, as a PNG screenshot.
| [in] | file | the name of the PNG file |
|
inline |
Pass a pointer to the actor map.
| [in] | actors | the actor map that will be used with this style |
Definition at line 122 of file interactor_style.h.
|
inline |
Change the default keyboard modified from ALT to a different special key.
Allowed values are:
| [in] | modifier | the new keyboard modifier |
Definition at line 169 of file interactor_style.h.
|
inline |
Pass a set of renderers to the interactor style.
| [in] | rens | the vtkRendererCollection to use |
Definition at line 132 of file interactor_style.h.
| pcl::visualization::PCLVisualizerInteractorStyle::vtkTypeMacro | ( | PCLVisualizerInteractorStyle | , |
| vtkInteractorStyleTrackballCamera | |||
| ) |
|
friend |
Definition at line 264 of file interactor_style.h.
1.8.3.1