1 #ifndef __ddPointCloudLCM_h
2 #define __ddPointCloudLCM_h
13 #include <vtkSmartPointer.h>
14 #include <vtkPolyData.h>
15 #include <vtkPointData.h>
16 #include <vtkUnsignedIntArray.h>
17 #include <vtkFloatArray.h>
19 #include <lcm/lcm-cpp.hpp>
20 #include <lcmtypes/bot_core/pointcloud2_t.hpp>
21 #include <lcmtypes/bot_core/pointcloud_t.hpp>
23 #include <bot_param/param_client.h>
24 #include <bot_param/param_util.h>
34 void init(
ddLCMThread* lcmThread,
const QString& botConfigFile);
35 qint64 getPointCloudFromPointCloud(vtkPolyData* polyDataRender);
37 QStringList getLidarNames()
const;
38 QString getLidarFriendlyName(
const QString& lidarName);
39 int getLidarFrequency(
const QString& lidarName);
40 bool displayLidar(
const QString& lidarName);
41 QList<int> getLidarIntensity(
const QString& lidarName);
42 QString getLidarChannelName(
const QString& lidarName);
43 QString getLidarCoordinateFrame(
const QString& lidarName);
47 void onPointCloudFrame(
const QByteArray& data,
const QString& channel);
48 void onPointCloud2Frame(
const QByteArray& data,
const QString& channel);
vtkSmartPointer< vtkPolyData > mPolyData