ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkConstantBoundaryCondition.h>
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...
Arrays
. n
entities.n
entitiesn
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.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.m_LetArrayManageMemory
is true, m_Data
is deletable (whether it's null or pointing to something with no elements. i.e. m_NumElements
may be 0 and yet m_Data
may be not null.) Definition at line 27 of file itkConstantBoundaryCondition.h.
Classes | |
struct | AllocateRootPolicy |
struct | AlwaysReallocate |
struct | DontShrinkToFit |
struct | DumpOldValues |
struct | KeepOldValues |
struct | KeepValuesRootPolicy |
struct | NeverReallocate |
struct | ShrinkToFit |
Public Types | |
typedef TValue | ComponentType |
typedef unsigned int | ElementIdentifier |
typedef NumericTraits < ValueType >::RealType | RealValueType |
typedef VariableLengthVector | Self |
typedef TValue | ValueType |
Public Member Functions | |
TValue * | AllocateElements (ElementIdentifier size) const |
void | DestroyExistingData () noexcept |
Self & | FastAssign (const Self &v) noexcept |
void | Fill (TValue const &v) noexcept |
const TValue * | GetDataPointer () const noexcept |
const TValue & | GetElement (unsigned int i) const noexcept |
RealValueType | GetNorm () const noexcept |
RealValueType | GetSquaredNorm () const noexcept |
bool | IsAProxy () const noexcept |
bool | operator!= (const Self &v) const noexcept |
Self & | operator- () noexcept |
template<typename TExpr1 , typename TExpr2 , typename TBinaryOp > | |
Self & | operator= (VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const &rhs) |
Self & | operator= (const Self &v) |
Self & | operator= (TValue const &v) noexcept |
bool | operator== (const Self &v) const noexcept |
TValue & | operator[] (unsigned int i) noexcept |
TValue const & | operator[] (unsigned int i) const noexcept |
void | SetData (TValue *data, bool LetArrayManageMemory=false) noexcept |
void | SetData (TValue *data, unsigned int sz, bool LetArrayManageMemory=false) noexcept |
void | SetElement (unsigned int i, const TValue &value) noexcept |
template<typename TReallocatePolicy , typename TKeepValuesPolicy > | |
void | SetSize (unsigned int sz, TReallocatePolicy reallocatePolicy, TKeepValuesPolicy keepValues) |
VariableLengthVector () | |
VariableLengthVector (unsigned int dimension) | |
VariableLengthVector (ValueType *data, unsigned int sz, bool LetArrayManageMemory=false) | |
VariableLengthVector (const ValueType *data, unsigned int sz, bool LetArrayManageMemory=false) | |
VariableLengthVector (const VariableLengthVector< TValue > &v) | |
template<typename TExpr1 , typename TExpr2 , typename TBinaryOp > | |
VariableLengthVector (VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const &rhs) | |
~VariableLengthVector () | |
template<typename T > | |
VariableLengthVector (const VariableLengthVector< T > &v) | |
void | Swap (Self &v) noexcept |
template<typename T > | |
Self & | operator= (const VariableLengthVector< T > &v) |
unsigned int | Size (void) const noexcept |
unsigned int | GetSize (void) const noexcept |
unsigned int | GetNumberOfElements (void) const noexcept |
void | SetSize (unsigned int sz, bool destroyExistingData=true) |
void | Reserve (ElementIdentifier size) |
Self & | operator-- () noexcept |
Self & | operator++ () noexcept |
Self | operator-- (int) |
Self | operator++ (int) |
template<typename T > | |
Self & | operator-= (const VariableLengthVector< T > &v) noexcept |
Self & | operator-= (TValue s) noexcept |
template<typename T > | |
Self & | operator+= (const VariableLengthVector< T > &v) noexcept |
Self & | operator+= (TValue s) noexcept |
template<typename TExpr1 , typename TExpr2 , typename TBinaryOp > | |
Self & | operator+= (VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const &rhs) noexcept |
template<typename TExpr1 , typename TExpr2 , typename TBinaryOp > | |
Self & | operator-= (VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const &rhs) noexcept |
template<typename T > | |
Self & | operator*= (T s) noexcept |
Self & | operator*= (TValue s) noexcept |
template<typename T > | |
Self & | operator/= (T s) noexcept |
Private Attributes | |
TValue * | m_Data |
bool | m_LetArrayManageMemory |
ElementIdentifier | m_NumElements |
Related Functions | |
(Note that these are not member functions.) | |
template<typename TExpr1 , typename TExpr2 > | |
mpl::EnableIf < Details::op::CanBeMultiplied < TExpr1, TExpr2 > , VariableLengthVectorExpression < TExpr1, TExpr2, Details::op::Mult > >::Type | operator* (TExpr1 const &lhs, TExpr2 const &rhs) noexcept |
template<typename TExpr1 , typename TExpr2 > | |
mpl::EnableIf < Details::op::CanBeAddedOrSubstracted < TExpr1, TExpr2 > , VariableLengthVectorExpression < TExpr1, TExpr2, Details::op::Plus > >::Type | operator+ (TExpr1 const &lhs, TExpr2 const &rhs) noexcept |
template<typename TExpr1 , typename TExpr2 > | |
mpl::EnableIf < Details::op::CanBeAddedOrSubstracted < TExpr1, TExpr2 > , VariableLengthVectorExpression < TExpr1, TExpr2, Details::op::Sub > >::Type | operator- (TExpr1 const &lhs, TExpr2 const &rhs) noexcept |
template<typename TExpr1 , typename TExpr2 > | |
mpl::EnableIf < Details::op::CanBeDivided < TExpr1, TExpr2 > , VariableLengthVectorExpression < TExpr1, TExpr2, Details::op::Div > >::Type | operator/ (TExpr1 const &lhs, TExpr2 const &rhs) noexcept |
Serialization | |
template<typename TValue > | |
std::ostream & | operator<< (std::ostream &os, const VariableLengthVector< TValue > &arr) |
Standard compliance functions | |
template<typename T > | |
void | swap (VariableLengthVector< T > &l_, VariableLengthVector< T > &r_) noexcept |
typedef TValue itk::VariableLengthVector< TValue >::ComponentType |
Definition at line 310 of file itkVariableLengthVector.h.
typedef unsigned int itk::VariableLengthVector< TValue >::ElementIdentifier |
Typedef used to indicate the number of elements in the vector
Definition at line 315 of file itkVariableLengthVector.h.
typedef NumericTraits< ValueType >::RealType itk::VariableLengthVector< TValue >::RealValueType |
Definition at line 311 of file itkVariableLengthVector.h.
typedef VariableLengthVector itk::VariableLengthVector< TValue >::Self |
Definition at line 312 of file itkVariableLengthVector.h.
typedef TValue itk::VariableLengthVector< TValue >::ValueType |
The element type stored at each location in the Array.
Definition at line 309 of file itkVariableLengthVector.h.
itk::VariableLengthVector< TValue >::VariableLengthVector | ( | ) |
|
explicit |
itk::VariableLengthVector< TValue >::VariableLengthVector | ( | ValueType * | data, |
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.
m_Data == data
m_NumElements == sz
m_LetArrayManageMemory == LetArrayManageMemory
itk::VariableLengthVector< TValue >::VariableLengthVector | ( | const ValueType * | data, |
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.
VariableLengthVector
interface. Use this constructor with care as this may lead to undefined behaviour. Prefer using VariableLengthVector<const TValue>
instead of VariableLengthVector<TValue>
in case we which to use this constructor.m_Data == data
m_NumElements == sz
m_LetArrayManageMemory == LetArrayManageMemory
|
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
. Prefer to directly use the assignment converting operator in code where uses of static_cast<>
would be required.m_Data
is not null and points to an array of m_NumElements
, if m_NumElements
is 0, otherwise it's null. m_NumElements
is v.GetSize()
m_LetArrayManageMemory
is true Definition at line 393 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::AllocateElements(), itk::VariableLengthVector< TValue >::m_Data, itk::VariableLengthVector< TValue >::m_LetArrayManageMemory, itk::VariableLengthVector< TValue >::m_NumElements, and itk::VariableLengthVector< TValue >::Size().
itk::VariableLengthVector< TValue >::VariableLengthVector | ( | const VariableLengthVector< TValue > & | v | ) |
Copy constructor. Overrides the default non-templated copy constructor that the compiler provides.
m_Data
is not null and points to an array of m_NumElements
, if m_NumElements
is 0, otherwise it's null. m_NumElements
is v.GetSize()
m_LetArrayManageMemory
is true itk::VariableLengthVector< TValue >::VariableLengthVector | ( | VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const & | rhs | ) |
Constructor from an Expression Template vector.
TExpr1 | Type of the left sub-expression |
TExpr2 | Type of the right sub-expression |
TBinaryOp | Binary Operation to apply to both sub-expressions. |
[in] | rhs | Non evaluated Expression Template. |
Builds the new VariableLengthVector
with an expression template. The code loops over all components from the template expression, and evaluates them on the fly to fill the content of the new vector.
m_Data
is not null and points to an array of m_NumElements
, even if m_NumElements
is 0 *this == rhs
m_NumElements
is rhs.GetSize()
m_LetArrayManageMemory
is true itk::VariableLengthVector< TValue >::~VariableLengthVector | ( | ) |
This destructor is not virtual for performance reasons. However, this means that subclasses cannot allocate memory.
TValue* itk::VariableLengthVector< TValue >::AllocateElements | ( | ElementIdentifier | size | ) | const |
Allocate memory of certain size and return it.
size
elements (0 is a valid parameter). Referenced by itk::VariableLengthVector< TValue >::VariableLengthVector().
|
noexcept |
Destroy data that is allocated internally, if LetArrayManageMemory
is true.
|
noexcept |
Fast Assignment.
m_LetArrayManageMemory
is true: the VariableLengthVector
is not a proxy, checked with an assertion. Call SetSize(GetSize(), NeverReallocate(), DumpOldValues())
to ensure a vector is not a proxy anymore.
|
noexcept |
Set the all the elements of the array to the specified value.
Referenced by itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::CheckOutsideValue(), itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::MakeZeroInitializer(), itk::NumericTraits< VariableLengthVector< T > >::max(), itk::NumericTraits< VariableLengthVector< T > >::min(), itk::NumericTraits< VariableLengthVector< T > >::NonpositiveMin(), itk::NumericTraits< VariableLengthVector< T > >::OneValue(), itk::NumericTraits< VariableLengthVector< T > >::SetLength(), and itk::NumericTraits< VariableLengthVector< T > >::ZeroValue().
|
inlinenoexcept |
Definition at line 726 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data.
Referenced by itk::MetaArrayWriter::SetInput().
|
inlinenoexcept |
Get one element
Definition at line 588 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data.
|
noexcept |
Returns vector's Euclidean Norm
Referenced by itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetScalarValue().
|
inlinenoexcept |
Return the number of elements in the Array
Definition at line 578 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Return the number of elements in the Array
Definition at line 577 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_NumElements.
Referenced by itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::CheckOutsideValue(), itk::NumericTraits< VariableLengthVector< T > >::GetLength(), itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::MathEMAMAMAM(), and itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::MathSMAMAMAM().
|
noexcept |
Returns vector's squared Euclidean Norm
|
inlinenoexcept |
letArrayManageMemory getter.
Definition at line 945 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_LetArrayManageMemory.
|
noexcept |
|
inlinenoexcept |
Multiply each element of the vector by a scalar 's'. The scalar value is cast to the current vector element type prior to multiplication.
None |
Definition at line 884 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Multiply each element of the vector by a scalar 's'.
None |
Definition at line 898 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Prefix operator that adds 1 to each element of the vector.
Definition at line 741 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inline |
Postfix operator that adds 1 to each element of the vector.
Definition at line 763 of file itkVariableLengthVector.h.
|
inlinenoexcept |
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.
None |
Definition at line 814 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Add scalar 's' to each element of the vector.
Definition at line 826 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Compound addition operator with a expression template vector.
TExpr1 | Type of the left sub-expression |
TExpr2 | Type of the right sub-expression |
TBinaryOp | Binary Operation to apply to both sub-expressions. |
[in] | rhs | Non evaluated Expression Template. |
Size() == rhs.Size()
, checked with an assertion Definition at line 846 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, itk::VariableLengthVector< TValue >::m_NumElements, and itk::VariableLengthVector< TValue >::Size().
|
noexcept |
Negates each vector element.
VariableLengthVector
, it modifies the current object.
|
inlinenoexcept |
Prefix operator that subtracts 1 from each element of the vector.
Definition at line 730 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inline |
Postfix operator that subtracts 1 from each element of the vector.
Definition at line 753 of file itkVariableLengthVector.h.
|
inlinenoexcept |
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.
None |
Definition at line 782 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Subtract scalar 's' from each element of the current vector.
Definition at line 794 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
|
inlinenoexcept |
Compound substraction operator with a expression template vector.
TExpr1 | Type of the left sub-expression |
TExpr2 | Type of the right sub-expression |
TBinaryOp | Binary Operation to apply to both sub-expressions. |
[in] | rhs | Non evaluated Expression Template. |
Size() == rhs.Size()
, checked with an assertion Definition at line 867 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, itk::VariableLengthVector< TValue >::m_NumElements, and itk::VariableLengthVector< TValue >::Size().
|
inlinenoexcept |
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.
None |
Definition at line 915 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, and itk::VariableLengthVector< TValue >::m_NumElements.
Self& itk::VariableLengthVector< TValue >::operator= | ( | VariableLengthVectorExpression< TExpr1, TExpr2, TBinaryOp > const & | rhs | ) |
Assignment from an Expression Template vector.
TExpr1 | Type of the left sub-expression |
TExpr2 | Type of the right sub-expression |
TBinaryOp | Binary Operation to apply to both sub-expressions. |
[in] | rhs | Non evaluated Expression Template. |
Resets the new VariableLengthVector
with an expression template. The code loops over all components from the template expression, and evaluates them on the fly to fill the content of the current vector.
VariableLengthVector
proxy, the referenced values are left unchanged. m_Data
is not null and points to an array of m_NumElements
, if m_NumElements
is not 0. m_Data
may be null otherwise (an empty vector is assigned into another empty vector) m_LetArrayManageMemory
is true GetSize() == rhs.GetSize()
*this == rhs
|
inline |
Converting assignment operator.
TValue
assignment is a noexcept
operation.VariableLengthVector
proxy, the referenced values are left unchanged. m_LetArrayManageMemory
is true GetSize() == v.GetSize()
, modulo precision *this == v
Definition at line 520 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, itk::VariableLengthVector< TValue >::SetSize(), and itk::VariableLengthVector< TValue >::Size().
Self& itk::VariableLengthVector< TValue >::operator= | ( | const Self & | v | ) |
Copy-Assignment operator.
TValue
assignment is a noexcept
operation.VariableLengthVector
proxy, the referenced values are left unchanged. m_Data
is not null and points to an array of m_NumElements
, if m_NumElements
is not 0. m_Data
may be null otherwise (an empty vector is assigned into another empty vector) m_LetArrayManageMemory
is true GetSize() == v.GetSize()
*this == v
|
noexcept |
Assignment operator from a numeric value.
m_LetArrayManageMemory
is true, but it is unchecked. If this operator is called on a VariableLengthVector
proxy, referenced values will be overwritten. [m_Data, m_Data+GetSize())
will be equal to v
, modulo precision
|
noexcept |
|
inlinenoexcept |
Return reference to the element at specified index. No range checking.
Definition at line 582 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data.
|
inlinenoexcept |
Return reference to the element at specified index. No range checking.
Definition at line 585 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data.
void itk::VariableLengthVector< TValue >::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. \post \c m_Data is not null and can hold \c size elements. \post \c m_LetArrayManageMemory may be left unchanged if there already are enough elements. \note You may prefer instead `SetSize(N, DontShrinkToFit(), KeepOldValues());` that ensures that the array is not a proxy at the end of the operation.
|
noexcept |
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.
data
shall match vector current size. Prefer the other overload. m_Data
is deleted iff m_LetArrayManageMemory
is true m_Data == data
m_LetArrayManageMemory ==LetArrayManageMemory
Size()
is left unmodified. Referenced by itk::MetaArrayReader::GetOutput().
|
noexcept |
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.
m_Data
is deleted iff m_LetArrayManageMemory
is true m_Data == data
m_LetArrayManageMemory ==LetArrayManageMemory
m_NumElements == sz
|
inlinenoexcept |
Set one element
Definition at line 591 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data.
void itk::VariableLengthVector< TValue >::SetSize | ( | unsigned int | sz, |
TReallocatePolicy | reallocatePolicy, | ||
TKeepValuesPolicy | keepValues | ||
) |
Resizes the vector.
TReallocatePolicy | Policy that determines precisely the conditions under which the internal buffer shall be reallocated. It shall inherit from AllocateRootPolicy . |
TKeepValuesPolicy | Policy that determines whether old elements shall be kept. It shall inherit from KeepValuesRootPolicy . |
Referenced by itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >::MakeZeroInitializer(), itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::MathEMAMAMAM(), itk::RecursiveSeparableImageFilter< TInputImage, TOutputImage >::MathSMAMAMAM(), itk::VariableLengthVector< TValue >::operator=(), itk::NumericTraits< VariableLengthVector< T > >::SetLength(), and itk::VariableLengthVector< TValue >::SetSize().
|
inline |
Set the size to that given.
If \c destroyExistingData is \c 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 \c 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 \c true.
Definition at line 641 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::SetSize().
|
inlinenoexcept |
Return the number of elements in the Array
Definition at line 576 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_NumElements.
Referenced by itk::Statistics::MeasurementVectorTraits::Assert(), itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents(), itk::NumericTraits< VariableLengthVector< T > >::max(), itk::NumericTraits< VariableLengthVector< T > >::min(), itk::NumericTraits< VariableLengthVector< T > >::NonpositiveMin(), itk::NumericTraits< VariableLengthVector< T > >::OneValue(), itk::VariableLengthVector< TValue >::operator+=(), itk::VariableLengthVector< TValue >::operator-=(), itk::VariableLengthVector< TValue >::operator=(), itk::MetaArrayWriter::SetInput(), itk::MeshIOBase::SetPixelType(), itk::VariableLengthVector< TValue >::VariableLengthVector(), and itk::NumericTraits< VariableLengthVector< T > >::ZeroValue().
|
inlinenoexcept |
Swaps two VariableLengthVector
's.
VariableLengthVector
to act as a proxy, or both, checked with an assertion. *this
and old
contents are swapped. [in,out] | v | other VariableLengthVector to be swapped with. |
None |
itk::swap()
Definition at line 431 of file itkVariableLengthVector.h.
References itk::VariableLengthVector< TValue >::m_Data, itk::VariableLengthVector< TValue >::m_LetArrayManageMemory, itk::VariableLengthVector< TValue >::m_NumElements, itk::swap(), and itk::VariableLengthVector< TValue >::swap().
|
related |
Multiplication between a VariableLengthVector
and a scalar. This operation is generic and takes one array and one number (on either side).
None | As no allocation will be performed. |
mpl::IsArray<>
to know the exact array types recognized as array by this traits Definition at line 1255 of file itkVariableLengthVector.h.
|
related |
Addition involving a VariableLengthVector
. This operation is generic and takes:
None | As no allocation will be performed. |
mpl::IsArray<>
to know the exact array types recognized as array by this traits Definition at line 1226 of file itkVariableLengthVector.h.
|
related |
Substraction involving a VariableLengthVector
. This operation is generic and takes:
None | As no allocation will be performed. |
mpl::IsArray<>
to know the exact array types recognized as array by this traits Definition at line 1241 of file itkVariableLengthVector.h.
|
related |
Division of a VariableLengthVector
by a scalar. This operation is generic and takes one array and one number.
None | As no allocation will be performed. |
mpl::IsArray<>
to know the exact array types recognized as array by this traits Definition at line 1268 of file itkVariableLengthVector.h.
|
related |
Serialization of VariableLengthVector
Definition at line 1332 of file itkVariableLengthVector.h.
|
related |
swap()
overload for VariableLengthVector
None |
Definition at line 1374 of file itkVariableLengthVector.h.
Referenced by itk::VariableLengthVector< TValue >::Swap().
|
private |
Definition at line 950 of file itkVariableLengthVector.h.
Referenced by itk::VariableLengthVector< TValue >::GetDataPointer(), itk::VariableLengthVector< TValue >::GetElement(), itk::VariableLengthVector< TValue >::operator*=(), itk::VariableLengthVector< TValue >::operator++(), itk::VariableLengthVector< TValue >::operator+=(), itk::VariableLengthVector< TValue >::operator--(), itk::VariableLengthVector< TValue >::operator-=(), itk::VariableLengthVector< TValue >::operator/=(), itk::VariableLengthVector< TValue >::operator=(), itk::VariableLengthVector< TValue >::operator[](), itk::VariableLengthVector< TValue >::SetElement(), itk::VariableLengthVector< TValue >::Swap(), and itk::VariableLengthVector< TValue >::VariableLengthVector().
|
private |
Definition at line 948 of file itkVariableLengthVector.h.
Referenced by itk::VariableLengthVector< TValue >::IsAProxy(), itk::VariableLengthVector< TValue >::Swap(), and itk::VariableLengthVector< TValue >::VariableLengthVector().
|
private |
Definition at line 951 of file itkVariableLengthVector.h.
Referenced by itk::VariableLengthVector< TValue >::GetNumberOfElements(), itk::VariableLengthVector< TValue >::GetSize(), itk::VariableLengthVector< TValue >::operator*=(), itk::VariableLengthVector< TValue >::operator++(), itk::VariableLengthVector< TValue >::operator+=(), itk::VariableLengthVector< TValue >::operator--(), itk::VariableLengthVector< TValue >::operator-=(), itk::VariableLengthVector< TValue >::operator/=(), itk::VariableLengthVector< TValue >::Size(), itk::VariableLengthVector< TValue >::Swap(), and itk::VariableLengthVector< TValue >::VariableLengthVector().