1 #ifndef __CPPLUGINS__INTERFACE__POINTLIST__H__
2 #define __CPPLUGINS__INTERFACE__POINTLIST__H__
4 #include <cpPlugins/Interface/DataObject.h>
12 class cpPlugins_Interface_EXPORT PointList
16 typedef PointList Self;
17 typedef DataObject Superclass;
18 typedef itk::SmartPointer< Self > Pointer;
19 typedef itk::SmartPointer< const Self > ConstPointer;
23 itkTypeMacro( PointList, DataObject );
24 cpPlugins_Id_Macro( PointList, DataObject );
26 itkBooleanMacro( HaveEuclideanPoints );
27 itkGetConstMacro( HaveEuclideanPoints, bool );
28 itkSetMacro( HaveEuclideanPoints, bool );
31 bool HaveEuclideanPoints( ) const;
32 unsigned long GetNumberOfPoints( ) const;
37 inline void AddPoint( const P& p );
40 inline P GetPoint( const unsigned long& i ) const;
44 virtual ~PointList( );
47 // Purposely not implemented
48 PointList( const Self& );
49 Self& operator=( const Self& );
52 unsigned long m_NumberOfPoints;
53 bool m_HaveEuclideanPoints;
60 #include <cpPlugins/Interface/PointList.hxx>
62 #endif // __CPPLUGINS__INTERFACE__POINTLIST__H__