#ifndef __CPPLUGINS__INTERFACE__POINTLIST__H__ #define __CPPLUGINS__INTERFACE__POINTLIST__H__ #include namespace cpPlugins { namespace Interface { /** */ class cpPlugins_Interface_EXPORT PointList : public DataObject { public: typedef PointList Self; typedef DataObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( PointList, DataObject ); cpPlugins_Id_Macro( PointList, DataObject ); public: unsigned long GetNumberOfPoints( ) const; void Clear( ); template< class P > inline void AddPoint( const P& p ); template< class P > inline P GetPoint( const unsigned long& i ) const; protected: PointList( ); virtual ~PointList( ); private: // Purposely not implemented PointList( const Self& ); Self& operator=( const Self& ); protected: unsigned long m_NumberOfPoints; }; } // ecapseman } // ecapseman #include #endif // __CPPLUGINS__INTERFACE__POINTLIST__H__ // eof - $RCSfile$