Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkBoundingShapeUtil.h File Reference
#include <mitkBaseData.h>
#include <mitkBaseGeometry.h>
#include <mitkInteractionConst.h>
#include <array>

Go to the source code of this file.

Classes

class  mitk::Handle
 Helper Class for realizing the handles of bounding object encapsulated by a geometry data. More...
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Functions

std::vector< mitk::Point3D > mitk::GetCornerPoints (mitk::BaseGeometry::Pointer geometry, bool visualizationOffset)
 helper function for calculating corner points of the bounding object from a given geometry More...
 
mitk::Point3D mitk::CalcAvgPoint (mitk::Point3D a, mitk::Point3D b)
 helper function for calculating the average of two points More...
 
std::vector< int > mitk::GetHandleIndices (int index)
 Return the four corner-point indices that define the face associated with the given handle index. More...
 
std::array< int, 4 > mitk::GetHandleFaceCornerIndices (int handleIndex)
 Return the four corner-point indices of the box face that the given handle sits on, ordered along the face perimeter so that consecutive indices (and the last-to-first pair) form the four face edges. More...
 
bool mitk::GetFacePlaneIntersectionCenter (const std::array< mitk::Point3D, 4 > &faceCorners, const mitk::Point3D &planeOrigin, const mitk::Vector3D &planeNormal, mitk::Point3D &center)
 Intersect a planar, convex quad (given by its four perimeter-ordered corner points) with a plane and return the center of the resulting intersection segment. More...