#include <mi32/hdf4.h>

Classes | |
| class | INFO |
Public Types | |
| enum | INTERLACE { INTERLACE_Pixel = 0, INTERLACE_Line = 1, INTERLACE_Component = 2 } |
Public Member Functions | |
| HDF4_RASTER () | |
| virtual | ~HDF4_RASTER () |
| void | Close () |
| virtual int | FindAttrib (const char *name) const |
| virtual ERRVALUE | GetAttrib (int index, HDF4_ATTRIB &attrib) const |
| ERRVALUE | GetInfo (INFO &info) const |
| virtual ERRVALUE | GetName (HDF4_NAME &name) const |
| virtual int | GetNumAttribs () const |
| ERRVALUE | Open (const HDF4_FILE &file, int index) |
| ERRVALUE | Read (INT32 ystart, INT32 xstart, INT32 ycount, INT32 xcount, void *buffer) const |
| ERRVALUE | SetInterlace (INTERLACE interlace) |
| HDF4_RASTER::HDF4_RASTER | ( | ) |
Default constructor.
| virtual HDF4_RASTER::~HDF4_RASTER | ( | ) | [virtual] |
Destructor.
| void HDF4_RASTER::Close | ( | ) |
Close raster.
| virtual int HDF4_RASTER::FindAttrib | ( | const char * | name | ) | const [virtual] |
Find attribute index by name.
| name | Attribute name to search for |
Implements HDF4_OBJECT.
| virtual ERRVALUE HDF4_RASTER::GetAttrib | ( | int | index, | |
| HDF4_ATTRIB & | attrib | |||
| ) | const [virtual] |
Get specific attribute.
| index | Attribute index within raster | |
| attrib | Attribute instance returned |
Implements HDF4_OBJECT.
Get raster information.
| info | Information container returned. |
| virtual int HDF4_RASTER::GetNumAttribs | ( | ) | const [virtual] |
Get number of attributes in this object.
Implements HDF4_OBJECT.
| ERRVALUE HDF4_RASTER::Read | ( | INT32 | ystart, | |
| INT32 | xstart, | |||
| INT32 | ycount, | |||
| INT32 | xcount, | |||
| void * | buffer | |||
| ) | const |
Read from raster.
Note, this will read all components, so allow for that in buffer.
| ystart | Starting Y (line) coordinate | |
| xstart | Starting X (column) coordinate | |
| ycount | Number of Y pixels (lines) to read | |
| xcount | Number of X pixels (columns) to read | |
| buffer | Buffer to read into |
1.6.1