39 #ifndef PCL_PCL_HISTOGRAM_VISUALIZER_H_
40 #define PCL_PCL_HISTOGRAM_VISUALIZER_H_
42 #include <pcl/visualization/interactor_style.h>
43 #include <pcl/visualization/common/common.h>
44 #include <pcl/visualization/common/ren_win_interact_map.h>
46 class vtkRenderWindowInteractor;
50 namespace visualization
66 #if ((VTK_MAJOR_VERSION == 5) && (VTK_MINOR_VERSION <= 4))
68 spinOnce (
int time = 1,
bool force_redraw =
false);
71 spinOnce (
int time = 1);
83 setBackgroundColor (
const double &r,
const double &g,
const double &b);
92 template <
typename Po
intT>
bool
95 const std::string &
id =
"cloud",
int win_width = 640,
int win_height = 200);
106 const std::string &field_name,
107 const std::string &
id =
"cloud",
int win_width = 640,
int win_height = 200);
117 template <
typename Po
intT>
bool
119 const std::string &field_name,
121 const std::string &
id =
"cloud",
int win_width = 640,
int win_height = 200);
133 const std::string &field_name,
135 const std::string &
id =
"cloud",
int win_width = 640,
int win_height = 200);
142 template <
typename Po
intT>
bool
153 const std::string &field_name,
154 const std::string &
id =
"cloud");
163 template <
typename Po
intT>
bool
165 const int index,
const std::string &
id =
"cloud");
176 const std::string &field_name,
const int index,
177 const std::string &
id =
"cloud");
185 setGlobalYRange (
float minp,
float maxp);
189 updateWindowPositions ();
190 #if ((VTK_MAJOR_VERSION) == 5 && (VTK_MINOR_VERSION <= 4))
211 const std::string &
id,
const int win_width,
const int win_height);
226 struct ExitMainLoopTimerCallback :
public vtkCommand
228 static ExitMainLoopTimerCallback* New ()
230 return (
new ExitMainLoopTimerCallback);
233 Execute (vtkObject*,
unsigned long event_id,
void* call_data);
236 #if ((VTK_MAJOR_VERSION == 5) && (VTK_MINOR_VERSION <= 4))
237 PCLVisualizerInteractor *interact;
239 vtkRenderWindowInteractor *interact;
243 struct ExitCallback :
public vtkCommand
245 ExitCallback () : his () {}
247 static ExitCallback* New ()
249 return (
new ExitCallback);
253 Execute (vtkObject*,
unsigned long event_id,
void*);
255 PCLHistogramVisualizer *his;
267 #include <pcl/visualization/impl/histogram_visualizer.hpp>
PCL histogram visualizer main class.
virtual ~PCLHistogramVisualizer()
std::map< std::string, RenWinInteract > RenWinInteractMap