|
| | Vector () |
| | Default constructor has nothing to do. More...
|
| |
| | Vector (const mitk::Vector< TCoordRep, NVectorDimension > &r) |
| | Copy constructor. More...
|
| |
| Vector< TCoordRep, NVectorDimension > & | operator= (const Vector< TCoordRep, NVectorDimension > &r) |
| |
| | 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... Args, typename = std::enable_if_t<(sizeof...(Args) == NVectorDimension)>> |
| | Vector (Args... args) |
| |
| 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...
|
| |
template<class TCoordRep, unsigned int NVectorDimension = 3>
class mitk::Vector< TCoordRep, NVectorDimension >
Definition at line 30 of file mitkVector.h.
template<class TCoordRep , unsigned int NVectorDimension = 3>
template<typename ArrayType >
| void mitk::Vector< TCoordRep, NVectorDimension >::FillVector |
( |
const ArrayType & |
array | ) |
|
|
inline |
Copies the elements from array array to this. Note that this method will assign doubles to floats without complaining!
- Parameters
-
| array | the array whose values shall be copied. Must overload [] operator. |
Definition at line 118 of file mitkVector.h.