OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ImportImageFilter< TOutputImageType > Class Template Reference

#include <otbImportImageFilter.h>

+ Inheritance diagram for otb::ImportImageFilter< TOutputImageType >:
+ Collaboration diagram for otb::ImportImageFilter< TOutputImageType >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::Matrix< double,
OutputImageType::ImageDimension,
OutputImageType::ImageDimension > 
DirectionType
 
typedef itk::Index
< OutputImageType::ImageDimension > 
IndexType
 
typedef OutputImageType::PointType OriginType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef TOutputImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::ImageRegion
< OutputImageType::ImageDimension > 
RegionType
 
typedef ImportImageFilter Self
 
typedef itk::Size
< OutputImageType::ImageDimension > 
SizeType
 
typedef
OutputImageType::SpacingType 
SpacingType
 
typedef itk::ImageSource
< OutputImageType
Superclass
 
typedef OutputImageType::PixelType TPixel
 
- Public Types inherited from itk::ImageSource< TOutputImageType >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const DirectionTypeGetDirection () const
 
TPixelGetImportPointer ()
 
virtual const char * GetNameOfClass () const
 
virtual const double * GetOrigin () const
 
const RegionTypeGetRegion () const
 
virtual void SetDirection (const DirectionType direction)
 
void SetImportPointer (TPixel *ptr, unsigned long num, bool LetFilterManageMemory)
 
void SetRegion (const RegionType &region)
 
virtual void SetSpacing (const double data[])
 
virtual void SetSpacing (const float data[])
 
virtual const double * GetSpacing () const
 
void SetSpacing (const SpacingType &spacing)
 
virtual void SetOrigin (const double data[])
 
virtual void SetOrigin (const float data[])
 
void SetOrigin (const OriginType &origin)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImageType >
OutputImageTypeGetOutput (unsigned int idx)
 
const OutputImageTypeGetOutput (void) const
 
OutputImageTypeGetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void EnlargeOutputRequestedRegion (itk::DataObject *output)
 
virtual void GenerateData ()
 
virtual void GenerateOutputInformation ()
 
 ImportImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~ImportImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImageType >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 ImportImageFilter (const ImportImageFilter &)
 
void operator= (const ImportImageFilter &)
 

Private Attributes

DirectionType m_Direction
 
bool m_FilterManageMemory
 
TPixelm_ImportPointer
 
double m_Origin [OutputImageType::ImageDimension]
 
RegionType m_Region
 
unsigned long m_Size
 
double m_Spacing [OutputImageType::ImageDimension]
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageSource< TOutputImageType >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImageType >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<typename TOutputImageType>
class otb::ImportImageFilter< TOutputImageType >

Import data from a standard C array into an Image Type.

ImportImageFilter provides a mechanism for importing data into an Image Type. ImportImageFilter is an image source, so it behaves like any other pipeline object.

This class is templated over the output Image Type

Definition at line 44 of file otbImportImageFilter.h.

Member Typedef Documentation

template<typename TOutputImageType>
typedef itk::SmartPointer<const Self> otb::ImportImageFilter< TOutputImageType >::ConstPointer

Definition at line 58 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::Matrix<double, OutputImageType::ImageDimension, OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::DirectionType

Definition at line 136 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::Index<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::IndexType

Index typedef support. An index is used to access pixel values.

Definition at line 64 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef OutputImageType::PointType otb::ImportImageFilter< TOutputImageType >::OriginType

Definition at line 52 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef OutputImageType::Pointer otb::ImportImageFilter< TOutputImageType >::OutputImagePointer

Definition at line 50 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef TOutputImageType otb::ImportImageFilter< TOutputImageType >::OutputImageType

Typedef for the output image.

Definition at line 49 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::SmartPointer<Self> otb::ImportImageFilter< TOutputImageType >::Pointer

Definition at line 57 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::ImageRegion<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::RegionType

Region typedef support. A region is used to specify a subset of an image.

Definition at line 74 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef ImportImageFilter otb::ImportImageFilter< TOutputImageType >::Self

Standard class typedefs.

Definition at line 55 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::Size<OutputImageType::ImageDimension> otb::ImportImageFilter< TOutputImageType >::SizeType

Size typedef support. A size is used to define region bounds.

Definition at line 70 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef OutputImageType::SpacingType otb::ImportImageFilter< TOutputImageType >::SpacingType

Definition at line 51 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef itk::ImageSource<OutputImageType> otb::ImportImageFilter< TOutputImageType >::Superclass

Definition at line 56 of file otbImportImageFilter.h.

template<typename TOutputImageType>
typedef OutputImageType::PixelType otb::ImportImageFilter< TOutputImageType >::TPixel

Type of the output image pixel type.

Definition at line 77 of file otbImportImageFilter.h.

Constructor & Destructor Documentation

template<class TOutputImage >
otb::ImportImageFilter< TOutputImage >::ImportImageFilter ( )
protected

Definition at line 35 of file otbImportImageFilter.txx.

template<class TOutputImage >
otb::ImportImageFilter< TOutputImage >::~ImportImageFilter ( )
protectedvirtual

Definition at line 56 of file otbImportImageFilter.txx.

template<typename TOutputImageType>
otb::ImportImageFilter< TOutputImageType >::ImportImageFilter ( const ImportImageFilter< TOutputImageType > &  )
private

Member Function Documentation

template<typename TOutputImageType>
virtual::itk::LightObject::Pointer otb::ImportImageFilter< TOutputImageType >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::EnlargeOutputRequestedRegion ( itk::DataObject output)
protectedvirtual

This filter can only produce the amount of data that it is given, so we must override ProcessObject::EnlargeOutputRequestedRegion() (The default implementation of a source produces the amount of data requested. This source, however, can only produce what it is given.)

See Also
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

Definition at line 144 of file otbImportImageFilter.txx.

template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::GenerateData ( void  )
protectedvirtual

This filter does not actually "produce" any data, rather it "wraps" the user supplied data into an itk::Image.

Reimplemented from itk::ImageSource< TOutputImageType >.

Definition at line 185 of file otbImportImageFilter.txx.

template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::GenerateOutputInformation ( void  )
protectedvirtual

This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.

See Also
ProcessObject::GenerateOutputInformation()

Reimplemented from itk::ProcessObject.

Definition at line 163 of file otbImportImageFilter.txx.

template<typename TOutputImageType>
virtual const DirectionType& otb::ImportImageFilter< TOutputImageType >::GetDirection ( ) const
virtual

Get the direction of the image

See Also
SetDirection
template<class TOutputImage >
ImportImageFilter< TOutputImage >::TPixel * otb::ImportImageFilter< TOutputImage >::GetImportPointer ( )

Get the pointer from which the image data is imported.

Definition at line 133 of file otbImportImageFilter.txx.

template<typename TOutputImageType>
virtual const char* otb::ImportImageFilter< TOutputImageType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImageType >.

template<typename TOutputImageType>
virtual const double* otb::ImportImageFilter< TOutputImageType >::GetOrigin ( ) const
virtual

Get the origin of the image.

See Also
SetOrigin()
template<typename TOutputImageType>
const RegionType& otb::ImportImageFilter< TOutputImageType >::GetRegion ( ) const
inline

Get the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.

See Also
ImageRegion

Definition at line 110 of file otbImportImageFilter.h.

template<typename TOutputImageType>
virtual const double* otb::ImportImageFilter< TOutputImageType >::GetSpacing ( ) const
virtual

Get the spacing (size of a pixel) of the image.

See Also
SetSpacing()
template<typename TOutputImageType>
static Pointer otb::ImportImageFilter< TOutputImageType >::New ( )
static

Method for creation through the object factory.

template<typename TOutputImageType>
void otb::ImportImageFilter< TOutputImageType >::operator= ( const ImportImageFilter< TOutputImageType > &  )
private
template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 71 of file otbImportImageFilter.txx.

template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::SetDirection ( const DirectionType  direction)
virtual

Set the direction of the image

See Also
GetDirection()

Definition at line 245 of file otbImportImageFilter.txx.

template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::SetImportPointer ( TPixel ptr,
unsigned long  num,
bool  LetFilterManageMemory 
)

Set the pointer from which the image data is imported. "num" is the number of pixels in the block of memory. If "LetFilterManageMemory" is false, then the this filter will not free the memory in its destructor and the application providing the buffer retains the responsibility of freeing the memory for this image data. If "LetFilterManageMemory" is true, then this class will free the memory when this object is destroyed.

Definition at line 111 of file otbImportImageFilter.txx.

template<typename TOutputImageType>
virtual void otb::ImportImageFilter< TOutputImageType >::SetOrigin ( const double  data[])
virtual

Set the origin of the image.

See Also
GetOrigin()
template<typename TOutputImageType>
virtual void otb::ImportImageFilter< TOutputImageType >::SetOrigin ( const float  data[])
virtual

Set the origin of the image.

See Also
GetOrigin()
template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::SetOrigin ( const OriginType origin)

Set the origin of the image.

See Also
GetOrigin()

Definition at line 230 of file otbImportImageFilter.txx.

template<typename TOutputImageType>
void otb::ImportImageFilter< TOutputImageType >::SetRegion ( const RegionType region)
inline

Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.

See Also
ImageRegion

Definition at line 96 of file otbImportImageFilter.h.

template<typename TOutputImageType>
virtual void otb::ImportImageFilter< TOutputImageType >::SetSpacing ( const double  data[])
virtual

Set the spacing (size of a pixel) of the image.

See Also
GetSpacing()
template<typename TOutputImageType>
virtual void otb::ImportImageFilter< TOutputImageType >::SetSpacing ( const float  data[])
virtual

Set the spacing (size of a pixel) of the image.

See Also
GetSpacing()
template<class TOutputImage >
void otb::ImportImageFilter< TOutputImage >::SetSpacing ( const SpacingType spacing)

Get the spacing (size of a pixel) of the image.

See Also
SetSpacing()

Definition at line 213 of file otbImportImageFilter.txx.

Member Data Documentation

template<typename TOutputImageType>
DirectionType otb::ImportImageFilter< TOutputImageType >::m_Direction
private

Definition at line 178 of file otbImportImageFilter.h.

template<typename TOutputImageType>
bool otb::ImportImageFilter< TOutputImageType >::m_FilterManageMemory
private

Definition at line 181 of file otbImportImageFilter.h.

template<typename TOutputImageType>
TPixel* otb::ImportImageFilter< TOutputImageType >::m_ImportPointer
private

Definition at line 180 of file otbImportImageFilter.h.

template<typename TOutputImageType>
double otb::ImportImageFilter< TOutputImageType >::m_Origin[OutputImageType::ImageDimension]
private

Definition at line 177 of file otbImportImageFilter.h.

template<typename TOutputImageType>
RegionType otb::ImportImageFilter< TOutputImageType >::m_Region
private

Definition at line 175 of file otbImportImageFilter.h.

template<typename TOutputImageType>
unsigned long otb::ImportImageFilter< TOutputImageType >::m_Size
private

Definition at line 182 of file otbImportImageFilter.h.

template<typename TOutputImageType>
double otb::ImportImageFilter< TOutputImageType >::m_Spacing[OutputImageType::ImageDimension]
private

Definition at line 176 of file otbImportImageFilter.h.


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