ToFHaddockCamera.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * TI Voxel Lib component.
  3. *
  4. * Copyright (c) 2014 Texas Instruments Inc.
  5. */
  6. #ifndef VOXEL_TI_TOFHADDOCKCAMERA_H
  7. #define VOXEL_TI_TOFHADDOCKCAMERA_H
  8. #include <ToFCamera.h>
  9. #define CURRENT_PROFILE "scratch2" //sys_clk_freq used as scratch register
  10. namespace Voxel
  11. {
  12. namespace TI
  13. {
  14. class TI3DTOF_EXPORT ToFHaddockCamera: public ToFCamera
  15. {
  16. protected:
  17. bool _init();
  18. virtual bool _initStartParams();
  19. bool _getMaximumFrameSize(FrameSize &s) const;
  20. virtual bool _getSystemClockFrequency(uint &frequency) const;
  21. virtual bool _getIlluminationFrequency(float& frequency) const;
  22. virtual bool _allowedROI(String &message);
  23. virtual bool _getROI(RegionOfInterest &roi) const;
  24. virtual bool _setROI(const RegionOfInterest &roi);
  25. virtual bool _isHistogramEnabled() const;
  26. virtual bool _applyCalibrationParams();
  27. virtual bool _getCurrentProfileRegisterName(String& name);
  28. public:
  29. ToFHaddockCamera(const String &name, DevicePtr device);
  30. virtual ~ToFHaddockCamera() {}
  31. friend class HaddockVCOFrequency;
  32. friend class HaddockModulationFrequencyParameter;
  33. friend class HaddockUnambiguousRangeParameter;
  34. friend class HaddockSensorTemperatureParameter;
  35. };
  36. }
  37. }
  38. #endif // VOXEL_TI_TOFHADDOCKCAMERA_H