Orfeo Toolbox  4.0
Public Types | Public Member Functions | Private Attributes | List of all members
itk::VariableLengthVector< TValueType > Class Template Reference

Represents an array whose length can be defined at run-time. More...

#include <itkVariableLengthVector.h>

+ Inheritance diagram for itk::VariableLengthVector< TValueType >:
+ Collaboration diagram for itk::VariableLengthVector< TValueType >:

Public Types

typedef TValueType ComponentType
 
typedef unsigned int ElementIdentifier
 
typedef NumericTraits
< ValueType >::RealType 
RealValueType
 
typedef VariableLengthVector Self
 
typedef TValueType ValueType
 

Public Member Functions

 VariableLengthVector ()
 
 VariableLengthVector (unsigned int dimension)
 
 VariableLengthVector (ValueType *data, unsigned int sz, bool LetArrayManageMemory=false)
 
 VariableLengthVector (const ValueType *data, unsigned int sz, bool LetArrayManageMemory=false)
 
template<typename T >
 VariableLengthVector (const VariableLengthVector< T > &v)
 
 VariableLengthVector (const VariableLengthVector< TValueType > &v)
 
 ~VariableLengthVector ()
 
TValueType * AllocateElements (ElementIdentifier size) const
 
void DestroyExistingData ()
 
void Fill (TValueType const &v)
 
const TValueType * GetDataPointer () const
 
const TValueType & GetElement (unsigned int i) const
 
RealValueType GetNorm () const
 
unsigned int GetNumberOfElements (void) const
 
unsigned int GetSize (void) const
 
RealValueType GetSquaredNorm () const
 
bool operator!= (const Self &v) const
 
template<typename T >
Self operator* (T s) const
 
template<typename T >
Selfoperator*= (T s)
 
template<typename T >
Self operator+ (const VariableLengthVector< T > &v) const
 
Self operator+ (TValueType s) const
 
Selfoperator++ ()
 
Self operator++ (int)
 
template<typename T >
Selfoperator+= (const VariableLengthVector< T > &v)
 
Selfoperator+= (TValueType s)
 
template<typename T >
Self operator- (const VariableLengthVector< T > &v) const
 
Self operator- (TValueType s) const
 
Selfoperator- ()
 
Selfoperator-- ()
 
Self operator-- (int)
 
template<typename T >
Selfoperator-= (const VariableLengthVector< T > &v)
 
Selfoperator-= (TValueType s)
 
template<typename T >
Self operator/ (T s) const
 
template<typename T >
Selfoperator/= (T s)
 
template<typename T >
const VariableLengthVector
< TValueType > & 
operator= (const VariableLengthVector< T > &v)
 
const Selfoperator= (const Self &v)
 
const Selfoperator= (TValueType const &v)
 
bool operator== (const Self &v) const
 
TValueType & operator[] (unsigned int i)
 
TValueType const & operator[] (unsigned int i) const
 
void Reserve (ElementIdentifier)
 
void SetData (TValueType *data, bool LetArrayManageMemory=false)
 
void SetData (TValueType *data, unsigned int sz, bool LetArrayManageMemory=false)
 
void SetElement (unsigned int i, const TValueType &value)
 
void SetSize (unsigned int sz, bool destroyExistingData=true)
 
unsigned int Size (void) const
 

Private Attributes

TValueType * m_Data
 
bool m_LetArrayManageMemory
 
ElementIdentifier m_NumElements
 

Detailed Description

template<typename TValueType>
class itk::VariableLengthVector< TValueType >

Represents an array whose length can be defined at run-time.

This class is templated over the data type. This data-type is meant to be a scalar, such as float, double etc...

Note
ITK itself provides several classes that can serve as Arrays.
  • FixedArray - Compile time fixed length arrays that's intended to represent an enumerated collection of n entities.
  • Array - Run time resizeable array that is intended to hold a collection of n entities
  • Vector - Compile time fixed length array that is intended to hold a collection of n data types. A vector usually has a mathematical meaning. It should only be used when mathematical operations such as addition, multiplication by a scalar, product etc make sense.
  • VariableLengthVector - Run time array that is intended to hold a collection of scalar data types. Again, it should be used only when mathematical operations on it are relevant. If not, use an Array.
  • Point - Represents the spatial coordinates of a spatial location. Operators on Point reflect geometrical concepts.
For the reasons listed above, you cannot instantiate
VariableLengthVector< bool >
.
Design Considerations: We do not derive from vnl_vector to avoid being limited by the explicit template instantiations of vnl_vector and other hacks that vnl folks have been forced to use.
Note
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.
See Also
CovariantVector
SymmetricSecondRankTensor
RGBPixel
DiffusionTensor3D

{SimpleOperations/VariableLengthVector,Variable length vector}

Definition at line 76 of file itkVariableLengthVector.h.

Member Typedef Documentation

template<typename TValueType>
typedef TValueType itk::VariableLengthVector< TValueType >::ComponentType

Definition at line 82 of file itkVariableLengthVector.h.

template<typename TValueType>
typedef unsigned int itk::VariableLengthVector< TValueType >::ElementIdentifier

Typedef used to indicate the number of elements in the vector

Definition at line 87 of file itkVariableLengthVector.h.

template<typename TValueType>
typedef NumericTraits< ValueType >::RealType itk::VariableLengthVector< TValueType >::RealValueType

Definition at line 83 of file itkVariableLengthVector.h.

template<typename TValueType>
typedef VariableLengthVector itk::VariableLengthVector< TValueType >::Self

Definition at line 84 of file itkVariableLengthVector.h.

template<typename TValueType>
typedef TValueType itk::VariableLengthVector< TValueType >::ValueType

The element type stored at each location in the Array.

Definition at line 81 of file itkVariableLengthVector.h.

Constructor & Destructor Documentation

template<typename TValueType >
itk::VariableLengthVector< TValueType >::VariableLengthVector ( )

Default constructor. It is created with an empty array it has to be allocated later by assignment

Default constructor

Definition at line 31 of file itkVariableLengthVector.hxx.

template<typename TValueType >
itk::VariableLengthVector< TValueType >::VariableLengthVector ( unsigned int  length)
explicit

Constructor with size. Size can only be changed by assignment

Constructor with size

Definition at line 39 of file itkVariableLengthVector.hxx.

template<typename TValueType >
itk::VariableLengthVector< TValueType >::VariableLengthVector ( ValueType datain,
unsigned int  sz,
bool  LetArrayManageMemory = false 
)

Constructor that initializes array with contents from a user supplied buffer. The pointer to the buffer and the length is specified. By default, the array does not manage the memory of the buffer. It merely points to that location and it is the user's responsibility to delete it. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed.

Constructor with user specified data

Definition at line 49 of file itkVariableLengthVector.hxx.

template<typename TValueType >
itk::VariableLengthVector< TValueType >::VariableLengthVector ( const ValueType datain,
unsigned int  sz,
bool  LetArrayManageMemory = false 
)

Constructor that initializes array with contents from a user supplied buffer. The pointer to the buffer and the length is specified. By default, the array does not manage the memory of the buffer. It merely points to that location and it is the user's responsibility to delete it. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed.

Constructor with user specified data

Definition at line 58 of file itkVariableLengthVector.hxx.

template<typename TValueType>
template<typename T >
itk::VariableLengthVector< TValueType >::VariableLengthVector ( const VariableLengthVector< T > &  v)
inline

Copy constructor. The reason why the copy constructor and the assignment operator are templated is that it will allow implicit casts to be performed. For instance

VariableLengthVector< int > vI;
VariableLengthVector< float > vF( vI );
or for instance vF = static_cast< VariableLengthVector< float > >( vI );

Definition at line 124 of file itkVariableLengthVector.h.

template<typename TValueType>
itk::VariableLengthVector< TValueType >::VariableLengthVector ( const VariableLengthVector< TValueType > &  v)

Copy constructer.. Override the default non-templated copy constructor that the compiler provides

Definition at line 69 of file itkVariableLengthVector.hxx.

References itk::VariableLengthVector< TValueType >::Size().

template<typename TValueType >
itk::VariableLengthVector< TValueType >::~VariableLengthVector ( )

This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory.

Destructor

Definition at line 83 of file itkVariableLengthVector.hxx.

Member Function Documentation

template<typename TValueType >
TValueType * itk::VariableLengthVector< TValueType >::AllocateElements ( ElementIdentifier  size) const

Allocate memory of certain size and return it.

Allocate memory of certain size and return it

Definition at line 126 of file itkVariableLengthVector.hxx.

Referenced by itk::VariableLengthVector< CoefficientType >::VariableLengthVector().

template<typename TValueType >
void itk::VariableLengthVector< TValueType >::DestroyExistingData ( )

Destroy data that is allocated internally, if LetArrayManageMemory is true.

Definition at line 195 of file itkVariableLengthVector.hxx.

template<typename TValueType>
void itk::VariableLengthVector< TValueType >::Fill ( TValueType const &  v)

Set the all the elements of the array to the specified value

Definition at line 263 of file itkVariableLengthVector.hxx.

Referenced by otb::MeanShiftSmoothingImageFilter< TInputImage, TOutputImage, TKernel, TOutputIterationImage >::BeforeThreadedGenerateData(), otb::MeanShiftSmoothingImageFilter< TInputImage, TOutputImage, TKernel, TOutputIterationImage >::CalculateMeanShiftVector(), itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::CheckOutsideValue(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy(), otb::ScalarBufferToImageFileWriter< TBufferType, TOutputPixelType >::GenerateData(), otb::SpotImageMetadataInterface::GetFirstWavelengths(), otb::FormosatImageMetadataInterface::GetFirstWavelengths(), otb::IkonosImageMetadataInterface::GetFirstWavelengths(), otb::PleiadesImageMetadataInterface::GetFirstWavelengths(), otb::WorldView2ImageMetadataInterface::GetFirstWavelengths(), otb::QuickBirdImageMetadataInterface::GetFirstWavelengths(), otb::SpotImageMetadataInterface::GetLastWavelengths(), otb::FormosatImageMetadataInterface::GetLastWavelengths(), otb::WorldView2ImageMetadataInterface::GetLastWavelengths(), otb::PleiadesImageMetadataInterface::GetLastWavelengths(), otb::IkonosImageMetadataInterface::GetLastWavelengths(), otb::QuickBirdImageMetadataInterface::GetLastWavelengths(), otb::PleiadesImageMetadataInterface::GetPhysicalBias(), otb::IkonosImageMetadataInterface::GetPhysicalBias(), otb::QuickBirdImageMetadataInterface::GetPhysicalBias(), otb::FormosatImageMetadataInterface::GetPhysicalBias(), otb::WorldView2ImageMetadataInterface::GetPhysicalBias(), otb::SpotImageMetadataInterface::GetPhysicalBias(), otb::PleiadesImageMetadataInterface::GetPhysicalGain(), otb::SpotImageMetadataInterface::GetPhysicalGain(), otb::WorldView2ImageMetadataInterface::GetPhysicalGain(), otb::QuickBirdImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetSolarIrradiance(), otb::PleiadesImageMetadataInterface::GetSolarIrradiance(), otb::SpotImageMetadataInterface::GetSolarIrradiance(), otb::QuickBirdImageMetadataInterface::GetSolarIrradiance(), otb::WorldView2ImageMetadataInterface::GetSolarIrradiance(), otb::KNearestNeighborsMachineLearningModel< TInputValue, TTargetValue >::Load(), otb::Functor::RadiometricMomentsFunctor< itk::ConstNeighborhoodIterator< InputImageType >, ScalarType >::operator()(), otb::Functor::KullbackLeiblerProfile< TInput1, TInput2, TOutput >::operator()(), ReadDataFile(), otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >::Reset(), itk::NumericTraits< VariableLengthVector< T > >::SetLength(), otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >::Synthetize(), otb::SVMImageClassificationWithRuleFilter< TInputImage, TOutputImage, TMaskImage >::ThreadedGenerateData(), and itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformDiffusionTensor3D().

template<typename TValueType>
const TValueType* itk::VariableLengthVector< TValueType >::GetDataPointer ( ) const
inline
template<typename TValueType>
const TValueType& itk::VariableLengthVector< TValueType >::GetElement ( unsigned int  i) const
inline

Get one element

Definition at line 175 of file itkVariableLengthVector.h.

template<typename TValueType >
VariableLengthVector< TValueType >::RealValueType itk::VariableLengthVector< TValueType >::GetNorm ( void  ) const

Returns vector's Euclidean Norm

Definition at line 354 of file itkVariableLengthVector.hxx.

Referenced by itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetScalarValue().

template<typename TValueType>
unsigned int itk::VariableLengthVector< TValueType >::GetNumberOfElements ( void  ) const
inline

Definition at line 167 of file itkVariableLengthVector.h.

template<typename TValueType>
unsigned int itk::VariableLengthVector< TValueType >::GetSize ( void  ) const
inline
template<typename TValueType >
VariableLengthVector< TValueType >::RealValueType itk::VariableLengthVector< TValueType >::GetSquaredNorm ( void  ) const

Returns vector's squared Euclidean Norm

Returns vector's Squared Euclidean Norm

Definition at line 365 of file itkVariableLengthVector.hxx.

template<typename TValueType >
bool itk::VariableLengthVector< TValueType >::operator!= ( const Self v) const
template<typename TValueType>
template<typename T >
Self itk::VariableLengthVector< TValueType >::operator* ( s) const
inline

Multiply vector elements by a scalar 's'. The vector does not have to have the same element type as the scalar type. The scalar is cast to the output vector element type before the multiplication is performed.

Definition at line 289 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self& itk::VariableLengthVector< TValueType >::operator*= ( s)
inline

Multiply each element of the vector by a scalar 's'. The scalar value is cast to the current vector element type prior to multiplication.

Definition at line 442 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self itk::VariableLengthVector< TValueType >::operator+ ( const VariableLengthVector< T > &  v) const
inline

Element-wise vector addition. The vectors do not have to have the same element type. The input vector elements are cast to the output vector element type before the addition is performed.

Note
For efficiency, the length of the vectors is not checked; they are assumed to have the same length.

Definition at line 240 of file itkVariableLengthVector.h.

template<typename TValueType>
Self itk::VariableLengthVector< TValueType >::operator+ ( TValueType  s) const
inline

Add scalar 's' to each element of the vector.

Definition at line 319 of file itkVariableLengthVector.h.

template<typename TValueType>
Self& itk::VariableLengthVector< TValueType >::operator++ ( )
inline

Prefix operator that adds 1 to each element of the vector.

Definition at line 354 of file itkVariableLengthVector.h.

template<typename TValueType>
Self itk::VariableLengthVector< TValueType >::operator++ ( int  )
inline

Postfix operator that adds 1 to each element of the vector.

Definition at line 374 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self& itk::VariableLengthVector< TValueType >::operator+= ( const VariableLengthVector< T > &  v)
inline

Element-wise addition of vector 'v' to the current vector. The vectors do not have to have the same element type. The input vector elements are cast to the current vector element type before the addition is performed.

Note
For efficiency, the length of the vectors is not checked; they are assumed to have the same length.

Definition at line 419 of file itkVariableLengthVector.h.

template<typename TValueType>
Self& itk::VariableLengthVector< TValueType >::operator+= ( TValueType  s)
inline

Add scalar 's' to each element of the vector.

Definition at line 429 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self itk::VariableLengthVector< TValueType >::operator- ( const VariableLengthVector< T > &  v) const
inline

Element-wise subtraction of vectors. The vectors do not have to have the same element type. The input vector elements are cast to the output vector element type before the subtraction is performed.

Note
For efficiency, the length of the vectors is not checked; they are assumed to have the same length.

Definition at line 266 of file itkVariableLengthVector.h.

template<typename TValueType>
Self itk::VariableLengthVector< TValueType >::operator- ( TValueType  s) const
inline

Subtract scalar 's' from each element of the vector.

Definition at line 331 of file itkVariableLengthVector.h.

template<typename TValueType>
VariableLengthVector< TValueType > & itk::VariableLengthVector< TValueType >::operator- ( )

Negates each vector element.

Definition at line 301 of file itkVariableLengthVector.hxx.

template<typename TValueType>
Self& itk::VariableLengthVector< TValueType >::operator-- ( )
inline

Prefix operator that subtracts 1 from each element of the vector.

Definition at line 344 of file itkVariableLengthVector.h.

template<typename TValueType>
Self itk::VariableLengthVector< TValueType >::operator-- ( int  )
inline

Postfix operator that subtracts 1 from each element of the vector.

Definition at line 365 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self& itk::VariableLengthVector< TValueType >::operator-= ( const VariableLengthVector< T > &  v)
inline

Element-wise subtraction of vector 'v' from the current vector. The vectors do not have to have the same element type. The input vector elements are cast to the current vector element type before the subtraction is performed.

Note
For efficiency, the length of the vectors is not checked; they are assumed to have the same length.

Definition at line 391 of file itkVariableLengthVector.h.

template<typename TValueType>
Self& itk::VariableLengthVector< TValueType >::operator-= ( TValueType  s)
inline

Subtract scalar 's' from each element of the current vector.

Definition at line 401 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self itk::VariableLengthVector< TValueType >::operator/ ( s) const
inline

Divide vector elements by a scalar 's'. The vector does not have to have the same element type as the scalar type. Both the scalar and vector elements are cast to the RealValueType prior to division, and the result is cast to the ValueType.

Definition at line 305 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
Self& itk::VariableLengthVector< TValueType >::operator/= ( s)
inline

Divide vector elements by a scalar 's'. The vector does not have to have the same element type as the scalar type. Both the scalar and vector elements are cast to the RealValueType prior to division, and the result is cast to the ValueType.

Definition at line 456 of file itkVariableLengthVector.h.

template<typename TValueType>
template<typename T >
const VariableLengthVector< TValueType >& itk::VariableLengthVector< TValueType >::operator= ( const VariableLengthVector< T > &  v)
inline

Assignment operator

Definition at line 145 of file itkVariableLengthVector.h.

template<typename TValueType >
const VariableLengthVector< TValueType > & itk::VariableLengthVector< TValueType >::operator= ( const Self v)

Assignment operators

Assignment operator

Definition at line 275 of file itkVariableLengthVector.hxx.

References itk::VariableLengthVector< TValueType >::Size().

template<typename TValueType>
const VariableLengthVector< TValueType > & itk::VariableLengthVector< TValueType >::operator= ( TValueType const &  v)

Assignment operator

Definition at line 292 of file itkVariableLengthVector.hxx.

template<typename TValueType >
bool itk::VariableLengthVector< TValueType >::operator== ( const Self v) const
template<typename TValueType>
TValueType& itk::VariableLengthVector< TValueType >::operator[] ( unsigned int  i)
inline

Return reference to the element at specified index. No range checking.

Definition at line 170 of file itkVariableLengthVector.h.

template<typename TValueType>
TValueType const& itk::VariableLengthVector< TValueType >::operator[] ( unsigned int  i) const
inline

Return reference to the element at specified index. No range checking.

Definition at line 172 of file itkVariableLengthVector.h.

template<typename TValueType >
void itk::VariableLengthVector< TValueType >::Reserve ( ElementIdentifier  size)

Reserves memory of a certain length.

If the array already contains data, the existing data is copied over and new space is allocated, if necessary. If the length to reserve is less than the current number of elements, then an appropriate number of elements are discarded.

Reserve memory of certain size for m_Data

Definition at line 95 of file itkVariableLengthVector.hxx.

template<typename TValueType>
void itk::VariableLengthVector< TValueType >::SetData ( TValueType *  datain,
bool  LetArrayManageMemory = false 
)

Set the pointer from which the data is imported. If "LetArrayManageMemory" is false, then the application retains the responsibility of freeing the memory for this data. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed.

Set the pointer from which the data is imported. If "LetArrayManageMemory" is false, then the application retains the responsibility of freeing the memory for this data. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed. Note that you need to explicitly set the number of elements.

Definition at line 155 of file itkVariableLengthVector.hxx.

template<typename TValueType>
void itk::VariableLengthVector< TValueType >::SetData ( TValueType *  datain,
unsigned int  sz,
bool  LetArrayManageMemory = false 
)

Similar to the previous method. In the above method, the size must be separately set prior to using user-supplied data. This introduces an unnecessary allocation step to be performed. This method avoids it and should be used to import data wherever possible to avoid this. Set the pointer from which the data is imported. If "LetArrayManageMemory" is false, then the application retains the responsibility of freeing the memory for this data. If "LetArrayManageMemory" is true, then this class will free the memory when this object is destroyed.

Definition at line 179 of file itkVariableLengthVector.hxx.

template<typename TValueType>
void itk::VariableLengthVector< TValueType >::SetElement ( unsigned int  i,
const TValueType &  value 
)
inline
template<typename TValueType >
void itk::VariableLengthVector< TValueType >::SetSize ( unsigned int  sz,
bool  destroyExistingData = true 
)

Set the size to that given.

If destroyExistingData is false: If the array already contains data, the existing data is copied over and new space is allocated, if necessary. If the length to reserve is less than the current number of elements, then an appropriate number of elements are discarded. If true, the size is set destructively to the length given. If the length is different from the current length, existing data will be lost. The default is true.

Definition at line 218 of file itkVariableLengthVector.hxx.

Referenced by otb::MeanShiftSmoothingImageFilter< TInputImage, TOutputImage, TKernel, TOutputIterationImage >::AfterThreadedGenerateData(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy(), otb::VariableLengthVectorConverter< TInputType, TPrecisionType >::Convert(), otb::VariableLengthVectorConverter< std::vector< std::vector< TInternalInputType > >, TPrecisionType >::Convert(), otb::VariableLengthVectorConverter< std::vector< std::vector< std::complex< TInternalInputType > > >, TPrecisionType >::Convert(), otb::VariableLengthVectorConverter< itk::FixedArray< TInternalInputType, VArrayDimension >, TPrecisionType >::Convert(), otb::VariableLengthVectorConverter< itk::SmartPointer< itk::Statistics::Histogram< TPixel > >, TPrecisionType >::Convert(), otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Evaluate(), otb::ScalarBufferToImageFileWriter< TBufferType, TOutputPixelType >::GenerateData(), otb::QuickBirdImageMetadataInterface::GetFirstWavelengths(), otb::SpotImageMetadataInterface::GetFirstWavelengths(), otb::IkonosImageMetadataInterface::GetFirstWavelengths(), otb::FormosatImageMetadataInterface::GetFirstWavelengths(), otb::WorldView2ImageMetadataInterface::GetFirstWavelengths(), otb::PleiadesImageMetadataInterface::GetFirstWavelengths(), otb::SpectralResponse< TPrecision, TValuePrecision >::GetImage(), otb::QuickBirdImageMetadataInterface::GetLastWavelengths(), otb::IkonosImageMetadataInterface::GetLastWavelengths(), otb::SpotImageMetadataInterface::GetLastWavelengths(), otb::FormosatImageMetadataInterface::GetLastWavelengths(), otb::WorldView2ImageMetadataInterface::GetLastWavelengths(), otb::PleiadesImageMetadataInterface::GetLastWavelengths(), otb::IkonosImageMetadataInterface::GetPhysicalBias(), otb::SpotImageMetadataInterface::GetPhysicalBias(), otb::PleiadesImageMetadataInterface::GetPhysicalBias(), otb::WorldView2ImageMetadataInterface::GetPhysicalBias(), otb::FormosatImageMetadataInterface::GetPhysicalBias(), otb::QuickBirdImageMetadataInterface::GetPhysicalBias(), otb::QuickBirdImageMetadataInterface::GetPhysicalGain(), otb::IkonosImageMetadataInterface::GetPhysicalGain(), otb::WorldView2ImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetPhysicalGain(), otb::SpotImageMetadataInterface::GetPhysicalGain(), otb::PleiadesImageMetadataInterface::GetPhysicalGain(), otb::FormosatImageMetadataInterface::GetSolarIrradiance(), otb::IkonosImageMetadataInterface::GetSolarIrradiance(), otb::SpotImageMetadataInterface::GetSolarIrradiance(), otb::WorldView2ImageMetadataInterface::GetSolarIrradiance(), otb::PleiadesImageMetadataInterface::GetSolarIrradiance(), otb::QuickBirdImageMetadataInterface::GetSolarIrradiance(), otb::Functor::RadiometricMomentsFunctor< itk::ConstNeighborhoodIterator< InputImageType >, ScalarType >::operator()(), otb::Function::ChannelSelectorFunctor< TInputPixel >::operator()(), otb::Function::PhaseFunctor< TInputPixel >::operator()(), otb::Function::AmplitudeFunctor< TInputPixel >::operator()(), itk::VariableLengthVector< CoefficientType >::operator=(), otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >::Reset(), itk::NumericTraits< VariableLengthVector< T > >::SetLength(), otb::SpectralAngleDataNodeFeatureFunction< TImage, TCoordRep, TPrecision >::SpectralAngleDataNodeFeatureFunction(), itk::Transform< TScalar, NInputDimensions, NOutputDimensions >::TransformCovariantVector(), itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformCovariantVector(), itk::Transform< TScalar, NInputDimensions, NOutputDimensions >::TransformDiffusionTensor3D(), itk::Transform< TScalar, NInputDimensions, NOutputDimensions >::TransformSymmetricSecondRankTensor(), itk::Transform< TScalar, NInputDimensions, NOutputDimensions >::TransformVector(), and itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformVector().

template<typename TValueType>
unsigned int itk::VariableLengthVector< TValueType >::Size ( void  ) const
inline

Return the number of elements in the Array

Definition at line 166 of file itkVariableLengthVector.h.

Referenced by itk::Statistics::MeasurementVectorTraits::Assert(), otb::NormalizeInnerProductPCAImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::BayesianClassifierImageFilter< TInputVectorImage, TLabelsType, TPosteriorsPrecisionType, TPriorsPrecisionType >::ClassifyBasedOnPosteriors(), itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents(), itk::NumericTraits< VariableLengthVector< T > >::itkLegacyMacro(), itk::NumericTraits< VariableLengthVector< T > >::max(), itk::NumericTraits< VariableLengthVector< T > >::min(), itk::NumericTraits< VariableLengthVector< T > >::NonpositiveMin(), itk::NumericTraits< VariableLengthVector< T > >::OneValue(), itk::VariableLengthVector< TValueType >::operator!=(), otb::Function::ChannelSelectorFunctor< TInputPixel >::operator()(), otb::Function::AmplitudeFunctor< TInputPixel >::operator()(), otb::Function::PhaseFunctor< TInputPixel >::operator()(), otb::LmvmPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::FusionFunctor1::operator()(), otb::LmvmPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::FusionFunctor2::operator()(), itk::VariableLengthVector< CoefficientType >::operator+(), itk::VariableLengthVector< CoefficientType >::operator-(), itk::operator<<(), itk::VariableLengthVector< TValueType >::operator=(), itk::VariableLengthVector< TValueType >::operator==(), otb::PixelSizeFinder(), otb::Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType >::SetMean(), otb::PrintableImageFilter< TInputImage, TMaskImage >::SetObjectColor(), otb::Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType >::SetStdDev(), otb::Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType >::SetVariance(), itk::VariableLengthVector< CoefficientType >::VariableLengthVector(), itk::VariableLengthVector< TValueType >::VariableLengthVector(), and itk::NumericTraits< VariableLengthVector< T > >::ZeroValue().

Member Data Documentation

template<typename TValueType>
TValueType* itk::VariableLengthVector< TValueType >::m_Data
private
template<typename TValueType>
bool itk::VariableLengthVector< TValueType >::m_LetArrayManageMemory
private
template<typename TValueType>
ElementIdentifier itk::VariableLengthVector< TValueType >::m_NumElements
private

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

Generated at Sat Mar 8 2014 17:55:46 for Orfeo Toolbox with doxygen 1.8.3.1