Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::GradientDirectionsProperty Class Reference

#include <mitkGradientDirectionsProperty.h>

Inheritance diagram for mitk::GradientDirectionsProperty:
Collaboration diagram for mitk::GradientDirectionsProperty:

Public Types

typedef unsigned int IndexType
 
typedef vnl_vector_fixed< double, 3 > ValueType
 
typedef ValueType GradientDirectionType
 
typedef itk::VectorContainer< IndexType, GradientDirectionTypeGradientDirectionsContainerType
 
typedef std::vector< itk::Vector< double, 3 > > AlternativeGradientDirectionsContainerType
 
- 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

 mitkClassMacro (GradientDirectionsProperty, BaseProperty) static Pointer New()
 
Pointer Clone () const
 
 mitkNewMacro1Param (GradientDirectionsProperty, const GradientDirectionsProperty &)
 
 mitkNewMacro1Param (GradientDirectionsProperty, const GradientDirectionsContainerType::Pointer)
 
 mitkNewMacro1Param (GradientDirectionsProperty, const AlternativeGradientDirectionsContainerType)
 
const GradientDirectionsContainerType::Pointer GetGradientDirectionsContainer () const
 
- Public Member Functions inherited from mitk::BaseProperty
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...
 
BasePropertyoperator= (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
bool AssignProperty (const BaseProperty &property)
 Assigns property to this BaseProperty instance. More...
 
virtual std::string GetValueAsString () const
 

Protected Member Functions

 GradientDirectionsProperty ()
 
 ~GradientDirectionsProperty ()
 
 GradientDirectionsProperty (const GradientDirectionsProperty &other)
 
 GradientDirectionsProperty (const GradientDirectionsContainerType::Pointer gradientDirectionsContainer)
 
 GradientDirectionsProperty (const AlternativeGradientDirectionsContainerType gradientDirectionsContainer)
 
virtual bool IsEqual (const BaseProperty &property) const override
 
virtual bool Assign (const BaseProperty &property) override
 
virtual itk::LightObject::Pointer InternalClone () const override
 
- Protected Member Functions inherited from mitk::BaseProperty
 BaseProperty ()
 
 BaseProperty (const BaseProperty &other)
 
virtual ~BaseProperty ()
 

Protected Attributes

GradientDirectionsContainerType::Pointer m_GradientDirectionsContainer
 

Additional Inherited Members

- Static Public Member Functions inherited from mitk::BaseProperty
static const char * GetStaticNameOfClass ()
 
- 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

This property will store the gradients directions and the original gradient directions

Definition at line 31 of file mitkGradientDirectionsProperty.h.

Member Typedef Documentation

Definition at line 38 of file mitkGradientDirectionsProperty.h.

Definition at line 34 of file mitkGradientDirectionsProperty.h.

typedef vnl_vector_fixed< double, 3 > mitk::GradientDirectionsProperty::ValueType

Definition at line 35 of file mitkGradientDirectionsProperty.h.

Constructor & Destructor Documentation

mitk::GradientDirectionsProperty::GradientDirectionsProperty ( )
protected
mitk::GradientDirectionsProperty::~GradientDirectionsProperty ( )
protected

Definition at line 45 of file mitkGradientDirectionsProperty.cpp.

mitk::GradientDirectionsProperty::GradientDirectionsProperty ( const GradientDirectionsProperty other)
protected
mitk::GradientDirectionsProperty::GradientDirectionsProperty ( const GradientDirectionsContainerType::Pointer  gradientDirectionsContainer)
protected

Definition at line 30 of file mitkGradientDirectionsProperty.cpp.

mitk::GradientDirectionsProperty::GradientDirectionsProperty ( const AlternativeGradientDirectionsContainerType  gradientDirectionsContainer)
protected

Definition at line 35 of file mitkGradientDirectionsProperty.cpp.

References mitk::New().

Member Function Documentation

bool mitk::GradientDirectionsProperty::Assign ( const BaseProperty )
overrideprotectedvirtual

Override this method in subclasses to implement a meaningful assignment. The property argument is guaranteed to be castable to the type of the implementing subclass.

Warning
This is not yet exception aware/safe and if this method returns false, this property's state might be undefined.
Returns
True if the argument could be assigned to this property.

Implements mitk::BaseProperty.

Definition at line 72 of file mitkGradientDirectionsProperty.cpp.

Pointer mitk::GradientDirectionsProperty::Clone ( ) const
const mitk::GradientDirectionsProperty::GradientDirectionsContainerType::Pointer mitk::GradientDirectionsProperty::GetGradientDirectionsContainer ( ) const
itk::LightObject::Pointer mitk::GradientDirectionsProperty::InternalClone ( ) const
overrideprotectedvirtual

Definition at line 78 of file mitkGradientDirectionsProperty.cpp.

bool mitk::GradientDirectionsProperty::IsEqual ( const BaseProperty property) const
overrideprotectedvirtual

Override this method in subclasses to implement a meaningful comparison. The property argument is guaranteed to be castable to the type of the implementing subclass.

Implements mitk::BaseProperty.

Definition at line 54 of file mitkGradientDirectionsProperty.cpp.

mitk::GradientDirectionsProperty::mitkClassMacro ( GradientDirectionsProperty  ,
BaseProperty   
)
mitk::GradientDirectionsProperty::mitkNewMacro1Param ( GradientDirectionsProperty  ,
const GradientDirectionsProperty  
)
mitk::GradientDirectionsProperty::mitkNewMacro1Param ( GradientDirectionsProperty  ,
const GradientDirectionsContainerType::Pointer   
)
mitk::GradientDirectionsProperty::mitkNewMacro1Param ( GradientDirectionsProperty  ,
const AlternativeGradientDirectionsContainerType   
)

Member Data Documentation

GradientDirectionsContainerType::Pointer mitk::GradientDirectionsProperty::m_GradientDirectionsContainer
protected

Definition at line 63 of file mitkGradientDirectionsProperty.h.

Referenced by GradientDirectionsProperty().


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