Medical Imaging Interaction Toolkit  2022.04.99-3f7a773b
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_HEADER_INCLUDED_
15 #define MITKVirtualTrackingTool_H_HEADER_INCLUDED_
16 
17 #include <mitkTrackingTool.h>
18 #include <MitkIGTExports.h>
19 #include <mitkNumericTypes.h>
21 
22 namespace mitk {
23 
24 
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 /* MITKVirtualTrackingTool_H_HEADER_INCLUDED_ */
Interface for all Tracking Tools.
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKIGT_EXPORT
BSpline with nonuniform knot spacing.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
implements TrackingTool interface
Class representing a tracking device which generates random positions / orientations. No hardware is needed for tracking device.