]> Creatis software - creaImageIO.git/blob - src/creaImageIOUltrasonixImageReader.h
2e33dc0953752f5acea40720d1a0ddad3bbac5c0
[creaImageIO.git] / src / creaImageIOUltrasonixImageReader.h
1 #ifndef __creaImageIOUltrasonixImageReader_h_INCLUDED__
2 #define __creaImageIOUltrasonixImageReader_h_INCLUDED__
3
4 #include <creaImageIOAbstractImageReader.h>
5 #include <creaImageIOSystem.h>
6
7 namespace creaImageIO
8 {
9   /**
10    * \ingroup IO
11    */
12   
13   //=====================================================================
14   /// Concrete image reader for ultrasonix 'rf' files
15   class CREAIMAGEIO_EXPORT UltrasonixImageReader : virtual public AbstractImageReader
16   {
17   public:
18     UltrasonixImageReader();
19
20     virtual ~UltrasonixImageReader();
21         /// Add file extensions read by the reader
22     virtual void PushBackExtensions(std::vector<std::string>&);
23         /// Test if file is read by this reader
24     virtual bool CanRead(const std::string& filename);
25         /// return for a file a 2D VTkImage
26     virtual vtkImageData* ReadImage(const std::string& filename);
27         /// Read the attributes for a file
28     virtual void ReadAttributes(const std::string& filename, 
29                                 tree::AttributeMapType& attr);
30
31          virtual void getAttributes(const std::string filename,
32                 std::map <std::string , std::string> &infos, std::vector<std::string> i_attr);
33
34   };
35   //=====================================================================
36
37 } // namespace creaImageIO
38
39 #endif // #ifndef __creaImageIOUltrasonixImageReader_h_INCLUDED__