18 #ifndef itkContourSpatialObject_h
19 #define itkContourSpatialObject_h
38 template<
unsigned int TDimension = 3 >
121 itkSetMacro(Closed,
bool);
122 itkGetConstMacro(Closed,
bool);
126 itkSetMacro(DisplayOrientation,
int);
127 itkGetConstMacro(DisplayOrientation,
int);
132 itkSetMacro(AttachedToSlice,
int);
133 itkGetConstMacro(AttachedToSlice,
int);
142 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
149 unsigned int depth = 0,
char *name = ITK_NULLPTR) const ITK_OVERRIDE;
153 unsigned int depth,
char *name) const ITK_OVERRIDE;
165 void operator=(const Self &);
178 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkContourSpatialObject.hxx"
186 #endif // itkContourSpatialObject_h
Representation of a Contour based on the spatial object classes.
SmartPointer< PointContainerType > PointContainerPointer
BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType > BoundingBoxType
Superclass::PointType PointType
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
SmartPointer< const Self > ConstPointer
Superclass::PointType PointType
void SetInterpolationType(InterpolationType interpolation)
Superclass::TransformType TransformType
const InterpolatedPointType * GetInterpolatedPoint(IdentifierType id) const
Superclass::TransformType TransformType
VectorContainer< IdentifierType, PointType > PointContainerType
This class serves as the base class for point-based spatial objects.
InterpolationType GetInterpolationType() const
InterpolatedPointType * GetInterpolatedPoint(IdentifierType id)
unsigned long SizeValueType
InterpolationType m_InterpolationType
std::vector< ControlPointType > ControlPointListType
Point used for a Contour definition.
SizeValueType IdentifierType
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
Superclass::BoundingBoxType BoundingBoxType
SizeValueType GetNumberOfInterpolatedPoints(void) const
void SetInterpolatedPoints(InterpolatedPointListType &newPoints)
PointBasedSpatialObject< TDimension > Superclass
SpatialObjectPoint< TDimension > InterpolatedPointType
ControlPointListType & GetControlPoints()
SizeValueType GetNumberOfControlPoints(void) const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
const ControlPointType * GetControlPoint(IdentifierType id) const
ContourSpatialObject Self
Point used for spatial objets.
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
bool ComputeLocalBoundingBox(void) const override
ContourSpatialObjectPoint< TDimension > ControlPointType
Control indentation during Print() invocation.
void SetControlPoints(ControlPointListType &newPoints)
InterpolatedPointListType m_InterpolatedPoints
InterpolatedPointListType & GetInterpolatedPoints()
std::vector< InterpolatedPointType > InterpolatedPointListType
ControlPointListType m_ControlPoints
Superclass::SpatialObjectPointType SpatialObjectPointType
ControlPointType * GetControlPoint(IdentifierType id)
Base class for all data objects in ITK.
SmartPointer< Self > Pointer
SpatialObjectPoint< TDimension > SpatialObjectPointType