Helios++
Helios software for LiDAR simulations
PyTriangleWrapper.h
1 #pragma once
2 
3 #ifdef PYTHON_BINDING
4 
5 #include <PyPrimitiveWrapper.h>
6 #include <Triangle.h>
7 
16 public:
17  // *** CONSTRUCTION / DESTRUCTION *** //
18  // ************************************ //
20  virtual ~PyTriangleWrapper() = default;
21 
22  // *** GETTERS and SETTERS *** //
23  // ***************************** //
24  PythonDVec3 * getFaceNormal()
25  {return new PythonDVec3( ((Triangle *) prim)->getFaceNormal() ); }
26 };
27 
28 #endif
Wrapper for Triangle class.
Definition: PyTriangleWrapper.h:15
Class representing triangle primitive.
Definition: Triangle.h:13
Wrapper for Primitive class.
Definition: PyPrimitiveWrapper.h:18
Wrapper to communicate glm::dvec3 with python.
Definition: PythonDVec3.h:14