18#ifndef itkContourSpatialObject_h
19#define itkContourSpatialObject_h
50extern ITKSpatialObjects_EXPORT std::ostream &
68template <
unsigned int TDimension = 3>
94#if !defined(ITK_LEGACY_REMOVE)
99 static constexpr InterpolationMethodEnum EXPLICIT_INTERPOLATION = InterpolationMethodEnum::EXPLICIT_INTERPOLATION;
123 const ControlPointListType &
166 itkSetMacro(InterpolationFactor,
unsigned int);
169 itkGetConstMacro(InterpolationFactor,
unsigned int);
172 itkSetMacro(IsClosed,
bool);
175 itkGetConstMacro(IsClosed,
bool);
177 itkBooleanMacro(IsClosed);
185 itkSetMacro(AttachedToSlice,
int);
189 itkGetConstMacro(AttachedToSlice,
int);
219#ifndef ITK_MANUAL_INSTANTIATION
220# include "itkContourSpatialObject.hxx"
Point used for a Contour definition.
int m_OrientationInObjectSpace
InterpolationMethodEnum m_InterpolationMethod
ControlPointType * GetControlPoint(IdentifierType id)
SmartPointer< const Self > ConstPointer
int GetOrientationInObjectSpace() const
~ContourSpatialObject() override=default
ModifiedTimeType m_OrientationInObjectSpaceMTime
ControlPointListType & GetControlPoints()
unsigned int m_InterpolationFactor
ContourSpatialObjectEnums::InterpolationMethod InterpolationMethodEnum
ContourSpatialObject Self
ContourPointListType m_ControlPoints
std::vector< ContourPointType > ContourPointListType
std::vector< ControlPointType > ControlPointListType
PointBasedSpatialObject< TDimension, ContourSpatialObjectPoint< TDimension > > Superclass
void SetControlPoints(const ControlPointListType &points)
void AddControlPoint(const ControlPointType &point)
SizeValueType GetNumberOfControlPoints() const
const ControlPointType * GetControlPoint(IdentifierType id) const
SmartPointer< Self > Pointer
LightObject::Pointer InternalClone() const override
ContourSpatialObjectPoint< TDimension > ControlPointType
SmartPointer< PointContainerType > PointContainerPointer
ContourSpatialObjectPoint< TDimension > ContourPointType
VectorContainer< PointType > PointContainerType
void PrintSelf(std::ostream &os, Indent indent) const override
const ControlPointListType & GetControlPoints() const
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
AffineTransform< ScalarType, VDimension > TransformType
PointBasedSpatialObject()
Point< ScalarType, VDimension > PointType
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
unsigned long SizeValueType
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer
SizeValueType ModifiedTimeType