13#ifndef mitkUSNavigationTargetIntersectionFilter_h
14#define mitkUSNavigationTargetIntersectionFilter_h
16#include "mitkCommon.h"
17#include "mitkNumericTypes.h"
19#include "itkObjectFactory.h"
21#include "vtkSmartPointer.h"
22#include "vtkPolyData.h"
25 template<
class T>
class SmartPointer;
Calculates the intersection between a mitk::Surface and a line. Surface and line have to be set by Se...
int GetIntersectionNearestSurfacePointId()
mitkClassMacroItkParent(USNavigationTargetIntersectionFilter, itk::Object)
double GetDistanceToIntersection()
itk::SmartPointer< mitk::Surface > m_TargetSurface
itkSetMacro(TargetSurface, itk::SmartPointer< mitk::Surface >)
USNavigationTargetIntersectionFilter()
void SetLine(itk::SmartPointer< mitk::PointSet > line)
mitk::Point3D GetIntersectionPoint()
itkGetMacro(IsIntersecting, bool)
void CalculateIntersection()
Does the intersection calculation. SetTargetSurface() and SetLine() have to be called before.
double m_IntersectionPoint[3]
vtkSmartPointer< vtkPolyData > m_TargetSurfaceVtk
~USNavigationTargetIntersectionFilter() override