Medical Imaging Interaction Toolkit  2023.12.99-29da53b2
Medical Imaging Interaction Toolkit
mitkPlaneClipping.h File Reference
#include <mitkGeometry3D.h>
#include <mitkPlaneGeometry.h>
#include <vtkPoints.h>
#include <vtkSmartPointer.h>
#include <vtkTransform.h>

Go to the source code of this file.


 Find image slices visible on a given plane.


static bool mitk::PlaneClipping::LineIntersectZero (vtkPoints *points, int p1, int p2, double *bounds)
 Internal helper method for intersection testing used only in CalculateClippedPlaneBounds() More...
static bool mitk::PlaneClipping::CalculateClippedPlaneBounds (const BaseGeometry *boundingGeometry, const PlaneGeometry *planeGeometry, double *bounds)
 Calculate the bounding box of the resliced image. This is necessary for arbitrarily rotated planes in an image volume. A rotated plane (e.g. in swivel mode) will have a new bounding box, which needs to be calculated. More...