Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkToFCameraPMDRawDataCamBoardDevice.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 mitkToFCameraPMDRawDataCamBoardDevice_h
13 #define mitkToFCameraPMDRawDataCamBoardDevice_h
14 
15 #include <MitkPMDExports.h>
16 #include "mitkCommon.h"
17 #include "mitkToFCameraDevice.h"
19 
20 namespace mitk
21 {
29  {
30  public:
31 
33 
34  itkFactorylessNewMacro(Self);
35 
36  itkCloneMacro(Self)
40  virtual void SetProperty( const char *propertyKey, BaseProperty* propertyValue );
45  virtual void GetChannelSourceData(short* sourceData, vtkShortArray* vtkChannelArray );
49  bool ConnectCamera();
53  void GetIntensities(float* intensityArray, int& imageSequence);
57  void GetAmplitudes(float* amplitudeArray, int& imageSequence);
61  void GetDistances(float* distanceArray, int& imageSequence);
65  void GetAllImages(float* distanceArray, float* amplitudeArray, float* intensityArray, char* sourceDataArray, int requiredImageSequence, int& capturedImageSequence, unsigned char* rgbDataArray=nullptr);
66 
67  protected:
68 
70 
72  private:
76  void ResizeOutputImage(float* in, float* out);
77  };
78 } //END mitk namespace
79 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:35
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::ToFCameraPMDRawDataDevice
Interface for all representations of PMD ToF devices. ToFCameraPMDDevice internally holds an instance...
Definition: mitkToFCameraPMDRawDataDevice.h:30
mitk::ToFCameraPMDRawDataCamBoardDevice
Device class representing a PMD CamBoard camera.
Definition: mitkToFCameraPMDRawDataCamBoardDevice.h:28
mitkCommon.h
mitkToFCameraPMDRawDataDevice.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkToFCameraDevice.h