Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkVirtualTrackingTool.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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef mitkVirtualTrackingTool_h
15 #define mitkVirtualTrackingTool_h
16 
17 #include <mitkTrackingTool.h>
18 #include <MitkIGTExports.h>
19 #include <mitkNumericTypes.h>
21 
22 namespace mitk {
23 
24 
35  class MITKIGT_EXPORT VirtualTrackingTool : public TrackingTool
36  {
37  public:
39  friend class VirtualTrackingDevice;
40  itkFactorylessNewMacro(Self)
41  typedef itk::NonUniformBSpline<3> SplineType;
42 
43  itkGetMacro(SplineLength, mitk::ScalarType);
44  itkSetMacro(SplineLength, mitk::ScalarType);
45 
46  itkGetMacro(Velocity, mitk::ScalarType);
47  itkSetMacro(Velocity, mitk::ScalarType);
48 
49  itkGetObjectMacro(Spline, SplineType);
50 
51 
52  protected:
53  itkCloneMacro(Self)
55  ~VirtualTrackingTool() override;
56 
57  SplineType::Pointer m_Spline;
58  mitk::ScalarType m_SplineLength;
59  mitk::ScalarType m_Velocity;
60  };
61 } // namespace mitk
62 #endif
mitk::VirtualTrackingTool
implements TrackingTool interface
Definition: mitkVirtualTrackingTool.h:35
itk::NonUniformBSpline
BSpline with nonuniform knot spacing.
Definition: mitkItkNonUniformBSpline.h:55
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkItkNonUniformBSpline.h
mitkTrackingTool.h
mitk::VirtualTrackingDevice
Class representing a tracking device which generates random positions / orientations....
Definition: mitkVirtualTrackingDevice.h:35
mitkNumericTypes.h
itk
SET FUNCTIONS.
Definition: itkIntelligentBinaryClosingFilter.h:30
mitk::TrackingTool
Interface for all Tracking Tools.
Definition: mitkTrackingTool.h:42
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ScalarType
double ScalarType
Definition: mitkNumericConstants.h:20