16 #ifndef ossimGeneralRasterInfo_HEADER 17 #define ossimGeneralRasterInfo_HEADER 1 47 ZEROES_TO_NULL_EDGES_ONLY
65 ossimFillMode nullsMode,
98 const ossimIpt& subImageOffset()
const;
179 inline std::streamoff offsetToFirstValidSample()
const;
181 const std::vector<ossimFilename>& getImageFileList()
const;
183 void setImageFileList(
const std::vector<ossimFilename>& list);
198 void setImageRect(
const ossimIrect& imageRect);
200 void setValidImageRect(
const ossimIrect &imageRect);
202 void setRawImageRect(
const ossimIrect &imageRect);
204 void setSubImageOffset(
const ossimIpt& d);
214 const char* prefix=0)
const;
221 const char* prefix=0);
259 bool initializeFromEnviHdr(
const ossimFilename& headerFile );
ossim_int32 validSamples() const
Returns the number of samples within "theValidImageRect".
ossim_int32 bytesPerPixel() const
Bytes per pixel.
ossim_int32 theHeaderSize
Size of header in bytes.
ossimIrect theValidImageRect
The rectangle representing where the valid part of the image lies within "theRawImageRect".
ossim_int32 headerSize() const
Returns the size of header in bytes.
ossim_int32 thePixelsToChop
Amount of pixels to chop for each line edge.
const ossimIrect & validImageRect() const
Returns the rectangle of where the image is within the raster file.
Represents serializable keyword/value map.
ossimByteOrder theImageDataByteOrder
The byte order the image data is stored in.
ossimInterleaveType interleaveType() const
Enumerated in InterleaveTypeLUT.
std::streamoff offsetToFirstValidSample() const
Returns the offset in bytes to the first valid sample in the image.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
ossim_uint32 height() const
ossimImageMetaData theMetaData
std::vector< ossimFilename > theImageFileList
const ossimIpt & ul() const
ossim_int32 bytesPerRawLine() const
Returns the number of bytes in a raw line.
OSSIM_DLL ossimByteOrder byteOrder()
ossim_int32 bytesPerValidLine() const
Returns the number of bytes in a valid line.
ossim_int32 validLines() const
Returns the number of lines within "theValidImageRect".
virtual std::ostream & print(std::ostream &out) const
Generic print method.
ossimInterleaveType theInterleaveType
unsigned int ossim_uint32
ossim_int32 rawLines() const
Returns the number of lines within "theRawImageRect".
ossimFillMode theSetNullsMode
Mode of how to handle pixels on import.
ossim_int32 rawSamples() const
Returns the number of samples within "theRawImageRect".
ossim_uint32 width() const
OSSIM_DLL ossim_uint32 getBitsPerPixel(ossimScalarType scalarType)
Get bits per pixel for a given scalar type.
ossimIrect theImageRect
The valid image rectangle normalized to be zero based.
ossimIpt theSubImageOffset
The offset from the full-image origin to this image's origin.
ossimIrect theRawImageRect
The zero based rectangle of the entire image not including any header.
ossimReferenced & operator=(const ossimReferenced &)
const ossimImageMetaData & getImageMetaData() const
ossim_int32 numberOfBands() const
Number of bands.
std::basic_ostream< char > ostream
Base class for char output streams.