17 #ifndef MITKCLIPPINGPROPERTY_H_HEADER_INCLUDED
18 #define MITKCLIPPINGPROPERTY_H_HEADER_INCLUDED
24 #include <itkConfigure.h>
32 #pragma warning(disable : 4522)
47 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
50 bool GetClippingEnabled() const;
51 void SetClippingEnabled(
bool enabled);
53 const Point3D &GetOrigin() const;
54 void SetOrigin(const Point3D &origin);
56 const Vector3D &GetNormal() const;
57 void SetNormal(const Vector3D &normal);
59 virtual
std::
string GetValueAsString() const override;
64 bool m_ClippingEnabled;
70 ClippingProperty(const ClippingProperty &other);
71 ClippingProperty(const Point3D &origin, const Vector3D &normal);
75 ClippingProperty &operator=(const ClippingProperty &);
77 virtual
bool IsEqual(const
BaseProperty &property) const override;
78 virtual
bool Assign(const
BaseProperty &property) override;
80 virtual
itk::LightObject::
Pointer InternalClone() const override;
Property for clipping datasets; currently only clipping planes are possible.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)