Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkKinectController.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
#ifndef mitkKinectController_h
13
#define mitkKinectController_h
14
15
#include <MitkKinectExports.h>
16
#include "
mitkCommon.h
"
17
#include "
mitkToFConfig.h
"
18
19
#include "itkObject.h"
20
#include "itkObjectFactory.h"
21
22
namespace
mitk
23
{
30
class
MITKKINECT_EXPORT
KinectController
:
public
itk::Object
31
{
32
public
:
33
34
mitkClassMacroItkParent
(
KinectController
, itk::Object );
35
36
itkFactorylessNewMacro(Self);
37
38
itkCloneMacro(Self);
39
40
unsigned
int
GetCaptureWidth()
const
;
41
unsigned
int
GetCaptureHeight()
const
;
42
bool
GetUseIR()
const
;
43
44
void
SetUseIR(
bool
useIR);
45
50
virtual
bool
OpenCameraConnection();
54
virtual
bool
CloseCameraConnection();
59
virtual
bool
UpdateCamera();
64
void
GetDistances(
float
* distances);
65
void
GetAmplitudes(
float
* amplitudes);
66
void
GetIntensities(
float
* intensities);
71
void
GetRgb(
unsigned
char
* rgb);
78
void
GetAllData(
float
* distances,
float
* amplitudes,
unsigned
char
* rgb);
79
80
protected
:
81
82
KinectController
();
83
84
~
KinectController
();
85
86
private
:
87
class
KinectControllerPrivate;
88
KinectControllerPrivate *d;
89
90
};
91
}
//END mitk namespace
92
#endif
mitkToFConfig.h
mitk::KinectController
Interface to the Kinect camera.
Definition:
mitkKinectController.h:30
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitkCommon.h
src
MITK
Modules
ToFHardware
Kinect
mitkKinectController.h
Generated on Wed May 17 2023 16:26:08 for Medical Imaging Interaction Toolkit by
1.8.17