|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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 261 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 36 of file mitkPlanePositionManagerTest.cpp.
References mitk::PlaneGeometry::Axial, mitk::FillVector3D(), mitk::PlaneGeometry::Frontal, us::GetModuleContext(), ModuleContext::GetService(), ModuleContext::GetServiceReference(), mitk::PlaneGeometry::New(), and mitk::PlaneGeometry::Sagittal.
Referenced by mitkPlanePositionManagerTest().
| int testAddPlanePosition | ( | ) |
Definition at line 99 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 152 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 239 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 205 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 31 of file mitkPlanePositionManagerTest.cpp.
| mitk::PlanePositionManagerService* m_Service |
Definition at line 34 of file mitkPlanePositionManagerTest.cpp.
| std::vector<unsigned int> m_SliceIndices |
Definition at line 32 of file mitkPlanePositionManagerTest.cpp.