Helios++
Helios software for LiDAR simulations
SimplePrimitivesDemo.h
1 #ifdef PCL_BINDING
2 #pragma once
3 
4 #include <demo/BaseDemo.h>
5 #include <scene/primitives/Triangle.h>
6 #include <visualhelios/adapters/VHDynObjectXYZAdapter.h>
7 
8 #include <vector>
9 #include <memory>
10 #include <pcl/common/common_headers.h>
11 #include <pcl/PolygonMesh.h>
12 
13 namespace HeliosDemos{
14 
16 
17 using std::vector;
18 using std::shared_ptr;
19 
29 public:
30  // *** CONSTRUCTION / DESTRUCTION *** //
31  // ************************************ //
35  SimplePrimitivesDemo() : BaseDemo("Simple primitives demo"){}
36  virtual ~SimplePrimitivesDemo() = default;
37 
38  // *** R U N *** //
39  // *************** //
43  void run() override;
44 
45  // *** U T I L *** //
46  // ***************** //
51  shared_ptr<DynObject> buildMobileStructure();
56  shared_ptr<DynObject> buildFixedStructure();
61  shared_ptr<DynObject> buildHelicalStructure();
66  shared_ptr<DynObject> buildStaticStructure();
71  shared_ptr<DynObject> buildGroundStructure();
72 };
73 
74 
75 }
76 #endif
BaseDemo class.
Definition: BaseDemo.h:22
Simple primitives demo.
Definition: SimplePrimitivesDemo.h:28
shared_ptr< DynObject > buildFixedStructure()
Build the dynamic object representing the fixed structure.
Definition: SimplePrimitivesDemo.cpp:237
shared_ptr< DynObject > buildMobileStructure()
Build the dynamic object representing the mobile structure.
Definition: SimplePrimitivesDemo.cpp:146
void run() override
Definition: SimplePrimitivesDemo.cpp:23
SimplePrimitivesDemo()
Simple primitives demo constructor.
Definition: SimplePrimitivesDemo.h:35
shared_ptr< DynObject > buildGroundStructure()
Build the dynamic object representing the ground structure.
Definition: SimplePrimitivesDemo.cpp:477
shared_ptr< DynObject > buildStaticStructure()
Build the dynamic object representing the static structure.
Definition: SimplePrimitivesDemo.cpp:385
shared_ptr< DynObject > buildHelicalStructure()
Build the dynamic object representing the helical structure.
Definition: SimplePrimitivesDemo.cpp:328
Class providing concrete implementation of a VHDynObjectAdapter for a simple XYZ visualization with n...
Definition: VHDynObjectXYZAdapter.h:22