18 #ifndef itkSpatialObjectPoint_h 19 #define itkSpatialObjectPoint_h 22 #include "vnl/vnl_vector_fixed.h" 36 template<
unsigned int TPo
intDimension = 3 >
58 void SetID(
const int newID);
68 void SetPosition(
const double x0,
const double x1,
const double x2);
76 void SetColor(
const PixelType & color);
78 void SetColor(
float r,
float g,
float b,
float a = 1);
101 void Print(std::ostream & os)
const;
119 #ifndef ITK_MANUAL_INSTANTIATION 120 #include "itkSpatialObjectPoint.hxx" 123 #endif // itkSpatialObjectPoint_h void SetID(const int newID)
virtual ~SpatialObjectPoint()
const PixelType & GetColor() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
const PointType & GetPosition() const
Point< double, TPointDimension > PointType
virtual void PrintSelf(std::ostream &os, Indent indent) const
void SetColor(const PixelType &color)
Self & operator=(const SpatialObjectPoint &rhs)
Point used for spatial objets.
void SetPosition(const PointType &newX)
Control indentation during Print() invocation.
vnl_vector< double > VectorType
RGBAPixel< float > PixelType
void Print(std::ostream &os) const