Property for tube graphs.
More...
#include <mitkTubeGraphProperty.h>
|
| mitkClassMacro (TubeGraphProperty, BaseProperty) |
|
bool | IsTubeVisible (const TubeDescriptorType &tube) |
|
void | SetTubeActive (const TubeDescriptorType &tube, const bool &active) |
|
void | SetTubesActive (std::vector< TubeDescriptorType > &tubes) |
|
bool | IsTubeActive (const TubeDescriptorType &tube) |
|
std::vector< TubeDescriptorType > | GetActiveTubes () |
|
Color | GetColorOfTube (const TubeDescriptorType &tube) |
|
void | SetTubesToLabels (std::map< TubeToLabelGroupType, std::string > tubeToLabelMap) |
|
std::map< TubeToLabelGroupType, std::string > | GetTubesToLabels () |
|
void | DeactivateAllTubes () |
|
void | AddAnnotation (Annotation *annotation) |
|
Annotation * | GetAnnotationByName (std::string annotation) |
|
std::vector< Annotation * > | GetAnnotations () |
|
void | RemoveAnnotation (Annotation *annotation) |
|
void | AddLabelGroup (LabelGroup *labelGroup, unsigned int position) |
|
void | RemoveLabelGroup (LabelGroup *labelGroup) |
|
LabelGroupSetType | GetLabelGroups () |
|
unsigned int | GetNumberOfLabelGroups () |
|
unsigned int | GetIndexOfLabelGroup (LabelGroup *labelGroup) |
|
LabelGroup * | GetLabelGroupByName (std::string labelGroup) |
|
void | SetLabelVisibility (LabelGroup::Label *label, bool isVisible) |
|
void | SetLabelColor (LabelGroup::Label *label, Color color) |
|
void | RenameLabel (LabelGroup *labelGroup, LabelGroup::Label *label, std::string newName) |
|
void | SetLabelForActivatedTubes (LabelGroup *labelGroup, LabelGroup::Label *label) |
|
LabelGroup::Label * | GetLabelByName (LabelGroup *labelGroup, std::string labelName) |
|
std::string | GetValueAsString () const override |
|
virtual std::vector< std::string > | GetClassHierarchy () const |
|
virtual const char * | GetClassName () const |
|
Pointer | Clone () const |
|
bool | operator== (const BaseProperty &property) const |
| Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More...
|
|
BaseProperty & | operator= (const BaseProperty &property) |
| Assigns property to this BaseProperty instance. More...
|
|
bool | AssignProperty (const BaseProperty &property) |
| Assigns property to this BaseProperty instance. More...
|
|
Property for tube graphs.
Definition at line 31 of file mitkTubeGraphProperty.h.
◆ LabelGroupSetType
◆ TubeDescriptorType
◆ TubeToLabelGroupType
◆ TubeGraphProperty() [1/2]
mitk::TubeGraphProperty::TubeGraphProperty |
( |
| ) |
|
|
protected |
◆ TubeGraphProperty() [2/2]
◆ ~TubeGraphProperty()
mitk::TubeGraphProperty::~TubeGraphProperty |
( |
| ) |
|
|
overrideprotected |
◆ AddAnnotation()
void mitk::TubeGraphProperty::AddAnnotation |
( |
Annotation * |
annotation | ) |
|
◆ AddLabelGroup()
void mitk::TubeGraphProperty::AddLabelGroup |
( |
LabelGroup * |
labelGroup, |
|
|
unsigned int |
position |
|
) |
| |
◆ DeactivateAllTubes()
void mitk::TubeGraphProperty::DeactivateAllTubes |
( |
| ) |
|
◆ GetActiveTubes()
◆ GetAnnotationByName()
Annotation* mitk::TubeGraphProperty::GetAnnotationByName |
( |
std::string |
annotation | ) |
|
◆ GetAnnotations()
std::vector<Annotation *> mitk::TubeGraphProperty::GetAnnotations |
( |
| ) |
|
◆ GetColorOfTube()
◆ GetIndexOfLabelGroup()
unsigned int mitk::TubeGraphProperty::GetIndexOfLabelGroup |
( |
LabelGroup * |
labelGroup | ) |
|
◆ GetLabelByName()
◆ GetLabelGroupByName()
LabelGroup* mitk::TubeGraphProperty::GetLabelGroupByName |
( |
std::string |
labelGroup | ) |
|
◆ GetLabelGroups()
◆ GetNumberOfLabelGroups()
unsigned int mitk::TubeGraphProperty::GetNumberOfLabelGroups |
( |
| ) |
|
◆ GetTubesToLabels()
◆ GetValueAsString()
std::string mitk::TubeGraphProperty::GetValueAsString |
( |
| ) |
const |
|
overridevirtual |
◆ IsTubeActive()
Checks, if a given tube is activated
- Parameters
-
- Returns
- true, if the tube with id is active or false otherwise
◆ IsTubeVisible()
Checks, if a given tube is visible
- Parameters
-
tube | the tube id of the tube to check |
- Returns
- true, if the tube with id is visible or false otherwise
◆ mitkClassMacro()
◆ New()
static Pointer mitk::TubeGraphProperty::New |
( |
| ) |
|
|
static |
◆ RemoveAnnotation()
void mitk::TubeGraphProperty::RemoveAnnotation |
( |
Annotation * |
annotation | ) |
|
◆ RemoveLabelGroup()
void mitk::TubeGraphProperty::RemoveLabelGroup |
( |
LabelGroup * |
labelGroup | ) |
|
◆ RenameLabel()
◆ SetLabelColor()
◆ SetLabelForActivatedTubes()
◆ SetLabelVisibility()
void mitk::TubeGraphProperty::SetLabelVisibility |
( |
LabelGroup::Label * |
label, |
|
|
bool |
isVisible |
|
) |
| |
◆ SetTubeActive()
void mitk::TubeGraphProperty::SetTubeActive |
( |
const TubeDescriptorType & |
tube, |
|
|
const bool & |
active |
|
) |
| |
Sets a tube active.
- Parameters
-
tube | the tube id of the tube, which has to be set active |
active | true, if the tube should be active or false if not. |
◆ SetTubesActive()
◆ SetTubesToLabels()
void mitk::TubeGraphProperty::SetTubesToLabels |
( |
std::map< TubeToLabelGroupType, std::string > |
tubeToLabelMap | ) |
|
The documentation for this class was generated from the following file: