Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkBaseProperty.h"
#include "mitkDataNode.h"
#include "mitkGeometry3D.h"
#include "mitkImage.h"
#include "mitkInteractionConst.h"
#include "mitkPlaneGeometry.h"
#include "mitkPlanePositionManager.h"
#include "mitkRotationOperation.h"
#include "mitkSliceNavigationController.h"
#include "mitkStandaloneDataStorage.h"
#include "mitkStringProperty.h"
#include "mitkSurface.h"
#include "mitkTestingMacros.h"
#include "usGetModuleContext.h"
#include "usModuleContext.h"
#include "usServiceReference.h"
#include "vnl/vnl_vector.h"
#include <itkAffineGeometryFrame.h>
Go to the source code of this file.
Functions | |
int | SetUpBeforeTest () |
int | testAddPlanePosition () |
int | testGetPlanePosition () |
int | testRemovePlanePosition () |
int | testRemoveAll () |
int | mitkPlanePositionManagerTest (int, char *[]) |
Variables | |
std::vector< mitk::PlaneGeometry::Pointer > | m_Geometries |
std::vector< unsigned int > | m_SliceIndices |
mitk::PlanePositionManagerService * | m_Service |
int mitkPlanePositionManagerTest | ( | int | , |
char * | [] | ||
) |
Definition at line 265 of file mitkPlanePositionManagerTest.cpp.
References MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), SetUpBeforeTest(), testAddPlanePosition(), testGetPlanePosition(), testRemoveAll(), and testRemovePlanePosition().
int SetUpBeforeTest | ( | ) |
Definition at line 40 of file mitkPlanePositionManagerTest.cpp.
References mitk::PlaneGeometry::Axial, mitk::FillVector3D(), mitk::PlaneGeometry::Frontal, us::GetModuleContext(), ModuleContext::GetService(), ModuleContext::GetServiceReference(), mitk::New(), mitk::PlaneGeometry::New(), and mitk::PlaneGeometry::Sagittal.
Referenced by mitkPlanePositionManagerTest().
int testAddPlanePosition | ( | ) |
Definition at line 103 of file mitkPlanePositionManagerTest.cpp.
References mitk::PlanePositionManagerService::AddNewPlanePosition(), mitk::PlanePositionManagerService::GetNumberOfPlanePositions(), MITK_TEST_CONDITION, and MITK_TEST_OUTPUT.
Referenced by mitkPlanePositionManagerTest().
int testGetPlanePosition | ( | ) |
Definition at line 156 of file mitkPlanePositionManagerTest.cpp.
References mitk::Equal(), mitk::PlanePositionManagerService::GetPlanePosition(), mitk::MatrixEqualElementWise(), MITK_INFO, MITK_TEST_CONDITION, and MITK_TEST_OUTPUT.
Referenced by mitkPlanePositionManagerTest().
int testRemoveAll | ( | ) |
Definition at line 243 of file mitkPlanePositionManagerTest.cpp.
References mitk::PlanePositionManagerService::GetNumberOfPlanePositions(), mitk::PlanePositionManagerService::GetPlanePosition(), MITK_INFO, MITK_TEST_CONDITION, MITK_TEST_OUTPUT, and mitk::PlanePositionManagerService::RemoveAllPlanePositions().
Referenced by mitkPlanePositionManagerTest().
int testRemovePlanePosition | ( | ) |
Definition at line 209 of file mitkPlanePositionManagerTest.cpp.
References mitk::PlanePositionManagerService::GetNumberOfPlanePositions(), MITK_TEST_CONDITION, MITK_TEST_OUTPUT, and mitk::PlanePositionManagerService::RemovePlanePosition().
Referenced by mitkPlanePositionManagerTest().
std::vector<mitk::PlaneGeometry::Pointer> m_Geometries |
Definition at line 35 of file mitkPlanePositionManagerTest.cpp.
mitk::PlanePositionManagerService* m_Service |
Definition at line 38 of file mitkPlanePositionManagerTest.cpp.
std::vector<unsigned int> m_SliceIndices |
Definition at line 36 of file mitkPlanePositionManagerTest.cpp.