Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
Medical Imaging Interaction Toolkit
mitk::AnnotationProperty Class Reference

Property for annotations. More...

#include <mitkAnnotationProperty.h>

Inheritance diagram for mitk::AnnotationProperty:
Collaboration diagram for mitk::AnnotationProperty:

Public Types

typedef AnnotationProperty Self
 
typedef BaseProperty Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::string ValueType
 
- Public Types inherited from mitk::BaseProperty
typedef BaseProperty Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual const char * GetLabel () const
 
virtual void SetLabel (const char *_arg)
 
const Point3DGetPosition () const
 
void SetPosition (const Point3D &position)
 
std::string GetValueAsString () const override
 
virtual BasePropertyoperator= (const BaseProperty &other)
 
- Public Member Functions inherited from mitk::BaseProperty
Pointer Clone () const
 
bool operator== (const BaseProperty &property) const
 Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
bool AssignProperty (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static Pointer New (const char *_arga, const Point3D &_argb)
 
static Pointer New (const std::string &_arga, const Point3D &_argb)
 
static Pointer New (const char *_arga, ScalarType _argb, ScalarType _argc, ScalarType _argd)
 
static Pointer New (const std::string &_arga, ScalarType _argb, ScalarType _argc, ScalarType _argd)
 
- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 AnnotationProperty ()
 
 AnnotationProperty (const char *label, const Point3D &position)
 
 AnnotationProperty (const std::string &label, const Point3D &position)
 
 AnnotationProperty (const char *label, ScalarType x, ScalarType y, ScalarType z)
 
 AnnotationProperty (const std::string &label, ScalarType x, ScalarType y, ScalarType z)
 
 AnnotationProperty (const AnnotationProperty &other)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

Protected Attributes

std::string m_Label
 
Point3D m_Position
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::BaseProperty
static const std::string VALUE_CANNOT_BE_CONVERTED_TO_STRING
 Default return value if a property which can not be returned as string. More...
 

Detailed Description

Property for annotations.

Definition at line 30 of file mitkAnnotationProperty.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

◆ ValueType

Definition at line 33 of file mitkAnnotationProperty.h.

Constructor & Destructor Documentation

◆ AnnotationProperty() [1/6]

mitk::AnnotationProperty::AnnotationProperty ( )
protected

Definition at line 15 of file mitkAnnotationProperty.cpp.

◆ AnnotationProperty() [2/6]

mitk::AnnotationProperty::AnnotationProperty ( const char *  label,
const Point3D position 
)
protected

Definition at line 19 of file mitkAnnotationProperty.cpp.

References m_Label.

◆ AnnotationProperty() [3/6]

mitk::AnnotationProperty::AnnotationProperty ( const std::string &  label,
const Point3D position 
)
protected

Definition at line 28 of file mitkAnnotationProperty.cpp.

◆ AnnotationProperty() [4/6]

mitk::AnnotationProperty::AnnotationProperty ( const char *  label,
ScalarType  x,
ScalarType  y,
ScalarType  z 
)
protected

Definition at line 33 of file mitkAnnotationProperty.cpp.

References m_Label, and m_Position.

◆ AnnotationProperty() [5/6]

mitk::AnnotationProperty::AnnotationProperty ( const std::string &  label,
ScalarType  x,
ScalarType  y,
ScalarType  z 
)
protected

Definition at line 45 of file mitkAnnotationProperty.cpp.

References m_Position.

◆ AnnotationProperty() [6/6]

mitk::AnnotationProperty::AnnotationProperty ( const AnnotationProperty other)
protected

Definition at line 53 of file mitkAnnotationProperty.cpp.

Member Function Documentation

◆ Clone()

Pointer mitk::AnnotationProperty::Clone ( ) const

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::AnnotationProperty::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 33 of file mitkAnnotationProperty.h.

◆ GetClassName()

virtual const char* mitk::AnnotationProperty::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseProperty.

◆ GetLabel()

virtual const char* mitk::AnnotationProperty::GetLabel ( ) const
virtual

Referenced by GetValueAsString().

◆ GetPosition()

const mitk::Point3D & mitk::AnnotationProperty::GetPosition ( ) const

Definition at line 58 of file mitkAnnotationProperty.cpp.

References m_Position.

Referenced by GetValueAsString().

◆ GetStaticNameOfClass()

static const char* mitk::AnnotationProperty::GetStaticNameOfClass ( )
inlinestatic

Definition at line 33 of file mitkAnnotationProperty.h.

◆ GetValueAsString()

std::string mitk::AnnotationProperty::GetValueAsString ( ) const
overridevirtual

Reimplemented from mitk::BaseProperty.

Definition at line 85 of file mitkAnnotationProperty.cpp.

References GetLabel(), and GetPosition().

◆ New() [1/5]

static Pointer mitk::AnnotationProperty::New ( )
static

◆ New() [2/5]

static Pointer mitk::AnnotationProperty::New ( const char *  _arga,
const Point3D _argb 
)
inlinestatic

Definition at line 40 of file mitkAnnotationProperty.h.

◆ New() [3/5]

static Pointer mitk::AnnotationProperty::New ( const std::string &  _arga,
const Point3D _argb 
)
inlinestatic

Definition at line 41 of file mitkAnnotationProperty.h.

◆ New() [4/5]

static Pointer mitk::AnnotationProperty::New ( const char *  _arga,
ScalarType  _argb,
ScalarType  _argc,
ScalarType  _argd 
)
inlinestatic

Definition at line 42 of file mitkAnnotationProperty.h.

◆ New() [5/5]

static Pointer mitk::AnnotationProperty::New ( const std::string &  _arga,
ScalarType  _argb,
ScalarType  _argc,
ScalarType  _argd 
)
inlinestatic

Definition at line 43 of file mitkAnnotationProperty.h.

◆ operator=()

virtual BaseProperty& mitk::AnnotationProperty::operator= ( const BaseProperty other)
inlinevirtual

Definition at line 52 of file mitkAnnotationProperty.h.

◆ SetLabel()

virtual void mitk::AnnotationProperty::SetLabel ( const char *  _arg)
virtual

◆ SetPosition()

void mitk::AnnotationProperty::SetPosition ( const Point3D position)

Definition at line 63 of file mitkAnnotationProperty.cpp.

References m_Label, and m_Position.

Member Data Documentation

◆ m_Label

std::string mitk::AnnotationProperty::m_Label
protected

Definition at line 56 of file mitkAnnotationProperty.h.

Referenced by AnnotationProperty(), and SetPosition().

◆ m_Position

Point3D mitk::AnnotationProperty::m_Position
protected

Definition at line 57 of file mitkAnnotationProperty.h.

Referenced by AnnotationProperty(), GetPosition(), and SetPosition().


The documentation for this class was generated from the following files: