1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef __clitkPointListReader_h
19 #define __clitkPointListReader_h
20 #include "clitkPointListReader.h"
26 template <unsigned int Dimension>
27 class ITK_EXPORT PointListReader :
28 public itk::LightObject
31 //------------------------------------
32 // Standard itk typedefs
33 //-----------------------------------
34 typedef PointListReader Self;
35 typedef LightObject Superclass;
36 typedef itk::SmartPointer<Self> Pointer;
37 typedef itk::SmartPointer<const Self> ConstPointer;
39 /** Method for creation through the object factory. */
42 /** Run-time type information (and related methods). */
43 itkTypeMacro(PointListReader, PointListReader);
46 typedef itk::Point<double, Dimension> PointType;
47 typedef std::vector<PointType> PointListType;
48 typedef std::vector< PointListType> PointListsType;
50 void SetVerbose(bool a){m_Verbose=a;}
51 PointListType Read(const std::string &);
52 PointListsType Read(char**, const unsigned int &);
57 // Constructor & Destructor
67 #ifndef ITK_MANUAL_INSTANTIATION
68 #include "clitkPointListReader.txx"