|
last update 20 Sep 2009 |
|
#include <cvrIOImageInterface.h>


Public Member Functions | |
| headerInformation () | |
| headerInformation (const headerInformation &other) | |
| virtual const std::string & | name () const |
| virtual headerInformation * | clone () const |
| virtual headerInformation * | newInstance () const |
| headerInformation & | copy (const headerInformation &other) |
| headerInformation & | operator= (const headerInformation &other) |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
| std::string | type |
| ipoint | size |
| int | bpp |
| int | colorEntries |
All inherited classes have to provide a way to get information from the file without reading it completely. The information can vary among the file formats, but usually this common data set can be obtained.
| cvr::ioImageInterface::ioImageInterface::headerInformation::headerInformation | ( | ) |
Default constructor.
| cvr::ioImageInterface::ioImageInterface::headerInformation::headerInformation | ( | const headerInformation & | other | ) |
Default constructor.
| virtual headerInformation* cvr::ioImageInterface::ioImageInterface::headerInformation::clone | ( | ) | const [virtual] |
| headerInformation& cvr::ioImageInterface::ioImageInterface::headerInformation::copy | ( | const headerInformation & | other | ) |
Copy.
| virtual const std::string& cvr::ioImageInterface::ioImageInterface::headerInformation::name | ( | ) | const [virtual] |
| virtual headerInformation* cvr::ioImageInterface::ioImageInterface::headerInformation::newInstance | ( | ) | const [virtual] |
| headerInformation& cvr::ioImageInterface::ioImageInterface::headerInformation::operator= | ( | const headerInformation & | other | ) |
Copy.
| virtual bool cvr::ioImageInterface::ioImageInterface::headerInformation::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [virtual] |
Read the parameters from the given ioHandler.
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::ioObject.
| virtual bool cvr::ioImageInterface::ioImageInterface::headerInformation::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [virtual] |
Write the parameters in the given ioHandler.
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::ioObject.
| int cvr::ioImageInterface::ioImageInterface::headerInformation::bpp |
Number of bits per pixel in the file.
| int cvr::ioImageInterface::ioImageInterface::headerInformation::colorEntries |
Number of color entries in an internal palette, which usually has to be less than 2^bpp, and zero if there is no palette.
| ipoint cvr::ioImageInterface::ioImageInterface::headerInformation::size |
Size of the image in the file.
| std::string cvr::ioImageInterface::ioImageInterface::headerInformation::type |
A std::string coding the data type.
It is usually a 3-characters long string.