MCPcopy Create free account
hub / github.com/MITK/MITK / ToArray

Function ToArray

Modules/Core/include/mitkArray.h:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 */
73 template <typename ArrayType, typename TCoordRep, unsigned int NVectorDimension>
74 void ToArray(ArrayType &array, const itk::FixedArray<TCoordRep, NVectorDimension> &vectorOrPoint)
75 {
76 for (unsigned short int var = 0; var < NVectorDimension; ++var)
77 {
78 array[var] = vectorOrPoint[var];
79 }
80 }
81
82 /**
83 * \brief Copy elements from an itk::FixedArray into a new array and return it.

Callers 4

GenerateDataMethod · 0.85
MapMethod · 0.85
InternalDrawContourMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected