OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
otb::Accessor::VectorImageToASPixelAccessor< T > Class Template Reference

#include <otbVectorImageToASPixelAccessor.h>

Public Types

typedef itk::FixedArray< T, 3 > ExternalType
 
typedef itk::Vector< T, 3 > InternalType
 
typedef VectorImageToASPixelAccessor Self
 

Public Member Functions

void Set (InternalType &output, const ExternalType &input) const
 
ExternalType Get (const InternalType &input) const
 

Detailed Description

template<class T>
class otb::Accessor::VectorImageToASPixelAccessor< T >

Give access to a Vector pixel type as if it were a RGBPixel type.

This class is intended to be used as parameter of an ImageAdaptor to make an Vector image appear as being an image of RGB pixel type.

See also
ImageAdaptor

Definition at line 47 of file otbVectorImageToASPixelAccessor.h.

Member Typedef Documentation

◆ ExternalType

template<class T >
typedef itk::FixedArray<T, 3> otb::Accessor::VectorImageToASPixelAccessor< T >::ExternalType

External typedef. It defines the external aspect that this class will exhibit

Definition at line 55 of file otbVectorImageToASPixelAccessor.h.

◆ InternalType

template<class T >
typedef itk::Vector<T, 3> otb::Accessor::VectorImageToASPixelAccessor< T >::InternalType

Internal typedef. It defines the internal real representation of data

Definition at line 59 of file otbVectorImageToASPixelAccessor.h.

◆ Self

Standard class typedefs.

Definition at line 51 of file otbVectorImageToASPixelAccessor.h.

Member Function Documentation

◆ Get()

template<class T >
ExternalType otb::Accessor::VectorImageToASPixelAccessor< T >::Get ( const InternalType input) const
inline

Read access to the VectorToRGB component

Definition at line 70 of file otbVectorImageToASPixelAccessor.h.

◆ Set()

template<class T >
void otb::Accessor::VectorImageToASPixelAccessor< T >::Set ( InternalType output,
const ExternalType input 
) const
inline

Write access to the VectorToRGB component

Definition at line 62 of file otbVectorImageToASPixelAccessor.h.


The documentation for this class was generated from the following file: