Medical Imaging Interaction Toolkit  2025.12.02
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 
68  MITKCORE_EXPORT TimeGeometry::Pointer CreateOrientedTimeGeometry(const TimeGeometry* timeGeometry,
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
#define MITKCORE_EXPORT
Describes a two-dimensional, rectangular plane.
MITKCORE_EXPORT PlaneGeometry * GetCurrentPlaneGeometry(const TimeGeometry *timeGeometry, TimePointType timePoint, unsigned int slicePosition)
Extracts the plane geometry for the given time step and slice position.
MITKCORE_EXPORT unsigned int SelectSliceByPoint(const TimeGeometry *timeGeometry, const Point3D &point)
Select a specific slice from the given time geometry given a 3D point.
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.
Find image slices visible on a given plane.
mitk::ScalarType TimePointType