Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkGenericProperty.h>
Public Types | |
typedef GenericProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef T | ValueType |
Public Types inherited from mitk::BaseProperty | |
typedef BaseProperty | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual void | SetValue (T _arg) |
virtual T | GetValue () const |
virtual std::string | GetValueAsString () const override |
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... | |
BaseProperty & | operator= (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 (T _arg) |
Static Public Member Functions inherited from mitk::BaseProperty | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
GenericProperty () | |
GenericProperty (T x) | |
GenericProperty (const GenericProperty &other) | |
Protected Member Functions inherited from mitk::BaseProperty | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
virtual | ~BaseProperty () |
Protected Attributes | |
T | m_Value |
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... | |
@ brief Template class for generating properties for int, float, bool, etc.
This class template can be instantiated for all classes/internal types that fulfills these requirements:
Note: you must use the macro mitkSpecializeGenericProperty to provide specializations for concrete types (e.g. BoolProperty). Please see mitkProperties.h for examples. If you don't use the mitkSpecializeGenericProperty Macro, GetNameOfClass() returns a wrong name.
Definition at line 49 of file mitkGenericProperty.h.
typedef itk::SmartPointer<const Self> mitk::GenericProperty< T >::ConstPointer |
Definition at line 52 of file mitkGenericProperty.h.
typedef itk::SmartPointer<Self> mitk::GenericProperty< T >::Pointer |
Definition at line 52 of file mitkGenericProperty.h.
typedef GenericProperty mitk::GenericProperty< T >::Self |
Definition at line 52 of file mitkGenericProperty.h.
typedef BaseProperty mitk::GenericProperty< T >::Superclass |
Definition at line 52 of file mitkGenericProperty.h.
typedef T mitk::GenericProperty< T >::ValueType |
Definition at line 56 of file mitkGenericProperty.h.
|
inlineprotected |
Definition at line 71 of file mitkGenericProperty.h.
|
inlineprotected |
Definition at line 72 of file mitkGenericProperty.h.
|
inlineprotected |
Definition at line 73 of file mitkGenericProperty.h.
Pointer mitk::GenericProperty< T >::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Reimplemented in mitk::StringLookupTableProperty, mitk::IntLookupTableProperty, mitk::BoolLookupTableProperty, mitk::FloatLookupTableProperty, mitk::Point3iProperty, mitk::Point4dProperty, mitk::Point3dProperty, mitk::Point2dProperty, mitk::Vector3DProperty, mitk::DoubleProperty, mitk::FloatProperty, mitk::UShortProperty, mitk::UIntProperty, mitk::IntProperty, and mitk::BoolProperty.
Definition at line 52 of file mitkGenericProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
Reimplemented in mitk::StringLookupTableProperty, mitk::IntLookupTableProperty, mitk::BoolLookupTableProperty, mitk::FloatLookupTableProperty, mitk::Point3iProperty, mitk::Point4dProperty, mitk::Point3dProperty, mitk::Point2dProperty, mitk::Vector3DProperty, mitk::DoubleProperty, mitk::FloatProperty, mitk::UShortProperty, mitk::UIntProperty, mitk::IntProperty, and mitk::BoolProperty.
|
inlinestatic |
Definition at line 52 of file mitkGenericProperty.h.
|
virtual |
Referenced by mitk::EnhancedPointSetVtkMapper3D::ApplyColorAndOpacityProperties(), mitk::ImageStatisticsHolder::ComputeImageStatistics(), mitk::PlaneGeometryDataMapper2D::CreateVtkCrosshair(), mitk::PlaneGeometryDataMapper2D::DetermineThickSliceMode(), QmitkNumberPropertyView::DisplayNumber(), QmitkNumberPropertyEditor::DisplayNumber(), QmitkPropertyListPopup::fillPopup(), mitk::PointSetVtkMapper3D::GenerateDataForRenderer(), mitk::ImageVtkMapper2D::GenerateDataForRenderer(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), mitk::PropertyList::GetBoolProperty(), mitk::Label::GetCenterOfMassCoordinates(), mitk::Label::GetCenterOfMassIndex(), mitk::PropertyList::GetDoubleProperty(), mitk::PropertyList::GetFloatProperty(), mitk::GetGridGeometryFromNode(), mitk::PropertyList::GetIntProperty(), mitk::Label::GetLayer(), mitk::NonBlockingAlgorithm::GetParameter(), mitk::PropertyList::GetPropertyValue(), mitk::Overlay::GetPropertyValue(), mitk::DataNode::GetPropertyValue(), mitk::PlanarCross::GetSingleLineMode(), mitk::PlanarFigure::IsClosed(), mitkDicomSeriesReaderTest(), mitk::ConnectomicsNetworkMapper3D::PropertiesChanged(), and mitk::PropertyListsXmlFileReaderAndWriter::PropertyToXmlElem().
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 61 of file mitkGenericProperty.h.
|
inlinestatic |
Definition at line 53 of file mitkGenericProperty.h.
|
virtual |
Referenced by QmitkPropertyListPopup::onBoolPropertyClicked(), QmitkNumberPropertyEditor::onValueChanged(), QmitkPropertyListPopup::onVisibleClicked(), mitk::Label::SetCenterOfMassCoordinates(), mitk::Label::SetCenterOfMassIndex(), mitk::Label::SetLayer(), mitk::Label::SetLocked(), mitk::Label::SetOpacity(), mitk::Label::SetValue(), and mitk::Label::SetVisible().
|
protected |
Definition at line 74 of file mitkGenericProperty.h.