Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkVector.h>
Public Member Functions | |
Vector () | |
Default constructor has nothing to do. More... | |
Vector (const mitk::Vector< TCoordRep, NVectorDimension > &r) | |
Copy constructor. More... | |
Vector (const itk::Vector< TCoordRep, NVectorDimension > &r) | |
Constructor to convert from itk::Vector to mitk::Vector. More... | |
Vector (const TCoordRep r[NVectorDimension]) | |
Constructor to convert an array to mitk::Vector. More... | |
Vector (const TCoordRep &v) | |
Vector (const vnl_vector< TCoordRep > &vnlVector) | |
Constructor for vnl_vectors. More... | |
Vector (const vnl_vector_fixed< TCoordRep, NVectorDimension > &vnlVectorFixed) | |
Constructor for vnl_vector_fixed. More... | |
template<typename ArrayType > | |
void | FillVector (const ArrayType &array) |
template<typename ArrayType > | |
void | ToArray (ArrayType array) const |
operator vnl_vector< TCoordRep > () const | |
User defined conversion of mitk::Vector to vnl_vector. Note: the conversion to mitk::Vector to vnl_vector_fixed has not been implemented since this would collide with the conversion vnl_vector to vnl_vector_fixed provided by vnl. More... | |
Definition at line 32 of file mitkVector.h.
|
inlineexplicit |
Default constructor has nothing to do.
Definition at line 38 of file mitkVector.h.
|
inlineexplicit |
Copy constructor.
Definition at line 42 of file mitkVector.h.
|
inline |
Constructor to convert from itk::Vector to mitk::Vector.
Definition at line 50 of file mitkVector.h.
|
inline |
Constructor to convert an array to mitk::Vector.
r | the array. |
Definition at line 60 of file mitkVector.h.
|
inline |
Constructor to initialize entire vector to one value.
Definition at line 68 of file mitkVector.h.
|
inline |
Constructor for vnl_vectors.
mitk::Exception | if vnl_vector.size() != NVectorDimension. |
Definition at line 73 of file mitkVector.h.
|
inline |
Constructor for vnl_vector_fixed.
Definition at line 89 of file mitkVector.h.
|
inline |
Copies the elements from array array to this. Note that this method will assign doubles to floats without complaining!
array | the array whose values shall be copied. Must overload [] operator. |
Definition at line 105 of file mitkVector.h.
|
inline |
User defined conversion of mitk::Vector to vnl_vector. Note: the conversion to mitk::Vector to vnl_vector_fixed has not been implemented since this would collide with the conversion vnl_vector to vnl_vector_fixed provided by vnl.
Definition at line 128 of file mitkVector.h.
|
inline |
Copies the values stored in this vector into the array array.d
array | the array which should store the values of this. |
Definition at line 118 of file mitkVector.h.