Go to the documentation of this file.
17 #ifndef GZ_SIM_SYSTEMS_ENVIRONMENTPRELOAD_VIZTOOL_HH_
18 #define GZ_SIM_SYSTEMS_ENVIRONMENTPRELOAD_VIZTOOL_HH_
24 #include <unordered_map>
31 #include <gz/transport/Node.hh>
33 #include <gz/msgs/float_v.pb.h>
34 #include <gz/msgs/pointcloud_packed.pb.h>
35 #include <gz/msgs/PointCloudPackedUtils.hh>
36 #include <gz/msgs/Utility.hh>
48 inline namespace GZ_SIM_VERSION_NAMESPACE
62 private:
bool first{
true};
68 private:
bool finishedTime{
false};
74 private:
void CreatePointCloudTopics(
79 public:
void FileReloaded();
92 unsigned int _xSamples,
unsigned int _ySamples,
unsigned int _zSamples);
99 private:
void Visualize(
101 unsigned int _xSamples,
unsigned int _ySamples,
unsigned int _zSamples);
104 private:
void Publish();
113 private:
void ResizeCloud(
116 unsigned int _xSamples,
unsigned int _ySamples,
unsigned int _zSamples);