Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef __mitkToFCameraPMDRawDataCamBoardDevice_h
17 #define __mitkToFCameraPMDRawDataCamBoardDevice_h
18 
19 #include <MitkPMDExports.h>
20 #include "mitkCommon.h"
21 #include "mitkToFCameraDevice.h"
23 
24 namespace mitk
25 {
33  {
34  public:
35 
37 
38  itkFactorylessNewMacro(Self)
39  itkCloneMacro(Self)
43  virtual void SetProperty( const char *propertyKey, BaseProperty* propertyValue );
48  virtual void GetChannelSourceData(short* sourceData, vtkShortArray* vtkChannelArray );
52  bool ConnectCamera();
56  void GetIntensities(float* intensityArray, int& imageSequence);
60  void GetAmplitudes(float* amplitudeArray, int& imageSequence);
64  void GetDistances(float* distanceArray, int& imageSequence);
68  void GetAllImages(float* distanceArray, float* amplitudeArray, float* intensityArray, char* sourceDataArray, int requiredImageSequence, int& capturedImageSequence, unsigned char* rgbDataArray=NULL);
69 
70  protected:
71 
73 
75  private:
79  void ResizeOutputImage(float* in, float* out);
80  };
81 } //END mitk namespace
82 #endif // __mitkToFCameraPMDRawDataCamBoardDevice_h
DataCollection - Class to facilitate loading/accessing structured data.
Interface for all representations of PMD ToF devices. ToFCameraPMDDevice internally holds an instance...
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Device class representing a PMD CamBoard camera.
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)
Definition: jsoncpp.cpp:244