Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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>
20 #include <itkFastMutexLock.h>
22 
23 namespace mitk {
24 
25 
37  {
38  public:
40  friend class VirtualTrackingDevice;
41  itkFactorylessNewMacro(Self)
42  typedef itk::NonUniformBSpline<3> SplineType;
43 
44  itkGetMacro(SplineLength, mitk::ScalarType);
45  itkSetMacro(SplineLength, mitk::ScalarType);
46 
47  itkGetMacro(Velocity, mitk::ScalarType);
48  itkSetMacro(Velocity, mitk::ScalarType);
49 
50  itkGetObjectMacro(Spline, SplineType);
51 
52 
53  protected:
54  itkCloneMacro(Self)
56  ~VirtualTrackingTool() override;
57 
58  SplineType::Pointer m_Spline;
59  mitk::ScalarType m_SplineLength;
60  mitk::ScalarType m_Velocity;
61  };
62 } // namespace mitk
63 #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.