13 #ifndef mitkTubeGraphProperty_h
14 #define mitkTubeGraphProperty_h
22 #include <itkObject.h>
80 void SetTubesActive(std::vector<TubeDescriptorType> &tubes);
89 std::vector<TubeDescriptorType> GetActiveTubes();
93 void SetTubesToLabels(std::map<TubeToLabelGroupType, std::string> tubeToLabelMap);
95 std::map<TubeToLabelGroupType, std::string> GetTubesToLabels();
100 void DeactivateAllTubes();
103 Annotation *GetAnnotationByName(std::string annotation);
104 std::vector<Annotation *> GetAnnotations();
105 void RemoveAnnotation(
Annotation *annotation);
107 void AddLabelGroup(
LabelGroup *labelGroup,
unsigned int position);
108 void RemoveLabelGroup(
LabelGroup *labelGroup);
110 unsigned int GetNumberOfLabelGroups();
111 unsigned int GetIndexOfLabelGroup(
LabelGroup *labelGroup);
112 LabelGroup *GetLabelGroupByName(std::string labelGroup);
121 std::string GetValueAsString()
const override;
129 std::vector<TubeDescriptorType> m_ActiveTubes;
131 std::map<TubeToLabelGroupType, std::string> m_TubeToLabelsMap;
132 std::vector<Annotation *> m_Annotations;
139 bool IsEqual(
const BaseProperty &property)
const override;
141 itk::LightObject::Pointer InternalClone()
const override;