56    if(pixelType == 
Isis::Real) 
return sizeof(float);
 
 
   92    QString temp = type.toUpper();
 
   93    if(temp == 
"UNSIGNEDBYTE" || temp == 
"8BIT" || temp == 
"8-BIT") 
return Isis::UnsignedByte;
 
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
 
int SizeOf(Isis::PixelType pixelType)
Returns the number of bytes of the specified PixelType.
Definition PixelType.h:48
 
Isis::PixelType PixelTypeEnumeration(const QString &type)
Returns PixelType enumeration given a string.
Definition PixelType.h:91
 
GDALDataType IsisPixelToGdal(Isis::PixelType type)
Definition PixelType.h:116
 
Isis::PixelType GdalPixelToIsis(GDALDataType type)
Definition PixelType.h:104
 
QString PixelTypeName(Isis::PixelType pixelType)
Returns string name of PixelType enumeration entered as input parameter.
Definition PixelType.h:68
 
PixelType
Enumerations for Isis Pixel Types.
Definition PixelType.h:29
 
@ SignedByte
Definition PixelType.h:32
 
@ SignedWord
Definition PixelType.h:34
 
@ SignedInteger
Definition PixelType.h:36
 
@ UnsignedInteger
Definition PixelType.h:35
 
@ None
Definition PixelType.h:30
 
@ UnsignedByte
Definition PixelType.h:31
 
@ UnsignedWord
Definition PixelType.h:33
 
@ Double
Definition PixelType.h:38
 
@ Real
Definition PixelType.h:37