Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitk::Point3iProperty Class Reference

#include <mitkProperties.h>

Inheritance diagram for mitk::Point3iProperty:
Collaboration diagram for mitk::Point3iProperty:

Public Member Functions

 mitkClassMacro (Point3iProperty, GenericProperty< Point3I >)
 
Pointer Clone () const
 
 mitkNewMacro1Param (Point3iProperty, Point3I)
 
bool ToJSON (nlohmann::json &j) const override
 Serialize property value(s) to JSON. More...
 
bool FromJSON (const nlohmann::json &j) override
 Deserialize property value(s) from JSON. More...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
- Public Member Functions inherited from mitk::GenericProperty< Point3I >
 mitkClassMacro (GenericProperty, BaseProperty)
 
 mitkNewMacro1Param (GenericProperty< Point3I >, Point3I)
 
Pointer Clone () const
 
virtual void SetValue (Point3I _arg)
 
virtual Point3I GetValue () const
 
std::string GetValueAsString () const override
 
bool ToJSON (nlohmann::json &) const override
 Serialize property value(s) to JSON. More...
 
bool FromJSON (const nlohmann::json &) override
 Deserialize property value(s) from JSON. More...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
- Public Member Functions inherited from mitk::BaseProperty
 mitkClassMacroItkParent (BaseProperty, itk::Object)
 
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 Pointer New ()
 

Protected Member Functions

 Point3iProperty ()
 
 Point3iProperty (const Point3iProperty &)
 
 Point3iProperty (Point3I x)
 
- Protected Member Functions inherited from mitk::GenericProperty< Point3I >
 GenericProperty ()
 
 GenericProperty (Point3I x)
 
 GenericProperty (const GenericProperty &other)
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
 ~BaseProperty () override
 

Additional Inherited Members

- Public Types inherited from mitk::GenericProperty< Point3I >
typedef Point3I ValueType
 
- 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...
 
- Protected Attributes inherited from mitk::GenericProperty< Point3I >
Point3I m_Value
 

Detailed Description

Definition at line 42 of file mitkProperties.h.

Constructor & Destructor Documentation

◆ Point3iProperty() [1/3]

mitk::Point3iProperty::Point3iProperty ( )
protected

◆ Point3iProperty() [2/3]

mitk::Point3iProperty::Point3iProperty ( const Point3iProperty )
protected

◆ Point3iProperty() [3/3]

mitk::Point3iProperty::Point3iProperty ( Point3I  x)
protected

Member Function Documentation

◆ Clone()

Pointer mitk::Point3iProperty::Clone ( ) const

◆ FromJSON()

bool mitk::Point3iProperty::FromJSON ( const nlohmann::json j)
overridevirtual

Deserialize property value(s) from JSON.

Rely on exceptions for error handling when implementing deserialization.

Returns
False if not deserializable by design, true otherwise.

Implements mitk::BaseProperty.

◆ mitkClassMacro()

mitk::Point3iProperty::mitkClassMacro ( Point3iProperty  ,
GenericProperty< Point3I  
)

◆ mitkNewMacro1Param()

mitk::Point3iProperty::mitkNewMacro1Param ( Point3iProperty  ,
Point3I   
)

◆ New()

static Pointer mitk::Point3iProperty::New ( )
static

◆ operator=()

BaseProperty& mitk::BaseProperty::operator=

Assigns property to this BaseProperty instance.

Subclasses must implement Assign(const BaseProperty&) and call the superclass Assign method for proper handling of polymorphic assignments. The assignment operator of the subclass should be disabled and the baseclass operator should be made visible using "using" statements.

◆ ToJSON()

bool mitk::Point3iProperty::ToJSON ( nlohmann::json j) const
overridevirtual

Serialize property value(s) to JSON.

Rely on exceptions for error handling when implementing serialization.

Returns
False if not serializable by design, true otherwise.

Implements mitk::BaseProperty.


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