Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::CvMatFromVnlVector< T > Class Template Reference

#include <mitkCvMatFromVnlVector.h>

Inheritance diagram for mitk::CvMatFromVnlVector< T >:
Collaboration diagram for mitk::CvMatFromVnlVector< T >:

Public Member Functions

 CvMatFromVnlVector (const vnl_vector< T > *_VnlVector, cv::Mat *_CvMat)
 
void Update () override
 

Detailed Description

template<class T>
class mitk::CvMatFromVnlVector< T >

casts a random cv::Mat to a vnl vector if the columns of the first row are > 1 then the vector is filled with the values from this row otherwise the first elements of each row are used to fill the vector

Definition at line 33 of file mitkCvMatFromVnlVector.h.

Constructor & Destructor Documentation

template<class T>
mitk::CvMatFromVnlVector< T >::CvMatFromVnlVector ( const vnl_vector< T > *  _VnlVector,
cv::Mat *  _CvMat 
)
inline

init default values and save references

Definition at line 40 of file mitkCvMatFromVnlVector.h.

Member Function Documentation

template<class T>
void mitk::CvMatFromVnlVector< T >::Update ( )
inlineoverridevirtual

executes the Algorithm

Implements mitk::Algorithm.

Definition at line 51 of file mitkCvMatFromVnlVector.h.

Referenced by mitk::Transform::GetCvTranslation().


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