Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkPlaneGeometryDataToSurfaceFilter.h"
#include "mitkPlaneGeometry.h"
#include "mitkPlaneGeometryData.h"
#include "mitkSurface.h"
#include "vtkPolyData.h"
#include <fstream>
Go to the source code of this file.
Functions | |
template<typename TScalarType > | |
int | testExpectedIndexBoundingBox (mitk::BaseGeometry *geometry, TScalarType expectedIndexBounds[6]) |
template<typename TScalarType > | |
int | testExpectedAxisParallelBoundingBox (mitk::BaseGeometry *geometry, TScalarType expectedAxisParallelBounds[6]) |
int | testSurfaceBoundingBoxConsistency (mitk::Surface *surface, bool expectIdentityTransform) |
int | testGeometryDataToSurfaceFilter (mitk::PlaneGeometryDataToSurfaceFilter *geometryToSurfaceFilter, mitk::ScalarType expectedIndexBounds[6], mitk::ScalarType expectedAxisParallelBounds[6], bool expectIdentityTransform) |
int | mitkGeometryDataToSurfaceFilterTest (int, char *[]) |
int mitkGeometryDataToSurfaceFilterTest | ( | int | , |
char * | [] | ||
) |
Definition at line 168 of file mitkGeometryDataToSurfaceFilterTest.cpp.
References mitk::FillVector3D(), mitk::PlaneGeometryData::New(), mitk::New(), mitk::PlaneGeometryDataToSurfaceFilter::New(), mitk::PlaneGeometry::New(), and testGeometryDataToSurfaceFilter().
int testExpectedAxisParallelBoundingBox | ( | mitk::BaseGeometry * | geometry, |
TScalarType | expectedAxisParallelBounds[6] | ||
) |
Definition at line 47 of file mitkGeometryDataToSurfaceFilterTest.cpp.
References mitk::BaseGeometry::CalculateBoundingBoxRelativeToTransform(), and mitk::Equal().
Referenced by testGeometryDataToSurfaceFilter().
int testExpectedIndexBoundingBox | ( | mitk::BaseGeometry * | geometry, |
TScalarType | expectedIndexBounds[6] | ||
) |
Definition at line 28 of file mitkGeometryDataToSurfaceFilterTest.cpp.
References mitk::Equal(), and mitk::BaseGeometry::GetBoundingBox().
Referenced by testGeometryDataToSurfaceFilter(), and testSurfaceBoundingBoxConsistency().
int testGeometryDataToSurfaceFilter | ( | mitk::PlaneGeometryDataToSurfaceFilter * | geometryToSurfaceFilter, |
mitk::ScalarType | expectedIndexBounds[6], | ||
mitk::ScalarType | expectedAxisParallelBounds[6], | ||
bool | expectIdentityTransform | ||
) |
Definition at line 107 of file mitkGeometryDataToSurfaceFilterTest.cpp.
References mitk::BaseData::GetGeometry(), mitk::SurfaceSource::GetOutput(), mitk::BaseData::SetRequestedRegionToLargestPossibleRegion(), testExpectedAxisParallelBoundingBox(), testExpectedIndexBoundingBox(), and testSurfaceBoundingBoxConsistency().
Referenced by mitkGeometryDataToSurfaceFilterTest().
int testSurfaceBoundingBoxConsistency | ( | mitk::Surface * | surface, |
bool | expectIdentityTransform | ||
) |
Definition at line 65 of file mitkGeometryDataToSurfaceFilterTest.cpp.
References mitk::BaseData::GetGeometry(), mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::Surface::GetVtkPolyData(), mitk::PlaneGeometry::New(), and testExpectedIndexBoundingBox().
Referenced by testGeometryDataToSurfaceFilter().