Medical Imaging Interaction Toolkit  2016.11.0
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 40 of file mitkPoint.h.

Constructor & Destructor Documentation

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

Default constructor has nothing to do.

Definition at line 44 of file mitkPoint.h.

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 47 of file mitkPoint.h.

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

Definition at line 52 of file mitkPoint.h.

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

Definition at line 57 of file mitkPoint.h.

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

Definition at line 61 of file mitkPoint.h.

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

Definition at line 65 of file mitkPoint.h.

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

Definition at line 66 of file mitkPoint.h.

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

Definition at line 67 of file mitkPoint.h.

Member Function Documentation

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 79 of file mitkPoint.h.

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 92 of file mitkPoint.h.


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