Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkGeometry3D.h"
#include <vnl/vnl_quaternion.h>
#include <vnl/vnl_quaternion.txx>
#include "mitkInteractionConst.h"
#include "mitkRotationOperation.h"
#include <mitkImageCast.h>
#include <mitkMatrixConvert.h>
#include "mitkTestingMacros.h"
#include <fstream>
#include <mitkNumericTypes.h>
#include <itkImage.h>
Go to the source code of this file.
Functions | |
bool | testGetAxisVectorVariants (mitk::Geometry3D *geometry) |
bool | testGetAxisVectorExtent (mitk::Geometry3D *geometry) |
int | testIndexAndWorldConsistency (mitk::Geometry3D *geometry3d) |
int | testIndexAndWorldConsistencyForVectors (mitk::Geometry3D *geometry3d) |
int | testIndexAndWorldConsistencyForIndex (mitk::Geometry3D *geometry3d) |
int | testItkImageIsCenterBased () |
int | testGeometry3D (bool imageGeometry) |
int | testGeometryAfterCasting () |
int | mitkGeometry3DTest (int, char *[]) |
int mitkGeometry3DTest | ( | int | , |
char * | [] | ||
) |
Definition at line 606 of file mitkGeometry3DTest.cpp.
References MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), MITK_TEST_OUTPUT, testGeometry3D(), testGeometryAfterCasting(), and testItkImageIsCenterBased().
int testGeometry3D | ( | bool | imageGeometry | ) |
Definition at line 297 of file mitkGeometry3DTest.cpp.
References mitk::Equal(), mitk::FillVector3D(), mitk::GetRotation(), MITK_TEST_CONDITION, MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, mitk::Geometry3D::New(), mitk::New(), mitk::OpROTATE, rotation, testGetAxisVectorExtent(), testGetAxisVectorVariants(), testIndexAndWorldConsistency(), testIndexAndWorldConsistencyForIndex(), and testIndexAndWorldConsistencyForVectors().
Referenced by mitkGeometry3DTest().
int testGeometryAfterCasting | ( | ) |
Definition at line 414 of file mitkGeometry3DTest.cpp.
References mitk::CastToMitkImage(), mitk::eps, MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, and mitk::New().
Referenced by mitkGeometry3DTest().
bool testGetAxisVectorExtent | ( | mitk::Geometry3D * | geometry | ) |
Definition at line 60 of file mitkGeometry3DTest.cpp.
References mitk::Equal(), mitk::BaseGeometry::GetAxisVector(), and mitk::BaseGeometry::GetExtentInMM().
Referenced by testGeometry3D().
bool testGetAxisVectorVariants | ( | mitk::Geometry3D * | geometry | ) |
Definition at line 31 of file mitkGeometry3DTest.cpp.
References mitk::Equal(), mitk::BaseGeometry::GetAxisVector(), and mitk::BaseGeometry::GetCornerPoint().
Referenced by testGeometry3D().
int testIndexAndWorldConsistency | ( | mitk::Geometry3D * | geometry3d | ) |
Definition at line 76 of file mitkGeometry3DTest.cpp.
References mitk::Equal(), mitk::FillVector3D(), mitk::BaseGeometry::GetBoundingBox(), mitk::BaseGeometry::GetCenter(), mitk::BaseGeometry::GetImageGeometry(), mitk::BaseGeometry::GetOrigin(), mitk::BaseGeometry::GetSpacing(), mitk::BaseGeometry::IndexToWorld(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, rotation, mitk::vtk2itk(), and mitk::BaseGeometry::WorldToIndex().
Referenced by testGeometry3D().
int testIndexAndWorldConsistencyForIndex | ( | mitk::Geometry3D * | geometry3d | ) |
Definition at line 193 of file mitkGeometry3DTest.cpp.
References mitk::BaseGeometry::IndexToWorld(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, and mitk::BaseGeometry::WorldToIndex().
Referenced by testGeometry3D().
int testIndexAndWorldConsistencyForVectors | ( | mitk::Geometry3D * | geometry3d | ) |
Definition at line 147 of file mitkGeometry3DTest.cpp.
References mitk::BaseGeometry::GetAxisVector(), mitk::BaseGeometry::GetOrigin(), mitk::BaseGeometry::IndexToWorld(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, and mitk::BaseGeometry::WorldToIndex().
Referenced by testGeometry3D().
int testItkImageIsCenterBased | ( | ) |
Definition at line 242 of file mitkGeometry3DTest.cpp.
References mitk::FillVector3D(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, mitk::New(), rotation, and mitk::vtk2itk().
Referenced by mitkGeometry3DTest().