Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ToFTestingCommon Class Reference

#include <mitkToFTestingCommon.h>

Static Public Member Functions

static bool PointSetsEqual (mitk::PointSet::Pointer pointSet1, mitk::PointSet::Pointer pointSet2)
 PointSetsEqual Method two test if two point sets contain the same points. mitk::Equal is used for comparison of the points. More...
 
static bool VtkPolyDatasEqual (vtkSmartPointer< vtkPolyData > poly1, vtkSmartPointer< vtkPolyData > poly2)
 VtkPolyDatasEqual Convenience method for comparing the points of two vtkPolyData (using PointSetsEqual). More...
 
static mitk::PointSet::Pointer VtkPolyDataToMitkPointSet (vtkSmartPointer< vtkPolyData > poly)
 VtkPolyDataToMitkPointSet Converts a vtkPolyData into an mitkPointSet. More...
 

Detailed Description

Definition at line 31 of file mitkToFTestingCommon.h.

Member Function Documentation

static bool mitk::ToFTestingCommon::PointSetsEqual ( mitk::PointSet::Pointer  pointSet1,
mitk::PointSet::Pointer  pointSet2 
)
inlinestatic

PointSetsEqual Method two test if two point sets contain the same points. mitk::Equal is used for comparison of the points.

Parameters
pointSet1
pointSet2
Returns
True if pointsets are equal.

Definition at line 41 of file mitkToFTestingCommon.h.

References mitk::Equal(), and MITK_INFO.

static bool mitk::ToFTestingCommon::VtkPolyDatasEqual ( vtkSmartPointer< vtkPolyData >  poly1,
vtkSmartPointer< vtkPolyData >  poly2 
)
inlinestatic

VtkPolyDatasEqual Convenience method for comparing the points of two vtkPolyData (using PointSetsEqual).

Parameters
poly1
poly2
Returns
True if polydatas are equal.

Definition at line 75 of file mitkToFTestingCommon.h.

static mitk::PointSet::Pointer mitk::ToFTestingCommon::VtkPolyDataToMitkPointSet ( vtkSmartPointer< vtkPolyData >  poly)
inlinestatic

VtkPolyDataToMitkPointSet Converts a vtkPolyData into an mitkPointSet.

Parameters
polyInput polydata.
Returns
mitk::PointSet::Pointer The resulting point set.

Definition at line 85 of file mitkToFTestingCommon.h.

References mitk::PointSet::New().


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