Calculates the intersection between a mitk::Surface and a line. Surface and line have to be set by SetTargetSurface() and SetLine. CalculateIntersection() can be called then to calculate the intersection. The results can be got afterwards by GetIsIntersecting(), GetIntersectionPoint(), GetIntersectionNearestSurfacePointId() and GetDistanceToIntersection().
More...
#include <mitkUSNavigationTargetIntersectionFilter.h>
Calculates the intersection between a mitk::Surface and a line. Surface and line have to be set by SetTargetSurface() and SetLine. CalculateIntersection() can be called then to calculate the intersection. The results can be got afterwards by GetIsIntersecting(), GetIntersectionPoint(), GetIntersectionNearestSurfacePointId() and GetDistanceToIntersection().
Definition at line 40 of file mitkUSNavigationTargetIntersectionFilter.h.
◆ USNavigationTargetIntersectionFilter()
mitk::USNavigationTargetIntersectionFilter::USNavigationTargetIntersectionFilter |
( |
| ) |
|
|
protected |
◆ ~USNavigationTargetIntersectionFilter()
mitk::USNavigationTargetIntersectionFilter::~USNavigationTargetIntersectionFilter |
( |
| ) |
|
|
overrideprotected |
◆ CalculateIntersection()
void mitk::USNavigationTargetIntersectionFilter::CalculateIntersection |
( |
| ) |
|
◆ GetDistanceToIntersection()
double mitk::USNavigationTargetIntersectionFilter::GetDistanceToIntersection |
( |
| ) |
|
◆ GetIntersectionNearestSurfacePointId()
int mitk::USNavigationTargetIntersectionFilter::GetIntersectionNearestSurfacePointId |
( |
| ) |
|
◆ GetIntersectionPoint()
mitk::Point3D mitk::USNavigationTargetIntersectionFilter::GetIntersectionPoint |
( |
| ) |
|
◆ itkGetMacro()
mitk::USNavigationTargetIntersectionFilter::itkGetMacro |
( |
IsIntersecting | , |
|
|
bool | ) |
- Returns
- if line and surface are intersecting
◆ itkNewMacro()
mitk::USNavigationTargetIntersectionFilter::itkNewMacro |
( |
Self | | ) |
|
◆ itkSetMacro()
mitk::USNavigationTargetIntersectionFilter::itkSetMacro |
( |
TargetSurface | , |
|
|
itk::SmartPointer< mitk::Surface > | ) |
◆ mitkClassMacroItkParent()
◆ SetLine()
void mitk::USNavigationTargetIntersectionFilter::SetLine |
( |
itk::SmartPointer< mitk::PointSet > | line | ) |
|
◆ m_Distance
double mitk::USNavigationTargetIntersectionFilter::m_Distance |
|
protected |
◆ m_IntersectionCellId
int mitk::USNavigationTargetIntersectionFilter::m_IntersectionCellId |
|
protected |
◆ m_IntersectionPoint
double mitk::USNavigationTargetIntersectionFilter::m_IntersectionPoint[3] |
|
protected |
◆ m_IsIntersecting
bool mitk::USNavigationTargetIntersectionFilter::m_IsIntersecting |
|
protected |
◆ m_LinePoint1
double mitk::USNavigationTargetIntersectionFilter::m_LinePoint1[3] |
|
protected |
◆ m_LinePoint2
double mitk::USNavigationTargetIntersectionFilter::m_LinePoint2[3] |
|
protected |
◆ m_TargetSurface
itk::SmartPointer<mitk::Surface> mitk::USNavigationTargetIntersectionFilter::m_TargetSurface |
|
protected |
◆ m_TargetSurfaceVtk
vtkSmartPointer<vtkPolyData> mitk::USNavigationTargetIntersectionFilter::m_TargetSurfaceVtk |
|
protected |
The documentation for this class was generated from the following files: