Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkArray.h File Reference
#include <itkFixedArray.h>
#include <mitkEqual.h>
#include <mitkNumericConstants.h>

Go to the source code of this file.

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Functions

template<typename ArrayType , typename TCoordRep , unsigned int NVectorDimension>
void mitk::FillArray (itk::FixedArray< TCoordRep, NVectorDimension > &toArray, const ArrayType &array)
 Methods to copy between itk::FixedArray types (like mitk::Vector and mitk::Point) and ArrayTypes. More...
 
template<typename ArrayType , typename TCoordRep , unsigned int NVectorDimension>
itk::FixedArray< TCoordRep, NVectorDimension > mitk::FillArray (const ArrayType &array)
 Copy elements of an array into a new itk::FixedArray and return it. More...
 
template<typename ArrayType , typename TCoordRep , unsigned int NVectorDimension>
void mitk::ToArray (ArrayType &array, const itk::FixedArray< TCoordRep, NVectorDimension > &vectorOrPoint)
 Copy elements from an itk::FixedArray into an array. More...
 
template<typename ArrayType , typename TCoordRep , unsigned int NVectorDimension>
ArrayType mitk::ToArray (const itk::FixedArray< TCoordRep, NVectorDimension > &vectorOrPoint)
 Copy elements from an itk::FixedArray into a new array and return it. More...
 
template<class Tout >
void mitk::FillVector3D (Tout &out, mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
 Fill a 3D array/vector with the given x, y, z values. More...
 
template<class Tout >
void mitk::FillVector4D (Tout &out, mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z, mitk::ScalarType t)
 Fill a 4D array/vector with the given x, y, z, t values. More...
 
template<typename TArrayType1 , typename TArrayType2 >
bool mitk::EqualArray (TArrayType1 &arrayType1, TArrayType2 &arrayType2, int size, ScalarType eps=mitk::eps, bool verbose=false)
 Compare two array-like objects element-wise for equality within a tolerance. More...