50 in.read((
char*)&
m_Lsiz, 2);
51 in.read((
char*)&
m_Rsiz, 2);
52 in.read((
char*)&
m_Xsiz, 4);
53 in.read((
char*)&
m_Ysiz, 4);
60 in.read((
char*)&
m_Csiz, 2);
120 out.write((
char*)&
m_Lsiz, 2);
121 out.write((
char*)&
m_Rsiz, 2);
122 out.write((
char*)&
m_Xsiz, 4);
123 out.write((
char*)&
m_Ysiz, 4);
130 out.write((
char*)&
m_Csiz, 2);
132 out.write((
char*)&
m_Ssiz.front(), components);
133 out.write((
char*)&
m_XRsiz.front(), components);
134 out.write((
char*)&
m_YRsiz.front(), components);
182 else if ( bpp == 11 )
193 else if ( bpp == 12 )
204 else if ( bpp == 13 )
215 else if ( bpp == 14 )
226 else if ( bpp == 15 )
253 const std::string& prefix)
const 256 std::ios_base::fmtflags f = out.flags();
258 std::string pfx = prefix;
261 out.setf(std::ios_base::hex, std::ios_base::basefield);
262 out << pfx <<
"marker: 0x" <<
m_marker <<
"\n";
263 out.setf(std::ios_base::fmtflags(0), std::ios_base::basefield);
265 out << pfx <<
"Lsiz: " <<
m_Lsiz <<
"\n" 266 << pfx <<
"Rsiz: " <<
m_Rsiz <<
"\n" 267 << pfx <<
"Xsiz: " <<
m_Xsiz <<
"\n" 268 << pfx <<
"Yziz: " <<
m_Ysiz <<
"\n" 269 << pfx <<
"XOsiz: " <<
m_XOsiz <<
"\n" 270 << pfx <<
"YOsiz: " <<
m_YOsiz <<
"\n" 271 << pfx <<
"XTsiz: " <<
m_XTsiz <<
"\n" 272 << pfx <<
"YTsiz: " <<
m_YTsiz <<
"\n" 273 << pfx <<
"XTOsiz: " <<
m_XTOsiz <<
"\n" 274 << pfx <<
"YTOsiz: " <<
m_YTOsiz <<
"\n" 275 << pfx <<
"Csiz: " <<
m_Csiz <<
"\n";
279 out << pfx <<
"Ssiz[" << i <<
"]: " << int(
m_Ssiz[i]) <<
"\n" 280 << pfx <<
"XRsiz[" << i <<
"]: " << int(
m_XRsiz[i]) <<
"\n" 281 << pfx <<
"YRsiz[" << i <<
"]: " << int(
m_YRsiz[i]) <<
"\n";
294 return obj.
print(out);
16 bit unsigned integer (15 bits used)
ossim_uint32 m_XTOsiz
Horizontal offset from the orgin of reference grid to the left edge of first tile.
ossim_uint32 m_YTOsiz
Vertical offset from the orgin of reference grid to the top edge of first tile.
ossim_uint32 m_Xsiz
width of reference grid
OSSIM_DLL ossimByteOrder byteOrder()
16 bit unsigned integer (14 bits used)
16 bit unsigned integer (13 bits used)
unsigned short ossim_uint16
std::vector< ossim_uint8 > m_XRsiz
One for each component:
ossim_uint32 m_YTsiz
height of one reference tile
ossim_uint16 m_Csiz
number of component in the image
OSSIM_DLL bool isSigned(ossimScalarType scalarType)
ossim_uint16 m_Rsiz
profile
ossim_uint32 m_XOsiz
Horizontal offset from the orgin of reference grid to the left side of image.
std::vector< ossim_uint8 > m_Ssiz
One for each component:
~ossimJ2kSizRecord()
destructor
std::ostream & operator<<(std::ostream &out, const ossimJ2kSizRecord &obj)
ossim_uint32 m_XTsiz
width of one reference tile
void writeStream(std::ostream &out)
Write method.
std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
print method that outputs a key/value type format adding prefix to keys.
ossimJ2kSizRecord()
default constructor
16 bit unsigned integer (11 bits used)
std::basic_istream< char > istream
Base class for char input streams.
ossim_uint16 m_Lsiz
length of segment minus marker
ossim_uint16 m_marker
segmet marker 0xff51 (big endian)
std::vector< ossim_uint8 > m_YRsiz
One for each component:
unsigned char ossim_uint8
ossimScalarType getScalarType() const
Gets the scalar type.
std::basic_ostream< char > ostream
Base class for char output streams.
ossim_uint32 m_YOsiz
Vertical offset from the orgin of reference grid to the top of image.
ossim_uint32 m_Ysiz
height of reference grid
void parseStream(ossim::istream &in)
Parse method.
16 bit unsigned integer (12 bits used)