MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSTargetPlacementQualityCalculator.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef mitkUSTargetPlacementQualityCalculator_h
14#define mitkUSTargetPlacementQualityCalculator_h
15
16#include <mitkCommon.h>
17#include <mitkNumericTypes.h>
18#include <itkObjectFactory.h>
19
20template<class T> class vtkSmartPointer;
21class vtkPolyData;
22
23namespace itk {
24template<class T> class SmartPointer;
25}
26
27namespace mitk {
28class Surface;
29class PointSet;
30
40class USTargetPlacementQualityCalculator : public itk::Object
41{
42public:
48
53
59 itkSetMacro(OptimalAngle, double);
60
65 void Update();
66
67 itkGetMacro(CentersOfMassDistance, double);
68
69 itkGetMacro(MeanAngleDifference, double);
70
71 itkGetMacro(AngleDifferences, mitk::VnlVector);
72
73protected:
76
78
82
85 mitk::VnlVector m_AngleDifferences;
86};
87} // namespace mitk
88
89#endif
Calculates qualitiy metrics for given target positions. The calculated metrics are:
itkSetMacro(TargetPoints, itk::SmartPointer< PointSet >)
Setter for the target points which are placed around the target surface.
itkGetMacro(MeanAngleDifference, double)
void Update()
Calculates the quality metrics. This method should be called before calling the getters for the metri...
itkGetMacro(AngleDifferences, mitk::VnlVector)
itkSetMacro(TargetSurface, itk::SmartPointer< Surface >)
Setter for the surface where the targets are placed around.
itkGetMacro(CentersOfMassDistance, double)
itkSetMacro(OptimalAngle, double)
Setter for the optimal angle of the target placement. This angle is subtracted from the target angles...
mitkClassMacroItkParent(USTargetPlacementQualityCalculator, itk::Object)
IGT Exceptions.