9 #include "LabelLayer.h"
17 namespace LabelPlacement
29 typedef std::string IdType;
31 static LabelAnchorCategory* Create(
const std::string& labelAnchorCategory, LabelLayer::IdType labelLayerId,
int minLevel,
int maxLevel, LabelPlacement::Type labelPlacement,
bool horizonCullAlwaysRequired);
33 const IdType& GetId()
const {
return m_id; }
35 LabelLayer::IdType GetLabelLayerId()
const {
return m_labelLayerId; }
37 int GetMinLevel()
const {
return m_minLevel; }
39 int GetMaxLevel()
const {
return m_maxLevel; }
41 LabelPlacement::Type GetLabelPlacement()
const {
return m_labelPlacement; }
43 bool IsHorizonCullAlwaysRequired()
const {
return m_horizonCullAlwaysRequired; }
46 LabelAnchorCategory(
const IdType& labelAnchorCategoryId, LabelLayer::IdType labelLayerId,
int minLevel,
int maxLevel, LabelPlacement::Type labelPlacement,
bool horizonCullAlwaysRequired);
49 LabelLayer::IdType m_labelLayerId;
52 LabelPlacement::Type m_labelPlacement;
53 bool m_horizonCullAlwaysRequired;