6 #include "VectorMath.h"
7 #include "LabelLayer.h"
8 #include "LabelModel.h"
9 #include "LabelAnchorCategory.h"
10 #include "InteriorId.h"
21 , labelAnchorCategory(NULL)
25 , ecefPosition(dv3::Zero())
26 , anchorOffset(v3::Zero())
27 , interiorId(Resources::Interiors::InteriorId::NullId())
28 , interiorFloorIndex(0)
37 const std::string& entityName,
38 const std::string& textUtf8,
39 const std::string& iconKey,
40 const dv3& ecefPosition,
41 const v3& anchorOffset,
43 : labelModelId(modelId)
44 , labelAnchorCategory(&anchorCategory)
45 , entityName(entityName)
46 , labelTextUtf8(textUtf8)
47 , ecefPosition(ecefPosition)
48 , anchorOffset(anchorOffset)
50 , interiorId(Resources::Interiors::InteriorId::NullId())
51 , interiorFloorIndex(0)
53 , subPriority(subPriority)
57 std::string labelModelId;
59 std::string entityName;
60 std::string labelTextUtf8;
65 int interiorFloorIndex;
75 virtual LabelLayer::IdType RegisterLayer(
const std::string& layerName) = 0;
78 virtual void SetOffsetForLabel(
const LabelModel::IdType&
id,
const v3& offset) = 0;
79 virtual void RemoveAndDestroy(
const LabelModel::IdType& labelModelId) = 0;