PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
src
PlusDataCollection
Haptics
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
16
class
vtkPlusForceFeedback
;
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
:
31
vtkPlusHapticForce
();
32
~
vtkPlusHapticForce
();
33
34
private
:
35
std::vector<vtkPlusForceFeedback *> forceModel;
36
int
NumberOfFrames;
37
};
38
39
#endif
VTK_OVERRIDE
#define VTK_OVERRIDE
Definition:
PlusCommon.h:49
vtkPlusForceFeedback
Definition:
vtkPlusForceFeedback.h:17
position
double * position
Definition:
phidget22.h:3303
vtkPlusHapticForce
Definition:
vtkPlusHapticForce.h:18
Generated on Fri Nov 15 2024 01:47:34 for PlusLib by
1.8.15