Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkNeedleProjectionFilter.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef NEEDLEPROJECTIONFILTER_H_INCLUDED
18 #define NEEDLEPROJECTIONFILTER_H_INCLUDED
19 
20 #include <MitkUSNavigationExports.h>
21 
22 // MITK
24 #include <mitkNavigationData.h>
25 #include <mitkPointSet.h>
26 #include <mitkGeometry3D.h>
27 
28 namespace mitk {
47  class MITKUSNAVIGATION_EXPORT NeedleProjectionFilter : public NavigationDataPassThroughFilter
48  {
49  public:
51  itkNewMacro(Self);
52 
53  virtual void SelectInput(int i);
54 
55  itkGetMacro(TargetPlane, mitk::AffineTransform3D::Pointer);
56  itkSetMacro(TargetPlane, mitk::AffineTransform3D::Pointer);
57  itkGetMacro(Projection, mitk::PointSet::Pointer);
58 
59  protected:
61  virtual ~NeedleProjectionFilter();
62 
63  virtual void GenerateData() override;
64 
66 
69 
71 
72 
76  mitk::AffineTransform3D::Pointer NavigationDataToTransform(const mitk::NavigationData * nd);
80  mitk::Geometry3D::Pointer TransformToGeometry(mitk::AffineTransform3D::Pointer transform);
81  };
82 } // namespace mitk
83 
84 
85 #endif
itk::SmartPointer< Self > Pointer
Navigation Data.
DataCollection - Class to facilitate loading/accessing structured data.
Basis for filters that want to leave the navigation data untouched.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
mitk::PointSet::Pointer m_OriginalPoints
mitk::AffineTransform3D::Pointer m_TargetPlane
This filter projects a needle's path onto a plane.