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;
148 bool ValueAt(
const PointType & point,
double & value,
149 unsigned int depth = 0,
char *name = ITK_NULLPTR)
const ITK_OVERRIDE;
152 bool IsInside(
const PointType & point,
153 unsigned int depth,
char *name)
const ITK_OVERRIDE;
158 virtual bool IsInside(
const PointType & point)
const;
165 void operator=(
const Self &) ITK_DELETE_FUNCTION;
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
SmartPointer< const Self > ConstPointer
Superclass::PointType PointType
void operator=(const Self &) ITK_DELETE_FUNCTION
void SetInterpolationType(InterpolationType interpolation)
Superclass::TransformType TransformType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.
virtual ~ContourSpatialObject()
InterpolationType GetInterpolationType() const
InterpolatedPointType * GetInterpolatedPoint(IdentifierType id)
unsigned long SizeValueType
InterpolationType m_InterpolationType
std::vector< ControlPointType > ControlPointListType
bool IsEvaluableAt(const PointType &point, unsigned int depth=0, char *name=nullptr) const override
bool ComputeLocalBoundingBox(void) const override
Point used for a Contour definition.
SizeValueType IdentifierType
Superclass::BoundingBoxType BoundingBoxType
SizeValueType GetNumberOfInterpolatedPoints(void) const
void SetInterpolatedPoints(InterpolatedPointListType &newPoints)
PointBasedSpatialObject< TDimension > Superclass
bool ValueAt(const PointType &point, double &value, unsigned int depth=0, char *name=nullptr) const override
SpatialObjectPoint< TDimension > InterpolatedPointType
ControlPointListType & GetControlPoints()
SizeValueType GetNumberOfControlPoints(void) 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
virtual void PrintSelf(std::ostream &os, Indent indent) const override
InterpolatedPointListType & GetInterpolatedPoints()
std::vector< InterpolatedPointType > InterpolatedPointListType
ControlPointListType m_ControlPoints
Superclass::SpatialObjectPointType SpatialObjectPointType
ControlPointType * GetControlPoint(IdentifierType id)
SmartPointer< Self > Pointer
bool IsInside(const PointType &point, unsigned int depth, char *name) const override
SpatialObjectPoint< TDimension > SpatialObjectPointType