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 );
27 unsigned long GetNumberOfPoints( ) const;
32 inline void AddPoint( const P& p );
35 inline P GetPoint( const unsigned long& i ) const;
39 virtual ~PointList( );
42 // Purposely not implemented
43 PointList( const Self& );
44 Self& operator=( const Self& );
47 unsigned long m_NumberOfPoints;
54 #include <cpPlugins/Interface/PointList.hxx>
56 #endif // __CPPLUGINS__INTERFACE__POINTLIST__H__