6 #include "IAnchoredLabelSource.h"
8 #include "ShapedText.h"
9 #include "VectorMath.h"
10 #include "LabelCellModelFeature.h"
11 #include "LabelCellModelFeatureContainer.h"
28 IdType GetId()
const {
return m_sourceAnchoredLabel.GetId(); }
30 const std::string& GetEntityName()
const {
return m_sourceAnchoredLabel.GetEntityName(); }
32 const LabelAnchorCategory& GetLabelAnchorCategory()
const {
return m_sourceAnchoredLabel.GetLabelAnchorCategory(); }
34 void GetShapedGlyphs(std::vector<Text::ShapedGlyph>& shapedGlyphs)
const { m_sourceAnchoredLabel.GetShapedGlyphs(shapedGlyphs); }
36 const Icons::IconDefinition* GetIconDefinition()
const {
return m_sourceAnchoredLabel.GetIconDefinition(); }
38 dv3 GetEcefAnchorPosition()
const;
40 v3 GetAnchorOffset()
const;
42 m44 CalcFeatureAlignedAnchorBasisEcef(
float environmentFlatteningScale)
const;
46 float GetConstraintRadiusEcef()
const {
return m_sourceAnchoredLabel.GetConstraintRadiusEcef(); }
48 bool CanCacheAnchorOffset()
const {
return false; }
51 const IAnchoredLabel& GetSourceAnchoredLabel()
const {
return m_sourceAnchoredLabel; }
53 void SetTransformedOffset(
const v3& tranformedAnchorOffset);
55 void SetShouldDraw(
bool shouldDraw);
57 bool ShouldDraw()
const {
return m_shouldDraw; }
59 int GetSubPriority()
const {
return m_sourceAnchoredLabel.GetSubPriority(); }
62 v3 m_tranformedAnchorOffset;