18 #ifndef __itkContourSpatialObject_h
19 #define __itkContourSpatialObject_h
38 template<
unsigned int TDimension = 3 >
78 {
return &( m_ControlPoints[id] ); }
82 {
return &( m_ControlPoints[id] ); }
86 {
return m_ControlPoints.size(); }
89 InterpolatedPointListType & GetInterpolatedPoints(
void);
92 const InterpolatedPointListType & GetInterpolatedPoints(
void)
const;
95 void SetInterpolatedPoints(InterpolatedPointListType & newPoints);
99 {
return &( m_InterpolatedPoints[id] ); }
103 {
return &( m_InterpolatedPoints[id] ); }
107 {
return m_InterpolatedPoints.size(); }
111 LINEAR_INTERPOLATION };
115 {
return m_InterpolationType; }
117 { m_InterpolationType = interpolation; }
121 itkSetMacro(Closed,
bool);
122 itkGetConstMacro(Closed,
bool);
126 itkSetMacro(DisplayOrientation,
int);
127 itkGetConstMacro(DisplayOrientation,
int);
132 itkSetMacro(AttachedToSlice,
int);
133 itkGetConstMacro(AttachedToSlice,
int);
141 bool IsEvaluableAt(
const PointType & point,
142 unsigned int depth = 0,
char *name =
NULL)
const;
148 bool ValueAt(
const PointType & point,
double & value,
149 unsigned int depth = 0,
char *name =
NULL)
const;
152 bool IsInside(
const PointType & point,
153 unsigned int depth,
char *name)
const;
158 virtual bool IsInside(
const PointType & point)
const;
161 bool ComputeLocalBoundingBox(
void)
const;
165 void operator=(
const Self &);
178 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkContourSpatialObject.hxx"
186 #endif // __itkContourSpatialObject_h