|
virtual void | ReadHeader ()=0 |
|
| Cifstream (const char *=NULL) |
| Constructor.
|
|
void | Close () |
| Close file.
|
|
MIRTK_Common_DEPRECATED int | IsSwapped () const |
|
MIRTK_Common_DEPRECATED void | IsSwapped (int) |
|
void | Open (const char *) |
| Open file.
|
|
bool | Read (char *, long, long) |
| Read n data as array (possibly compressed) from offset.
|
|
bool | ReadAsChar (char *, long, long=-1) |
| Read n data as array of char (possibly compressed) from offset.
|
|
bool | ReadAsDouble (double *, long, long=-1) |
| Read n data as array of unsigned short (possibly compressed) from offset.
|
|
bool | ReadAsFloat (float *, long, long offset=-1) |
| Read n data as array of short compressed) from offset.
|
|
bool | ReadAsInt (int *, long, long=-1) |
| Read n data as array of short (possibly compressed) from offset.
|
|
bool | ReadAsShort (short *, long, long=-1) |
| Read n data as array of short (possibly compressed) from offset.
|
|
bool | ReadAsString (char *, long, long=-1) |
| Read n data as string (possibly compressed) from current position.
|
|
bool | ReadAsUChar (unsigned char *, long, long=-1) |
| Read n data as array of unsigned char (possibly compressed) from offset.
|
|
bool | ReadAsUInt (unsigned int *, long, long=-1) |
| Read n data as array of unsigned short (possibly compressed) from offset.
|
|
bool | ReadAsUShort (unsigned short *, long, long=-1) |
| Read n data as array of unsigned short (possibly compressed) from offset.
|
|
void | Seek (long) |
| Go to position in file.
|
|
long | Tell () const |
| Current position in file.
|
|
| ~Cifstream () |
| Destructor.
|
|
template<typename... Args> |
void | Throw (ErrorType err, const char *func, Args... args) const |
|
virtual const char * | NameOfClass () const =0 |
| Get name of class, which this object is an instance of.
|
|
virtual ParameterList | Parameter () const |
| Get parameter name/value pairs.
|
|
bool | Parameter (const ParameterList &) |
| Set parameters from name/value pairs.
|
|
virtual bool | Set (const char *name, const char *value) |
|
virtual | ~Object () |
| Destructor.
|
|
Abstract base class for any general file to image filter.
This is the abstract base class which defines a common interface for all filters which take a filename (referrencing an image file) as input and produce an image as output. For each file format a derived class should be created. Each derived class has to implement abstract member functions ReadHeader() and CheckHeader().
Definition at line 40 of file ImageReader.h.