18 #ifndef itkContourSpatialObject_h
19 #define itkContourSpatialObject_h
50 extern ITKSpatialObjects_EXPORT std::ostream &
68 template <
unsigned int TDimension = 3>
88 using typename Superclass::TransformType;
89 using typename Superclass::BoundingBoxType;
94 #if !defined(ITK_LEGACY_REMOVE)
99 static constexpr
InterpolationMethodEnum EXPLICIT_INTERPOLATION = InterpolationMethodEnum::EXPLICIT_INTERPOLATION;
119 return m_ControlPoints;
123 const ControlPointListType &
126 return m_ControlPoints;
131 SetControlPoints(
const ControlPointListType & points);
135 AddControlPoint(
const ControlPointType &
point);
138 const ControlPointType *
141 return &(m_ControlPoints[id]);
148 return &(m_ControlPoints[id]);
155 return static_cast<SizeValueType>(m_ControlPoints.size());
159 itkSetEnumMacro(InterpolationMethod, InterpolationMethodEnum);
162 itkGetConstMacro(InterpolationMethod, InterpolationMethodEnum);
166 itkSetMacro(InterpolationFactor,
unsigned int);
169 itkGetConstMacro(InterpolationFactor,
unsigned int);
172 itkSetMacro(IsClosed,
bool);
175 itkGetConstMacro(IsClosed,
bool);
177 itkBooleanMacro(IsClosed);
181 GetOrientationInObjectSpace()
const;
185 itkSetMacro(AttachedToSlice,
int);
189 itkGetConstMacro(AttachedToSlice,
int);
201 PrintSelf(std::ostream & os,
Indent indent)
const override;
204 InternalClone()
const override;
210 unsigned int m_InterpolationFactor{};
212 mutable bool m_IsClosed{};
213 mutable int m_OrientationInObjectSpace{};
215 int m_AttachedToSlice{};
219 #ifndef ITK_MANUAL_INSTANTIATION
220 # include "itkContourSpatialObject.hxx"
223 #endif // itkContourSpatialObject_h