39 template <
class TCoordRep,
unsigned int NPo
intDimension = 3>
40 class Point :
public itk::Point<TCoordRep, NPointDimension>
46 template <
typename TPo
intValueType>
51 template <
typename TPo
intValueType>
52 explicit Point(
const TPointValueType r[NPointDimension]) :
itk::
Point<TCoordRep, NPointDimension>(r)
56 template <
typename TPo
intValueType>
57 Point(
const TPointValueType &v) :
itk::
Point<TCoordRep, NPointDimension>(v)
62 : itk::Point<TCoordRep, NPointDimension>(r)
68 : itk::Point<TCoordRep, NPointDimension>(p)
78 template <
typename ArrayType>
81 itk::FixedArray<TCoordRep, NPointDimension> *thisP =
82 dynamic_cast<itk::FixedArray<TCoordRep, NPointDimension> *
>(
this);
83 mitk::FillArray<ArrayType, TCoordRep, NPointDimension>(*thisP, array);
91 template <
typename ArrayType>
94 mitk::ToArray<ArrayType, TCoordRep, NPointDimension>(array, *
this);
115 template <
typename TCoordRep,
unsigned int NPo
intDimension>
116 inline bool Equal(
const itk::Point<TCoordRep, NPointDimension> &point1,
117 const itk::Point<TCoordRep, NPointDimension> &point2,
119 bool verbose =
false)
123 for (
unsigned int i = 0; i < NPointDimension; i++)
Point< ScalarType, 2 > Point2D
void ConditionalOutputOfDifference(ElementToOutput1 elem1, ElementToOutput2 elem2, mitk::ScalarType eps, bool verbose, bool isEqual)
Point< ScalarType, 4 > Point4D
DataCollection - Class to facilitate loading/accessing structured data.
itk::Vector< float, 3 > VectorType
Point< ScalarType, 3 > Point3D
Point(const Point< TPointValueType, NPointDimension > &r)
Point(const TPointValueType r[NPointDimension])
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
MITKCORE_EXPORT const ScalarType eps
Point(const TPointValueType &v)
bool DifferenceBiggerOrEqualEps(DifferenceType diff, mitk::ScalarType epsilon=mitk::eps)
void ToArray(ArrayType array) const
void FillPoint(const ArrayType &array)
PointSpecificationType
enumeration of the type a point can be