#include <mitkClippedSurfaceBoundsCalculator.h>
◆ OutputType
◆ PointListType
◆ ClippedSurfaceBoundsCalculator() [1/3]
◆ ClippedSurfaceBoundsCalculator() [2/3]
◆ ClippedSurfaceBoundsCalculator() [3/3]
◆ ~ClippedSurfaceBoundsCalculator()
virtual mitk::ClippedSurfaceBoundsCalculator::~ClippedSurfaceBoundsCalculator |
( |
| ) |
|
|
virtual |
◆ CalculateIntersectionPoints() [1/2]
void mitk::ClippedSurfaceBoundsCalculator::CalculateIntersectionPoints |
( |
const mitk::PlaneGeometry * |
geometry | ) |
|
|
protected |
◆ CalculateIntersectionPoints() [2/2]
void mitk::ClippedSurfaceBoundsCalculator::CalculateIntersectionPoints |
( |
PointListType |
pointList | ) |
|
|
protected |
◆ EnforceImageBounds()
void mitk::ClippedSurfaceBoundsCalculator::EnforceImageBounds |
( |
| ) |
|
|
protected |
Clips the resulting index-coordinates to make sure they do not exceed the imagebounds.
◆ GetMinMaxSpatialDirectionX()
OutputType mitk::ClippedSurfaceBoundsCalculator::GetMinMaxSpatialDirectionX |
( |
| ) |
|
What X coordinates (slice indices) are cut/visible in given plane.
◆ GetMinMaxSpatialDirectionY()
OutputType mitk::ClippedSurfaceBoundsCalculator::GetMinMaxSpatialDirectionY |
( |
| ) |
|
What Y coordinates (slice indices) are cut/visible in given plane.
◆ GetMinMaxSpatialDirectionZ()
OutputType mitk::ClippedSurfaceBoundsCalculator::GetMinMaxSpatialDirectionZ |
( |
| ) |
|
What Z coordinates (slice indices) are cut/visible in given plane.
◆ InitializeOutput()
void mitk::ClippedSurfaceBoundsCalculator::InitializeOutput |
( |
| ) |
|
◆ SetInput() [1/3]
◆ SetInput() [2/3]
◆ SetInput() [3/3]
◆ Update()
void mitk::ClippedSurfaceBoundsCalculator::Update |
( |
| ) |
|
Request calculation.
How cut/visible slice indices are determined:
- construct a bounding box of the image. This is the box that connect the outer voxel centers(!).
- check the edges of this box.
- intersect each edge with the plane geometry
- if the intersection point is within the image box, we update the visible/cut slice indices for all dimensions.
- else we ignore the cut
◆ m_Geometry3D
◆ m_Image
◆ m_MinMaxOutput
std::vector<OutputType> mitk::ClippedSurfaceBoundsCalculator::m_MinMaxOutput |
|
protected |
◆ m_ObjectPointsInWorldCoordinates
std::vector<mitk::Point3D> mitk::ClippedSurfaceBoundsCalculator::m_ObjectPointsInWorldCoordinates |
|
protected |
◆ m_PlaneGeometry
The documentation for this class was generated from the following file: