SCENE C++ API  2.1.0
lslayoutplan.h
1 #pragma once
2 
3 #include <core_api/lsobject.h>
4 
5 namespace SCENE_API {
6 
7 // Forward declarations
8 class LSLayoutPlan_Implementation;
9 
14 class LSLayoutPlan : public LSObject
15 {
16  LS_UNCOPYABLE(LSLayoutPlan)
17 
18 public:
28  CORE_API_EXPORT static LSResult::Result create(const LSString& baseName, const ref_ptr<LSObject>& root, ref_ptr<LSLayoutPlan>& layoutPlanOut);
29 
34  CORE_API_EXPORT LSResult::Result setImagePath(const LSString& imgPath);
35 
40  CORE_API_EXPORT LSResult::Result setCenterPosition(const Eigen::Vector3d& centerGlobal);
41 
47  CORE_API_EXPORT LSResult::Result setSize(const double width, const double length);
48 
63  CORE_API_EXPORT LSResult::Result setRotation(const double rotXGlobal, const double rotYGlobal, const double rotZGlobal);
64 
65 protected:
66  LS_INTERFACE(LSLayoutPlan, LSObject)
67 };
68 
69 }