Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Property for clipping datasets; currently only clipping planes are possible. More...
#include <mitkClippingProperty.h>
Public Types | |
typedef ClippingProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::string | ValueType |
![]() | |
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 |
bool | GetClippingEnabled () const |
void | SetClippingEnabled (bool enabled) |
const Point3D & | GetOrigin () const |
void | SetOrigin (const Point3D &origin) |
const Vector3D & | GetNormal () const |
void | SetNormal (const Vector3D &normal) |
std::string | GetValueAsString () const override |
![]() | |
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 () |
static Pointer | New (const Point3D &_arga, const Vector3D &_argb) |
![]() | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
ClippingProperty () | |
ClippingProperty (const ClippingProperty &other) | |
ClippingProperty (const Point3D &origin, const Vector3D &normal) | |
![]() | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
~BaseProperty () override | |
Protected Attributes | |
bool | m_ClippingEnabled |
Point3D | m_Origin |
Vector3D | m_Normal |
Additional Inherited Members | |
![]() | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
Property for clipping datasets; currently only clipping planes are possible.
Definition at line 36 of file mitkClippingProperty.h.
typedef itk::SmartPointer<const Self> mitk::ClippingProperty::ConstPointer |
Definition at line 39 of file mitkClippingProperty.h.
Definition at line 39 of file mitkClippingProperty.h.
Definition at line 39 of file mitkClippingProperty.h.
Definition at line 39 of file mitkClippingProperty.h.
typedef std::string mitk::ClippingProperty::ValueType |
Definition at line 39 of file mitkClippingProperty.h.
|
protected |
Definition at line 17 of file mitkClippingProperty.cpp.
|
protected |
Definition at line 18 of file mitkClippingProperty.cpp.
|
protected |
Definition at line 26 of file mitkClippingProperty.cpp.
Pointer mitk::ClippingProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 39 of file mitkClippingProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
bool mitk::ClippingProperty::GetClippingEnabled | ( | ) | const |
Definition at line 31 of file mitkClippingProperty.cpp.
References m_ClippingEnabled.
Referenced by GetValueAsString().
const Vector3D & mitk::ClippingProperty::GetNormal | ( | ) | const |
Definition at line 51 of file mitkClippingProperty.cpp.
References m_Normal.
Referenced by GetValueAsString().
const Point3D & mitk::ClippingProperty::GetOrigin | ( | ) | const |
Definition at line 41 of file mitkClippingProperty.cpp.
References m_Origin.
Referenced by GetValueAsString().
|
inlinestatic |
Definition at line 39 of file mitkClippingProperty.h.
|
overridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 76 of file mitkClippingProperty.cpp.
References GetClippingEnabled(), GetNormal(), and GetOrigin().
|
static |
Referenced by mitkPropertySerializationTest().
|
inlinestatic |
Definition at line 46 of file mitkClippingProperty.h.
void mitk::ClippingProperty::SetClippingEnabled | ( | bool | enabled | ) |
Definition at line 32 of file mitkClippingProperty.cpp.
References m_ClippingEnabled.
void mitk::ClippingProperty::SetNormal | ( | const Vector3D & | normal | ) |
Definition at line 52 of file mitkClippingProperty.cpp.
References m_ClippingEnabled, m_Normal, and m_Origin.
void mitk::ClippingProperty::SetOrigin | ( | const Point3D & | origin | ) |
Definition at line 42 of file mitkClippingProperty.cpp.
References m_Origin.
|
protected |
Definition at line 62 of file mitkClippingProperty.h.
Referenced by GetClippingEnabled(), SetClippingEnabled(), and SetNormal().
|
protected |
Definition at line 65 of file mitkClippingProperty.h.
Referenced by GetNormal(), and SetNormal().
|
protected |
Definition at line 64 of file mitkClippingProperty.h.
Referenced by GetOrigin(), SetNormal(), and SetOrigin().