Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual 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)
 
virtual ~BaseProperty ()
 

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 34 of file mitkAnnotationProperty.h.

Member Typedef Documentation

Definition at line 37 of file mitkAnnotationProperty.h.

Constructor & Destructor Documentation

mitk::AnnotationProperty::AnnotationProperty ( )
protected

Definition at line 19 of file mitkAnnotationProperty.cpp.

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

Definition at line 23 of file mitkAnnotationProperty.cpp.

References m_Label.

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

Definition at line 32 of file mitkAnnotationProperty.cpp.

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

Definition at line 37 of file mitkAnnotationProperty.cpp.

References m_Label, and m_Position.

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

Definition at line 49 of file mitkAnnotationProperty.cpp.

References m_Position.

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

Definition at line 57 of file mitkAnnotationProperty.cpp.

Member Function Documentation

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

Reimplemented from mitk::BaseProperty.

Definition at line 37 of file mitkAnnotationProperty.h.

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

Reimplemented from mitk::BaseProperty.

virtual const char* mitk::AnnotationProperty::GetLabel ( ) const
virtual
const mitk::Point3D & mitk::AnnotationProperty::GetPosition ( ) const

Definition at line 62 of file mitkAnnotationProperty.cpp.

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

Definition at line 37 of file mitkAnnotationProperty.h.

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

Reimplemented from mitk::BaseProperty.

Definition at line 89 of file mitkAnnotationProperty.cpp.

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

Definition at line 42 of file mitkAnnotationProperty.h.

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

Definition at line 43 of file mitkAnnotationProperty.h.

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

Definition at line 44 of file mitkAnnotationProperty.h.

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

Definition at line 45 of file mitkAnnotationProperty.h.

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

Definition at line 54 of file mitkAnnotationProperty.h.

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

Definition at line 67 of file mitkAnnotationProperty.cpp.

Member Data Documentation

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

Definition at line 58 of file mitkAnnotationProperty.h.

Referenced by AnnotationProperty().

Point3D mitk::AnnotationProperty::m_Position
protected

Definition at line 59 of file mitkAnnotationProperty.h.

Referenced by AnnotationProperty().


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