54    if(pixelType == 
Isis::Real) 
return sizeof(float);
 
   90    QString temp = type.toUpper();
 
   91    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:46
 
Isis::PixelType PixelTypeEnumeration(const QString &type)
Returns PixelType enumeration given a string.
Definition: PixelType.h:89
 
QString PixelTypeName(Isis::PixelType pixelType)
Returns string name of PixelType enumeration entered as input parameter.
Definition: PixelType.h:66
 
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:27
 
@ SignedByte
Definition: PixelType.h:30
 
@ SignedWord
Definition: PixelType.h:32
 
@ SignedInteger
Definition: PixelType.h:34
 
@ UnsignedInteger
Definition: PixelType.h:33
 
@ None
Definition: PixelType.h:28
 
@ UnsignedByte
Definition: PixelType.h:29
 
@ UnsignedWord
Definition: PixelType.h:31
 
@ Double
Definition: PixelType.h:36
 
@ Real
Definition: PixelType.h:35