Changeset 100
- Timestamp:
- 01/22/99 12:39:26 (9 years ago)
- Files:
-
- trunk/frmts/hfa/hfa_p.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/frmts/hfa/hfa_p.h
r65 r100 2 2 * $Id$ 3 3 * 4 * Name: hfa_p.h5 4 * Project: Erdas Imagine (.img) Translator 6 5 * Purpose: Private class declarations for the HFA classes used to read … … 32 31 * 33 32 * $Log$ 33 * Revision 1.3 1999/01/22 17:39:26 warmerda 34 * Added HFABand, and other stuff 35 * 34 36 * Revision 1.2 1999/01/04 22:52:47 warmerda 35 37 * field access working … … 54 56 class HFAType; 55 57 class HFADictionary; 58 class HFABand; 56 59 57 60 /************************************************************************/ … … 77 80 int nXSize; 78 81 int nYSize; 82 79 83 int nBands; 80 81 int nDataType; /* one of Eimg_Layer pixelType values, EPT_* */ 84 HFABand **papoBand; 85 86 void *pMapInfo; 87 void *pDatum; 88 void *pProParameters; 82 89 83 90 } HFAInfo_t; … … 86 93 87 94 #include "hfa.h" 95 96 /************************************************************************/ 97 /* HFABand */ 98 /************************************************************************/ 99 100 class HFABand 101 { 102 int nBlocks; 103 int *panBlockStart; 104 int *panBlockSize; 105 int *panBlockFlag; 106 107 #define BFLG_VALID 0x01 108 #define BFLG_COMPRESSED 0x02 109 110 int nPCTColors; 111 double *apadfPCT[3]; 112 113 CPLErr LoadBlockInfo(); 114 115 public: 116 HFABand( HFAInfo_t *, HFAEntry * ); 117 ~HFABand(); 118 119 HFAInfo_t *psInfo; 120 121 int nDataType; 122 HFAEntry *poNode; 123 124 int nBlockXSize; 125 int nBlockYSize; 126 127 int nWidth; 128 int nHeight; 129 130 int nBlocksPerRow; 131 int nBlocksPerColumn; 132 133 CPLErr GetRasterBlock( int nXBlock, int nYBlock, void * pData ); 134 135 CPLErr GetPCT( int *, double **, double **, double ** ); 136 }; 137 88 138 89 139 /************************************************************************/ … … 213 263 void Dump( FILE * ); 214 264 265 int GetInstBytes( GByte * pabyData ); 215 266 void *ExtractInstValue( const char * pszField, 216 267 GByte *pabyData, int nDataOffset, int nDataSize,
