creaImageIO_lib
|
Concrete image reader for ultrasonix 'rf' files. More...
#include <creaImageIOUltrasonixImageReader.h>
Public Member Functions | |
UltrasonixImageReader () | |
virtual | ~UltrasonixImageReader () |
virtual void | PushBackExtensions (std::vector< std::string > &) |
Add file extensions read by the reader. More... | |
virtual bool | CanRead (const std::string &filename) |
Test if file is read by this reader. More... | |
virtual vtkImageData * | ReadImage (const std::string &filename) |
return for a file a 2D VTkImage More... | |
virtual void | ReadAttributes (const std::string &filename, tree::AttributeMapType &attr) |
Read the attributes for a file. More... | |
virtual void | getAttributes (const std::string filename, std::map< std::string, std::string > &infos, std::vector< std::string > i_attr) |
Another function to read attributes for a file. More... | |
const std::string & | GetName () const |
Get the reader's name. More... | |
Protected Member Functions | |
void | SetName (const std::string &s) |
Set the reader's name. More... | |
Concrete image reader for ultrasonix 'rf' files.
Definition at line 43 of file creaImageIOUltrasonixImageReader.h.
creaImageIO::UltrasonixImageReader::UltrasonixImageReader | ( | ) |
Definition at line 47 of file creaImageIOUltrasonixImageReader.cpp.
References creaImageIO::AbstractImageReader::SetName().
|
virtual |
Definition at line 54 of file creaImageIOUltrasonixImageReader.cpp.
|
virtual |
Test if file is read by this reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 88 of file creaImageIOUltrasonixImageReader.cpp.
References creaImageIO::Ultrasonix_header::frame, HEADER_SIZE, creaImageIO::Ultrasonix_header::height, creaImageIO::ReadHeader(), creaImageIO::Ultrasonix_header::type, TYPE_B32, TYPE_RF, and creaImageIO::Ultrasonix_header::width.
|
virtual |
Another function to read attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 120 of file creaImageIOUltrasonixImageReader.cpp.
|
inlineinherited |
Get the reader's name.
Definition at line 56 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by creaImageIO::VtkImageReader::ReadImage().
|
virtual |
Add file extensions read by the reader.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 213 of file creaImageIOUltrasonixImageReader.cpp.
|
virtual |
Read the attributes for a file.
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 222 of file creaImageIOUltrasonixImageReader.cpp.
References creaImageIO::Ultrasonix_header::frame, creaImageIO::Ultrasonix_header::frequency, GimmickMessage, creaImageIO::Ultrasonix_header::height, creaImageIO::ReadHeader(), creaImageIO::Ultrasonix_header::samplingRate, and creaImageIO::Ultrasonix_header::width.
|
virtual |
return for a file a 2D VTkImage
Reimplemented from creaImageIO::AbstractImageReader.
Definition at line 127 of file creaImageIOUltrasonixImageReader.cpp.
References creaImageIO::Ultrasonix_header::frame, creaImageIO::Ultrasonix_header::height, creaImageIO::ReadHeader(), creaImageIO::Ultrasonix_header::type, TYPE_B32, TYPE_B8, TYPE_RF, and creaImageIO::Ultrasonix_header::width.
|
inlineprotectedinherited |
Set the reader's name.
Definition at line 79 of file creaImageIOAbstractImageReader.h.
References creaImageIO::AbstractImageReader::mName.
Referenced by creaImageIO::DicomImageReader::DicomImageReader(), UltrasonixImageReader(), and creaImageIO::VtkImageReader::VtkImageReader().