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;
149 unsigned int depth = 0,
char *name =
ITK_NULLPTR)
const;
153 unsigned int depth,
char *name)
const;
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
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
Superclass::PointType PointType
void SetInterpolationType(InterpolationType interpolation)
ControlPointListType & GetControlPoints(void)
Superclass::TransformType TransformType
const InterpolatedPointType * GetInterpolatedPoint(IdentifierType id) const
Superclass::TransformType TransformType
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=ITK_NULLPTR) const
VectorContainer< IdentifierType, PointType > PointContainerType
This class serves as the base class for point-based spatial objects.
virtual ~ContourSpatialObject()
InterpolationType GetInterpolationType() const
InterpolatedPointType * GetInterpolatedPoint(IdentifierType id)
unsigned long SizeValueType
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=ITK_NULLPTR) const
InterpolationType m_InterpolationType
std::vector< ControlPointType > ControlPointListType
Point used for a Contour definition.
SizeValueType IdentifierType
Superclass::BoundingBoxType BoundingBoxType
SizeValueType GetNumberOfInterpolatedPoints(void) const
void SetInterpolatedPoints(InterpolatedPointListType &newPoints)
PointBasedSpatialObject< TDimension > Superclass
bool ComputeLocalBoundingBox(void) const
SpatialObjectPoint< TDimension > InterpolatedPointType
SizeValueType GetNumberOfControlPoints(void) const
virtual void PrintSelf(std::ostream &os, Indent indent) const
const ControlPointType * GetControlPoint(IdentifierType id) const
ContourSpatialObject Self
Point used for spatial objets.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ContourSpatialObjectPoint< TDimension > ControlPointType
Control indentation during Print() invocation.
void SetControlPoints(ControlPointListType &newPoints)
InterpolatedPointListType m_InterpolatedPoints
bool IsInside(const PointType &point, unsigned int depth, char *name) const
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
InterpolatedPointListType & GetInterpolatedPoints(void)