OTB  6.7.0
Orfeo Toolbox
Classes | Namespaces | Macros
otbLUMImageIO.h File Reference
#include "otbImageIOBase.h"
#include <string>
#include <vector>
#include <fstream>
+ Include dependency graph for otbLUMImageIO.h:

Go to the source code of this file.

Classes

class  otb::LUMImageIO
 

Namespaces

 otb
 

Macros

#define otbSetTypeLumMacro(WeakType, CAI_VALUE_BE, CAI_VALUE_LE)
 
#define otbSwappFileOrderToSystemOrderMacro(StrongType, buffer, buffer_size)
 
#define otbSwappFileToSystemMacro(StrongType, WeakType, buffer, buffer_size)
 

Macro Definition Documentation

#define otbSetTypeLumMacro (   WeakType,
  CAI_VALUE_BE,
  CAI_VALUE_LE 
)
Value:
else if (this->GetComponentType() == WeakType) \
{ \
if (m_ByteOrder == LittleEndian) \
{ \
m_TypeLum = CAI_VALUE_LE; \
} \
else \
{ \
m_TypeLum = CAI_VALUE_BE; \
} \
}

Definition at line 178 of file otbLUMImageIO.h.

#define otbSwappFileOrderToSystemOrderMacro (   StrongType,
  buffer,
  buffer_size 
)
Value:
{ \
typedef itk::ByteSwapper<StrongType> InternalByteSwapperType; \
if (m_ByteOrder != m_FileByteOrder) \
{ \
if (m_ByteOrder == LittleEndian) \
{ \
InternalByteSwapperType::SwapRangeFromSystemToBigEndian((StrongType *) buffer, buffer_size); \
} \
else if (m_ByteOrder == BigEndian) \
{ \
InternalByteSwapperType::SwapRangeFromSystemToLittleEndian((StrongType *) buffer, buffer_size); \
} \
} \
}

Definition at line 156 of file otbLUMImageIO.h.

#define otbSwappFileToSystemMacro (   StrongType,
  WeakType,
  buffer,
  buffer_size 
)
Value:
else if (this->GetComponentType() == WeakType) \
{ \
otbSwappFileOrderToSystemOrderMacro(StrongType, buffer, buffer_size) \
}
#define otbSwappFileOrderToSystemOrderMacro(StrongType, buffer, buffer_size)

Definition at line 172 of file otbLUMImageIO.h.