PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusHapticForce.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) John SH Baxter, Robarts Research Institute. All rights reserved.
4 See License.txt for details.
5 =========================================================================*/
6 
7 #ifndef __vtkPlusHapticForce_h
8 #define __vtkPlusHapticForce_h
9 
10 #include "PlusConfigure.h"
11 #include "vtkPlusHapticsExport.h"
12 
13 #include "vtkObject.h"
14 #include <vector>
15 
17 
18 class vtkPlusHapticsExport vtkPlusHapticForce : public vtkObject
19 {
20 public:
21  static vtkPlusHapticForce *New();
22  vtkTypeMacro(vtkPlusHapticForce,vtkObject);
23  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
24 
25  void AddForceModel(vtkPlusForceFeedback * force);
26  void InsertForceModel(unsigned int position, vtkPlusForceFeedback * force);
27  vtkPlusForceFeedback * GetForceModel(int position);
28  int GetNumberOfFrames();
29 
30 protected:
33 
34 private:
35  std::vector<vtkPlusForceFeedback *> forceModel;
36  int NumberOfFrames;
37 };
38 
39 #endif
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
double * position
Definition: phidget22.h:3303