13#ifndef mitkUSNavigationTargetUpdateFilter_h
14#define mitkUSNavigationTargetUpdateFilter_h
16#include "itkObjectFactory.h"
17#include "mitkCommon.h"
18#include "mitkNumericTypes.h"
19#include "mitkDataStorage.h"
22 template<
class T>
class SmartPointer;
30class LookupTableProperty;
Calculates a score for target placement for every vertex of a given surface. The scores are calculate...
vtkSmartPointer< vtkPolyData > GetVtkPolyDataOfTarget()
bool SetNumberOfTargets(unsigned int numberOfTargets)
Setter for the number of targets to be placed on the target surface. The optimal angle for placing th...
void Reset()
Removes all target positions from the filter and resets the scores.
void RemovePositionOfTarget(unsigned int id)
Removes the position of the target with the current id from the filter.
void SetOptimalAngle(double optimalAngle)
Setter for the optimal angle between to targets on the target surface. This value overwrites the valu...
mitkClassMacroItkParent(USNavigationTargetUpdateFilter, itk::Object)
void SetUseMaximumScore(bool useMaximumScore)
Set whether the maximum score or the minimum score between the targets should be used....
void SetControlNode(unsigned int id, itk::SmartPointer< DataNode > controlNode)
Sets the origin of the given node for the filter. This origin is the position of an already placed ta...
~USNavigationTargetUpdateFilter() override
itk::SmartPointer< mitk::BaseGeometry > GetGeometryOfTarget()
itkFactorylessNewMacro(Self)
void SetScalarArrayIdentifier(std::string scalarArrayIdentifier)
Sets the identifier for the vtkFloatArray of scores. This array is stored as scalars of the vtkPolyDa...
void UpdateTargetScores()
std::vector< itk::SmartPointer< DataNode > > m_ControlNodesVector
void SetTargetStructure(itk::SmartPointer< DataNode > targetStructure)
Set the target surface for which the scores should be calculated.
std::string m_ScalarArrayIdentifier
itk::SmartPointer< DataNode > m_TargetStructure
USNavigationTargetUpdateFilter()
unsigned int m_NumberOfTargets