MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSNavigationTargetOcclusionFilter.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 mitkUSNavigationTargetOcclusionFilter_h
14#define mitkUSNavigationTargetOcclusionFilter_h
15
17#include "mitkDataStorage.h"
18
19
20namespace itk {
21 template<class T> class SmartPointer;
22}
23
24class vtkPolyData;
25template<class T> class vtkSmartPointer;
26
27namespace mitk {
28class DataNode;
29
36{
37public:
40
46
51 void SetObstacleStructures(DataStorage::SetOfObjects::ConstPointer obstacleStructures);
52
58 void SelectStartPositionInput(unsigned int n);
59
60protected:
63
64 void GenerateData() override;
65
71
72 DataStorage::SetOfObjects::ConstPointer m_ObstacleStructures;
74
76
77 std::vector<bool> m_OccludedPositions;
78};
79} // namespace mitk
80
81#endif
Basis for filters that want to leave the navigation data untouched.
NavigationData filter calcuting occluded positions on a target surface. The occlusion caused by obsta...
void SetObstacleStructures(DataStorage::SetOfObjects::ConstPointer obstacleStructures)
Sets the obstacle structures which can occlude the target structure.
mitkClassMacro(USNavigationTargetOcclusionFilter, NavigationDataPassThroughFilter)
void SelectStartPositionInput(unsigned int n)
Sets the index of the input which is used for occlusion calculation. The occlusion will be calculated...
DataStorage::SetOfObjects::ConstPointer m_ObstacleStructures
void SetTargetStructure(itk::SmartPointer< DataNode > targetStructure)
Sets the target structure for which the occluded positions should be calculated.
vtkSmartPointer< vtkPolyData > GetVtkPolyDataOfTarget()
Returns the vtk poly data of the target structure.
IGT Exceptions.