/** Run-time type information (and related methods). */
itkTypeMacro(MacheteImageFilter, ImageToImageFilter);
+
+ typedef typename I::PixelType RadiusType;
+ //typedef typename I::SizeValueType RadiusValueType;
+
+ itkGetConstReferenceMacro(Radius, RadiusType);
- void SetRadius(double radius);
- void SetPoint(itk::Point<double, 3> point);
+
+ void SetRadius(const RadiusType & rad);
+ //void SetRadius(const RadiusValueType & rad);
+
+ void SetPoint(itk::Point<double, 3> & point);
+ void SetPoint(const double & x, const double & y, const double & z);
protected:
MacheteImageFilter(){}
/** Does the real work. */
virtual void GenerateData();
+ RadiusType m_Radius;
+ itk::Point<double, 3> point;
private:
MacheteImageFilter(const Self &); //purposely not implemented
void operator=(const Self &); //purposely not implemented
- double radius;
- itk::Point<double, 3> point;
+
};
} // ecapseman