Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSlicedGeometry3DTest.cpp File Reference
#include "mitkImage.h"
#include "mitkPlaneGeometry.h"
#include "mitkSlicedGeometry3D.h"
#include "mitkTestingMacros.h"
#include <vnl/vnl_quaternion.h>
#include <vnl/vnl_quaternion.txx>
#include <fstream>
#include <array>

Go to the source code of this file.

Functions

static mitk::PlaneGeometry::Pointer createPlaneGeometry ()
 
static mitk::SlicedGeometry3D::Pointer createSlicedGeometry (const mitk::Point3D &origin, const mitk::Vector3D &spacing, int numberOfSlices)
 
static mitk::SlicedGeometry3D::Pointer createEvenlySpacedSlicedGeometry (mitk::PlaneGeometry::Pointer planeGeometry, mitk::ScalarType spacing, int numberOfSlices)
 
template<class T >
static T createArray (mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
 
static mitk::Point3D createPoint (mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
 
static mitk::Vector3D createVector (mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
 
static mitk::VnlVector createVnlVector (mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
 
void mitkSlicedGeometry3D_ChangeImageGeometryConsideringOriginOffset_Test ()
 
int mitkSlicedGeometry3DTest (int, char *[])
 

Variables

static const mitk::ScalarType slicedGeometryEps
 

Function Documentation

template<class T >
static T createArray ( mitk::ScalarType  x,
mitk::ScalarType  y,
mitk::ScalarType  z 
)
static

Definition at line 60 of file mitkSlicedGeometry3DTest.cpp.

References mitk::FillVector3D().

static mitk::SlicedGeometry3D::Pointer createEvenlySpacedSlicedGeometry ( mitk::PlaneGeometry::Pointer  planeGeometry,
mitk::ScalarType  spacing,
int  numberOfSlices 
)
static

Definition at line 53 of file mitkSlicedGeometry3DTest.cpp.

References mitk::SlicedGeometry3D::New().

Referenced by mitkSlicedGeometry3DTest().

static mitk::PlaneGeometry::Pointer createPlaneGeometry ( )
static

Definition at line 30 of file mitkSlicedGeometry3DTest.cpp.

References mitk::PlaneGeometry::New().

Referenced by createSlicedGeometry().

static mitk::SlicedGeometry3D::Pointer createSlicedGeometry ( const mitk::Point3D origin,
const mitk::Vector3D spacing,
int  numberOfSlices 
)
static
static mitk::VnlVector createVnlVector ( mitk::ScalarType  x,
mitk::ScalarType  y,
mitk::ScalarType  z 
)
static

Definition at line 77 of file mitkSlicedGeometry3DTest.cpp.

References mitk::FillVector3D().

void mitkSlicedGeometry3D_ChangeImageGeometryConsideringOriginOffset_Test ( )

Variable Documentation

const mitk::ScalarType slicedGeometryEps
static

Definition at line 28 of file mitkSlicedGeometry3DTest.cpp.

Referenced by mitkSlicedGeometry3DTest().