Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkRenderingTestHelper.h"
#include "mitkTestingMacros.h"
#include <mitkNodePredicateDataType.h>
#include <mitkPlaneGeometryData.h>
#include <vtkRegressionTestImage.h>
Go to the source code of this file.
Functions | |
mitk::DataNode::Pointer | addPlaneToDataStorage (mitk::RenderingTestHelper &renderingHelper, mitk::Image *image, mitk::PlaneGeometry::PlaneOrientation orientation, mitk::ScalarType zPos) |
int | mitkPlaneGeometryDataMapper2DTest (int argc, char *argv[]) |
mitk::DataNode::Pointer addPlaneToDataStorage | ( | mitk::RenderingTestHelper & | renderingHelper, |
mitk::Image * | image, | ||
mitk::PlaneGeometry::PlaneOrientation | orientation, | ||
mitk::ScalarType | zPos | ||
) |
Definition at line 28 of file mitkPlaneGeometryDataMapper2DTest.cpp.
References mitk::RenderingTestHelper::AddNodeToStorage(), mitk::BaseData::GetGeometry(), mitk::PlaneGeometryData::New(), mitk::DataNode::New(), and mitk::PlaneGeometry::New().
Referenced by mitkPlaneGeometryDataMapper2DTest().
int mitkPlaneGeometryDataMapper2DTest | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 47 of file mitkPlaneGeometryDataMapper2DTest.cpp.
References addPlaneToDataStorage(), mitk::RenderingTestHelper::CompareRenderWindowAgainstReference(), mitk::PlaneGeometry::Frontal, mitk::BaseGeometry::GetBoundingBox(), mitk::RenderingTestHelper::GetDataStorage(), mitk::BaseData::GetGeometry(), MITK_TEST_BEGIN(), MITK_TEST_CONDITION, MITK_TEST_END(), mitk::New(), mitk::PlaneGeometry::Sagittal, and mitk::RenderingTestHelper::SaveReferenceScreenShot().