Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkSliceNavigationHelper.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSliceNavigationHelper_h
14 #define mitkSliceNavigationHelper_h
15 
16 #include <MitkCoreExports.h>
17 
18 #include <mitkPlaneGeometry.h>
19 #include <mitkTimeGeometry.h>
20 
21 namespace mitk
22 {
23  namespace SliceNavigationHelper
24  {
25 
44  MITKCORE_EXPORT unsigned int SelectSliceByPoint(const TimeGeometry* timeGeometry, const Point3D& point);
45 
69  AnatomicalPlane orientation,
70  bool top,
71  bool frontside,
72  bool rotated);
73 
94  TimePointType timePoint,
95  unsigned int slicePosition);
96  } // namespace SliceNavigationHelper
97 } // namespace mitk
98 
99 #endif
mitk::TimeGeometry
Definition: mitkTimeGeometry.h:45
mitk::PlaneGeometry
Describes a two-dimensional, rectangular plane.
Definition: mitkPlaneGeometry.h:78
itk::SmartPointer< Self >
mitkTimeGeometry.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::SliceNavigationHelper::SelectSliceByPoint
MITKCORE_EXPORT unsigned int SelectSliceByPoint(const TimeGeometry *timeGeometry, const Point3D &point)
Select a specific slice from the given time geometry given a 3D point.
mitk::AnatomicalPlane
AnatomicalPlane
Definition: mitkAnatomicalPlanes.h:18
MitkCoreExports.h
mitk::Point< ScalarType, 3 >
mitk::SliceNavigationHelper::CreateOrientedTimeGeometry
MITKCORE_EXPORT TimeGeometry::Pointer CreateOrientedTimeGeometry(const TimeGeometry *timeGeometry, AnatomicalPlane orientation, bool top, bool frontside, bool rotated)
Create a new time geometry, which is oriented with the given plane orientation.
mitk::SliceNavigationHelper::GetCurrentPlaneGeometry
MITKCORE_EXPORT PlaneGeometry * GetCurrentPlaneGeometry(const TimeGeometry *timeGeometry, TimePointType timePoint, unsigned int slicePosition)
Extracts the plane geometry for the given time step and slice position.
mitk::TimePointType
mitk::ScalarType TimePointType
Definition: mitkTimeGeometry.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitkPlaneGeometry.h