Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::Point< TCoordRep, NPointDimension > Class Template Reference

#include <mitkPoint.h>

Inheritance diagram for mitk::Point< TCoordRep, NPointDimension >:
Collaboration diagram for mitk::Point< TCoordRep, NPointDimension >:

Public Member Functions

 Point ()
 
template<typename TPointValueType >
 Point (const Point< TPointValueType, NPointDimension > &r)
 
template<typename TPointValueType >
 Point (const TPointValueType r[NPointDimension])
 
template<typename TPointValueType >
 Point (const TPointValueType &v)
 
 Point (const mitk::Point< TCoordRep, NPointDimension > &r)
 
 Point (const TCoordRep r[NPointDimension])
 
 Point (const TCoordRep &v)
 
 Point (const itk::Point< TCoordRep, NPointDimension > &p)
 
template<typename ArrayType >
void FillPoint (const ArrayType &array)
 
template<typename ArrayType >
void ToArray (ArrayType array) const
 

Detailed Description

template<class TCoordRep, unsigned int NPointDimension = 3>
class mitk::Point< TCoordRep, NPointDimension >

Definition at line 38 of file mitkPoint.h.

Constructor & Destructor Documentation

◆ Point() [1/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
mitk::Point< TCoordRep, NPointDimension >::Point ( )
inlineexplicit

Default constructor has nothing to do.

Definition at line 42 of file mitkPoint.h.

◆ Point() [2/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
template<typename TPointValueType >
mitk::Point< TCoordRep, NPointDimension >::Point ( const Point< TPointValueType, NPointDimension > &  r)
inlineexplicit

Pass-through constructors for the Array base class.

Definition at line 45 of file mitkPoint.h.

◆ Point() [3/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
template<typename TPointValueType >
mitk::Point< TCoordRep, NPointDimension >::Point ( const TPointValueType  r[NPointDimension])
inlineexplicit

Definition at line 50 of file mitkPoint.h.

◆ Point() [4/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
template<typename TPointValueType >
mitk::Point< TCoordRep, NPointDimension >::Point ( const TPointValueType &  v)
inlineexplicit

Definition at line 55 of file mitkPoint.h.

◆ Point() [5/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
mitk::Point< TCoordRep, NPointDimension >::Point ( const mitk::Point< TCoordRep, NPointDimension > &  r)
inline

Definition at line 59 of file mitkPoint.h.

◆ Point() [6/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
mitk::Point< TCoordRep, NPointDimension >::Point ( const TCoordRep  r[NPointDimension])
inline

Definition at line 63 of file mitkPoint.h.

◆ Point() [7/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
mitk::Point< TCoordRep, NPointDimension >::Point ( const TCoordRep &  v)
inline

Definition at line 64 of file mitkPoint.h.

◆ Point() [8/8]

template<class TCoordRep , unsigned int NPointDimension = 3>
mitk::Point< TCoordRep, NPointDimension >::Point ( const itk::Point< TCoordRep, NPointDimension > &  p)
inline

Definition at line 65 of file mitkPoint.h.

Member Function Documentation

◆ FillPoint()

template<class TCoordRep , unsigned int NPointDimension = 3>
template<typename ArrayType >
void mitk::Point< TCoordRep, NPointDimension >::FillPoint ( const ArrayType &  array)
inline

Copies the elements from array array to this. Note that this method will assign doubles to floats without complaining!

Parameters
arraythe array whose values shall be copied. Must overload [] operator.

Definition at line 77 of file mitkPoint.h.

◆ ToArray()

template<class TCoordRep , unsigned int NPointDimension = 3>
template<typename ArrayType >
void mitk::Point< TCoordRep, NPointDimension >::ToArray ( ArrayType  array) const
inline

Copies the values stored in this point into the array array.

Parameters
arraythe array which should store the values of this.

Definition at line 90 of file mitkPoint.h.


The documentation for this class was generated from the following file: