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