Medical Imaging Interaction Toolkit  2023.04.00
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 27 of file mitkToFTestingCommon.h.

Member Function Documentation

◆ PointSetsEqual()

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 37 of file mitkToFTestingCommon.h.

References mitk::Equal(), and MITK_INFO.

◆ VtkPolyDatasEqual()

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 71 of file mitkToFTestingCommon.h.

◆ VtkPolyDataToMitkPointSet()

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 81 of file mitkToFTestingCommon.h.

References mitk::PointSet::New().


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