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 __clitkPointListWriter_h
19 #define __clitkPointListWriter_h
20 #include "clitkPointListWriter.h"
26 template <unsigned int Dimension>
27 class ITK_EXPORT PointListWriter :
28 public itk::LightObject
31 //------------------------------------
32 // Standard itk typedefs
33 //-----------------------------------
34 typedef PointListWriter 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(PointListWriter, LightObject);
46 typedef itk::Point<double, Dimension> PointType;
47 typedef std::vector<PointType> PointListType;
48 typedef std::vector< PointListType> PointListsType;
49 typedef itk::Vector<float, Dimension> DisplacementType;
50 typedef std::vector<DisplacementType> DisplacementListType;
51 typedef std::vector< DisplacementListType> DisplacementListsType;
54 void Write(const PointListType & , const std::string &);
55 void Write(const PointListsType & , char** );
56 void Write(const PointListsType & , const std::string &){;};
58 void Write(const DisplacementListType & , const std::string &);
59 void Write(const DisplacementListsType & , char**);
60 void Write(const DisplacementListsType & , const std::string &){;};
65 // Constructor & Destructor+
74 #ifndef ITK_MANUAL_INSTANTIATION
75 #include "clitkPointListWriter.txx"