Medical Imaging Interaction Toolkit  2018.4.99-b7f3afaa
Medical Imaging Interaction Toolkit
mitkPlanarFigureIOTest.cpp File Reference
#include "mitkTestingMacros.h"
#include "mitkPlanarAngle.h"
#include "mitkPlanarCircle.h"
#include "mitkPlanarCross.h"
#include "mitkPlanarFourPointAngle.h"
#include "mitkPlanarLine.h"
#include "mitkPlanarPolygon.h"
#include "mitkPlanarRectangle.h"
#include "mitkPlanarSubdivisionPolygon.h"
#include "mitkPlanarFigureReader.h"
#include "mitkPlanarFigureWriter.h"
#include "mitkPlaneGeometry.h"
#include <itksys/SystemTools.hxx>

Go to the source code of this file.


static mitk::PlanarFigure::Pointer Clone (mitk::PlanarFigure::Pointer original)
int mitkPlanarFigureIOTest (int, char *[])
 Test for PlanarFigure reader and writer classes. More...

Function Documentation

◆ Clone()

◆ mitkPlanarFigureIOTest()

int mitkPlanarFigureIOTest ( int  ,
char *  [] 

Test for PlanarFigure reader and writer classes.

The test works as follows:

First, a number of PlanarFigure objects of different types are created and placed with various control points. These objects are the serialized to file, read again from file, and the retrieved objects are compared with their control points, properties, and geometry information to the original PlanarFigure objects.

Definition at line 524 of file mitkPlanarFigureIOTest.cpp.

References MITK_TEST_BEGIN(), and MITK_TEST_END().