|
Voxel
0.5.6
|
This is primary class which provides API for a depth camera. More...
#include <DepthCamera.h>
Inheritance diagram for Voxel::DepthCamera:
Collaboration diagram for Voxel::DepthCamera:Public Types | |
| enum | FrameType { FRAME_RAW_FRAME_UNPROCESSED = 0, FRAME_RAW_FRAME_PROCESSED = 1, FRAME_DEPTH_FRAME = 2, FRAME_XYZI_POINT_CLOUD_FRAME = 3, FRAME_TYPE_COUNT = 4 } |
| typedef Function< void(DepthCamera &camera, const Frame &frame, FrameType callBackType)> | CallbackType |
Public Attributes | |
| MainConfigurationFile | configFile |
Protected Member Functions | |
| bool | _addParameters (const Vector< ParameterPtr > ¶ms) |
| virtual bool | _callbackAndContinue (uint32_t &callBackTypesToBeCalled, FrameType type, const Frame &frame) |
| virtual bool | _start ()=0 |
| virtual bool | _stop ()=0 |
| virtual bool | _captureRawUnprocessedFrame (RawFramePtr &rawFrame)=0 |
| virtual bool | _processRawFrame (const RawFramePtr &rawFrameInput, RawFramePtr &rawFrameOutput)=0 |
| virtual bool | _convertToDepthFrame (const RawFramePtr &rawFrame, DepthFramePtr &depthFrame)=0 |
| virtual bool | _convertToPointCloudFrame (const DepthFramePtr &depthFrame, PointCloudFramePtr &pointCloudFrame) |
| virtual void | _captureLoop () |
| void | _captureThreadWrapper () |
| bool | _writeToFrameStream (RawFramePtr &rawUnprocessed) |
| template<typename T > | |
| bool | _get (const String &name, T &value, bool refresh=false) const |
| template<typename T > | |
| bool | _set (const String &name, const T &value) |
| virtual bool | _setFrameRate (const FrameRate &r)=0 |
| virtual bool | _getFrameRate (FrameRate &r) const =0 |
| virtual bool | _setFrameSize (const FrameSize &s)=0 |
| virtual bool | _getFrameSize (FrameSize &s) const =0 |
| virtual bool | _getMaximumFrameSize (FrameSize &s) const =0 |
| virtual bool | _getMaximumFrameRate (FrameRate &frameRate, const FrameSize &forFrameSize) const =0 |
| virtual bool | _getSupportedVideoModes (Vector< SupportedVideoMode > &supportedVideoModes) const =0 |
| virtual bool | _getMaximumVideoMode (VideoMode &videoMode) const =0 |
| virtual bool | _getBytesPerPixel (uint &bpp) const =0 |
| virtual bool | _setBytesPerPixel (const uint &bpp)=0 |
| virtual bool | _getROI (RegionOfInterest &roi)=0 |
| virtual bool | _setROI (const RegionOfInterest &roi)=0 |
| virtual bool | _allowedROI (String &message)=0 |
| virtual bool | _getFieldOfView (float &fovHalfAngle) const =0 |
| void | _makeID () |
| virtual bool | _reset ()=0 |
| virtual bool | _onReset ()=0 |
| virtual bool | _applyConfigParams (const ConfigSet *params) |
| virtual bool | _saveCurrentProfileID (const int id)=0 |
| virtual bool | _getCurrentProfileID (int &id)=0 |
| bool | _init () |
| Map< String, CalibrationInformation > & | _getCalibrationInformationStructure () |
Private Attributes | |
| Mutex | _accessMutex |
| Mutex | _frameStreamWriterMutex |
This is primary class which provides API for a depth camera.
DepthCamera is an abstract class which needs to be derived and implemented for individual depth camera types.
Definition at line 41 of file DepthCamera.h.
| typedef Function<void (DepthCamera &camera, const Frame &frame, FrameType callBackType)> Voxel::DepthCamera::CallbackType |
Definition at line 53 of file DepthCamera.h.
| Enumerator | |
|---|---|
| FRAME_RAW_FRAME_UNPROCESSED | |
| FRAME_RAW_FRAME_PROCESSED | |
| FRAME_DEPTH_FRAME | |
| FRAME_XYZI_POINT_CLOUD_FRAME | |
| FRAME_TYPE_COUNT | |
Definition at line 44 of file DepthCamera.h.
Definition at line 20 of file DepthCamera.cpp.
References _frameGenerators, _makeID(), _pointCloudFrameGenerator, configFile, and Voxel::MainConfigurationFile::read().
Here is the call graph for this function:
|
virtual |
Definition at line 404 of file DepthCamera.cpp.
References close().
Here is the call graph for this function:
|
protected |
Definition at line 63 of file DepthCamera.cpp.
References _parameters, Voxel::LOG_ERROR, and Voxel::logger.
Referenced by Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::RTS5825Camera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::CalculusCDKCamera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::ToFCalculusCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), and Voxel::TI::ToFCamera::_init().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFTintinCamera, Voxel::TI::ToFCalculusCamera, and Voxel::TI::ToFHaddockCamera.
Referenced by allowedROI().
Here is the caller graph for this function:Definition at line 656 of file DepthCamera.cpp.
References _programmer, Voxel::FrameRate::denominator, Voxel::gcd(), Voxel::ConfigSet::get(), Voxel::ConfigSet::getBoolean(), Voxel::ConfigSet::getFloat(), Voxel::ConfigSet::getInteger(), getParam(), Voxel::LOG_ERROR, Voxel::LOG_INFO, Voxel::logger, Voxel::FrameRate::numerator, Voxel::ConfigSet::paramNames, CameraSystemIQFrameTest::r, set(), and setFrameRate().
Referenced by setCameraProfile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 114 of file DepthCamera.cpp.
References _callback, and _isPaused.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 127 of file DepthCamera.cpp.
References _callback, _callbackAndContinue(), _callBackTypesRegistered, _captureRawUnprocessedFrame(), _convertToDepthFrame(), _convertToPointCloudFrame(), _depthFilters, _depthFrameBuffers, _isPaused, _pointCloudBuffers, _processedFilters, _processRawFrame(), _rawFrameBuffers, _running, _stop(), _unprocessedFilters, _writeToFrameStream(), closeFrameStream(), FRAME_DEPTH_FRAME, FRAME_RAW_FRAME_PROCESSED, FRAME_RAW_FRAME_UNPROCESSED, FRAME_XYZI_POINT_CLOUD_FRAME, id(), isSavingFrameStream(), Voxel::LOG_ERROR, Voxel::LOG_INFO, and Voxel::logger.
Referenced by _captureThreadWrapper().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCameraBase.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protected |
Definition at line 296 of file DepthCamera.cpp.
References _captureLoop().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCameraBase.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 273 of file DepthCamera.cpp.
References _pointCloudFrameGenerator, Voxel::LOG_ERROR, Voxel::logger, LensCalibrationTest::p1, and LensCalibrationTest::p2.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protected |
Definition at line 364 of file DepthCamera.h.
References _id, _parameters, Voxel::ParameterTemplate< T >::get(), Voxel::LOG_ERROR, Voxel::logger, and name().
Referenced by Voxel::TI::ToFCamera::_getBytesPerPixel(), Voxel::TI::ToFCamera::_getCurrentProfileID(), Voxel::TI::ToFCamera::_getFrameRate(), Voxel::TI::ToFCamera::_getFrameSize(), Voxel::TI::HaddockCDKCamera::_getMaximumFrameRate(), Voxel::TI::TintinCDKCamera::_getMaximumFrameRate(), Voxel::TI::RTS5825Camera::_getMaximumVideoMode(), Voxel::TI::Voxel14Camera::_getMaximumVideoMode(), Voxel::TI::VoxelDCamera::_getMaximumVideoMode(), Voxel::TI::TintinCDKCamera::_getMaximumVideoMode(), Voxel::TI::ToFHaddockCamera::_getROI(), Voxel::TI::ToFCalculusCamera::_getROI(), Voxel::TI::ToFTintinCamera::_getROI(), Voxel::TI::ToFCamera::_getToFFrameType(), Voxel::TI::ToFHaddockCamera::_isHistogramEnabled(), Voxel::TI::ToFCamera::_setFrameRate(), Voxel::TI::Voxel14Camera::_setStreamerFrameSize(), Voxel::TI::HaddockCDKCamera::_setStreamerFrameSize(), Voxel::TI::VoxelDCamera::_setStreamerFrameSize(), Voxel::TI::TintinCDKCamera::_setStreamerFrameSize(), Voxel::TI::ToFCalculusCamera::_updateEasyConf(), Voxel::TI::HaddockVCOFrequency::get(), Voxel::TI::IntegrationTimeParameter::get(), Voxel::TI::TintinVCOFrequency::get(), Voxel::TI::HaddockCDKIlluminationPowerPercentageParameter::get(), Voxel::TI::HaddockModulationFrequencyParameter::get(), Voxel::TI::CalculusVCOFrequency::get(), Voxel::TI::TintinModulationFrequencyParameter::get(), Voxel::TI::CalculusModulationFrequencyParameter::get(), get(), Voxel::TI::TintinUnambiguousRangeParameter::get(), Voxel::TI::HaddockSensorTemperatureParameter::get(), Voxel::TI::TintinModulationFrequencyParameter::lowerLimit(), Voxel::TI::IntegrationTimeParameter::set(), Voxel::TI::TintinModulationFrequencyParameter::set(), and Voxel::TI::TintinModulationFrequencyParameter::upperLimit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCamera, and Voxel::TI::ToFCalculusCamera.
Referenced by getBytesPerPixel().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 153 of file DepthCamera.h.
Referenced by Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::RTS5825Camera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), Voxel::TI::ToFCamera::_init(), and _init().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera.
Referenced by _init().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::TintinCDKCamera, Voxel::TI::VoxelDCamera, Voxel::TI::HaddockCDKCamera, Voxel::TI::CalculusCDKCamera, Voxel::TI::Voxel14Camera, and Voxel::TI::RTS5825Camera.
Referenced by getFieldOfView().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera, and Voxel::TI::ToFCalculusCamera.
Referenced by getFrameRate().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera, and Voxel::TI::ToFCalculusCamera.
Referenced by getFrameSize().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCamera, Voxel::TI::TintinCDKCamera, Voxel::TI::HaddockCDKCamera, and Voxel::TI::CalculusCDKCamera.
Referenced by getMaximumFrameRate().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFTintinCamera, Voxel::TI::ToFCalculusCamera, and Voxel::TI::ToFHaddockCamera.
Referenced by Voxel::TI::ToFCamera::_setFrameSize(), and getMaximumFrameSize().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::TintinCDKCamera, Voxel::TI::VoxelDCamera, Voxel::TI::HaddockCDKCamera, Voxel::TI::CalculusCDKCamera, Voxel::TI::Voxel14Camera, and Voxel::TI::RTS5825Camera.
Referenced by getMaximumVideoMode().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFTintinCamera, Voxel::TI::ToFCalculusCamera, and Voxel::TI::ToFHaddockCamera.
Referenced by Voxel::TI::ToFCamera::_setFrameSize(), and getROI().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::TintinCDKCamera, Voxel::TI::VoxelDCamera, Voxel::TI::HaddockCDKCamera, Voxel::TI::CalculusCDKCamera, Voxel::TI::Voxel14Camera, and Voxel::TI::RTS5825Camera.
Referenced by Voxel::TI::ToFCamera::_getMaximumFrameRate(), Voxel::TI::ToFCamera::_setFrameSize(), and getSupportedVideoModes().
Here is the caller graph for this function:
|
protected |
Definition at line 33 of file DepthCamera.cpp.
References _getCalibrationInformationStructure(), _getCurrentProfileID(), CALIB_SECT_LENS, CALIB_SECT_LENS_ID, Voxel::CalibrationInformation::calibrationParameters, configFile, Voxel::CalibrationInformation::definingParameters, Voxel::MainConfigurationFile::getDefaultCameraProfileID(), getSerialNumber(), Voxel::CalibrationInformation::id, Voxel::CalibrationInformation::name, Voxel::MainConfigurationFile::readFromHardware(), setCameraProfile(), and Voxel::MainConfigurationFile::setHardwareID().
Referenced by Voxel::TI::ToFCameraBase::_init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 141 of file DepthCamera.h.
Referenced by Voxel::TI::Voxel14Camera::_init(), Voxel::TI::VoxelDCamera::_init(), and DepthCamera().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCameraBase.
Referenced by setCameraProfile().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCamera.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCamera.
Referenced by reset().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera.
Referenced by setCameraProfile().
Here is the caller graph for this function:
|
protected |
Definition at line 394 of file DepthCamera.h.
References _device, _id, _parameters, Voxel::LOG_DEBUG, Voxel::LOG_ERROR, Voxel::logger, name(), and Voxel::ParameterTemplate< T >::set().
Referenced by Voxel::TI::ToFCamera::_saveCurrentProfileID(), Voxel::TI::ToFCamera::_setBinning(), Voxel::TI::ToFCamera::_setBytesPerPixel(), Voxel::TI::ToFCamera::_setFrameRate(), Voxel::TI::ToFHaddockCamera::_setROI(), Voxel::TI::ToFCalculusCamera::_setROI(), Voxel::TI::ToFTintinCamera::_setROI(), Voxel::TI::ToFCalculusCamera::_updateEasyConf(), Voxel::TI::HaddockVCOFrequency::set(), Voxel::TI::IntegrationTimeParameter::set(), Voxel::TI::TintinVCOFrequency::set(), Voxel::TI::HaddockCDKIlluminationPowerPercentageParameter::set(), Voxel::TI::HaddockModulationFrequencyParameter::set(), Voxel::TI::CalculusVCOFrequency::set(), Voxel::TI::TintinModulationFrequencyParameter::set(), Voxel::TI::HaddockUnambiguousRangeParameter::set(), set(), Voxel::TI::CalculusModulationFrequencyParameter::set(), Voxel::TI::TintinUnambiguousRangeParameter::set(), and Voxel::TI::HaddockSensorTemperatureParameter::set().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCamera.
Referenced by setBytesPerPixel().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera, and Voxel::TI::ToFCalculusCamera.
Referenced by setFrameRate().
Here is the caller graph for this function:Implemented in Voxel::TI::ToFCamera.
Referenced by setFrameSize().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFTintinCamera, Voxel::TI::ToFCalculusCamera, and Voxel::TI::ToFHaddockCamera.
Referenced by Voxel::TI::ToFCamera::_setFrameSize(), and setROI().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCameraBase.
Referenced by start().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in Voxel::TI::ToFCameraBase.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
protected |
Definition at line 511 of file DepthCamera.cpp.
References _frameStreamWriter, _frameStreamWriterMutex, Voxel::LOG_ERROR, and Voxel::logger.
Referenced by _captureLoop().
Here is the caller graph for this function:Definition at line 644 of file DepthCamera.cpp.
References Voxel::MainConfigurationFile::addCameraProfile(), and configFile.
Here is the call graph for this function:
|
virtual |
Definition at line 427 of file DepthCamera.cpp.
References _depthFilters, _processedFilters, _unprocessedFilters, FRAME_DEPTH_FRAME, FRAME_RAW_FRAME_PROCESSED, FRAME_RAW_FRAME_UNPROCESSED, id(), Voxel::LOG_ERROR, and Voxel::logger.
Here is the call graph for this function:Definition at line 345 of file DepthCamera.h.
References _accessMutex, and _allowedROI().
Here is the call graph for this function:
|
inline |
Definition at line 170 of file DepthCamera.h.
|
virtual |
| bool Voxel::DepthCamera::close | ( | ) |
Definition at line 356 of file DepthCamera.cpp.
References _depthFrameBuffers, _parameters, _pointCloudBuffers, _programmer, _rawFrameBuffers, _streamer, isRunning(), and stop().
Referenced by ~DepthCamera().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Definition at line 562 of file DepthCamera.cpp.
References _frameGenerators, _frameStreamWriter, _frameStreamWriterMutex, Voxel::LOG_DEBUG, and Voxel::logger.
Referenced by _captureLoop().
Here is the caller graph for this function:| bool Voxel::DepthCamera::get | ( | const String & | name, |
| T & | value, | ||
| bool | refresh = false |
||
| ) | const |
Definition at line 264 of file DepthCamera.h.
References _accessMutex, and _get().
Here is the call graph for this function:
|
inline |
Definition at line 332 of file DepthCamera.h.
References _accessMutex, and _getBytesPerPixel().
Here is the call graph for this function:Definition at line 251 of file DepthCamera.h.
|
inline |
Definition at line 252 of file DepthCamera.h.
|
inline |
Definition at line 238 of file DepthCamera.h.
|
inline |
Definition at line 175 of file DepthCamera.h.
Definition at line 277 of file DepthCamera.h.
References _accessMutex, and _getFieldOfView().
Here is the call graph for this function:
|
virtual |
Definition at line 457 of file DepthCamera.cpp.
References _depthFilters, _processedFilters, _unprocessedFilters, FRAME_DEPTH_FRAME, FRAME_RAW_FRAME_PROCESSED, FRAME_RAW_FRAME_UNPROCESSED, id(), Voxel::LOG_ERROR, and Voxel::logger.
Here is the call graph for this function:Definition at line 283 of file DepthCamera.h.
References _accessMutex, and _getFrameRate().
Referenced by Voxel::TI::ToFCameraBase::_onReset(), and Voxel::TI::ToFCameraBase::_start().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 295 of file DepthCamera.h.
References _accessMutex, and _getFrameSize().
Referenced by Voxel::TI::CalculusCDKCamera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::ToFCalculusCamera::_initStartParams(), Voxel::TI::ToFCamera::_initStartParams(), Voxel::TI::ToFCameraBase::_onReset(), and Voxel::TI::ToFCameraBase::_start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 313 of file DepthCamera.h.
References _accessMutex, and _getMaximumFrameRate().
Here is the call graph for this function:Definition at line 307 of file DepthCamera.h.
References _accessMutex, and _getMaximumFrameSize().
Referenced by Voxel::TI::ToFCamera::_initStartParams().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 326 of file DepthCamera.h.
References _accessMutex, and _getMaximumVideoMode().
Referenced by Voxel::TI::ToFCameraBase::_onReset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 424 of file DepthCamera.h.
References _id, _parameters, Voxel::LOG_ERROR, and Voxel::logger.
Referenced by _applyConfigParams(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::TintinCDKIlluminationPowerPercentParameter::get(), Voxel::TI::HaddockModulationFrequencyParameter::set(), Voxel::TI::TintinModulationFrequencyParameter::set(), Voxel::TI::TintinCDKIlluminationPowerPercentParameter::set(), Voxel::TI::HaddockUnambiguousRangeParameter::set(), Voxel::TI::CalculusModulationFrequencyParameter::set(), and Voxel::TI::TintinUnambiguousRangeParameter::set().
Here is the caller graph for this function:
|
inline |
Definition at line 197 of file DepthCamera.h.
Definition at line 237 of file DepthCamera.h.
|
inline |
Definition at line 247 of file DepthCamera.h.
|
inline |
Definition at line 351 of file DepthCamera.h.
References _accessMutex, and _getROI().
Referenced by Voxel::TI::ToFCalculusCamera::_initStartParams(), and Voxel::TI::ToFCamera::_initStartParams().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 739 of file DepthCamera.cpp.
References _device.
Referenced by _init().
Here is the caller graph for this function:Definition at line 248 of file DepthCamera.h.
| bool Voxel::DepthCamera::getStreamParam | ( | const String & | name, |
| T & | value | ||
| ) | const |
Definition at line 438 of file DepthCamera.h.
|
inline |
Definition at line 320 of file DepthCamera.h.
References _accessMutex, and _getSupportedVideoModes().
Here is the call graph for this function:Definition at line 236 of file DepthCamera.h.
|
inline |
Definition at line 168 of file DepthCamera.h.
Referenced by _captureLoop(), Voxel::TI::ToFCamera::_saveCurrentProfileID(), addFilter(), getFilter(), registerCallback(), removeAllFilters(), removeFilter(), and reset().
Here is the caller graph for this function:
|
inlinevirtual |
Definition at line 160 of file DepthCamera.h.
Referenced by Voxel::TI::ToFCameraBase::_captureRawUnprocessedFrame(), Voxel::TI::ToFCameraBase::_start(), and Voxel::TI::ToFCameraBase::_stop().
Here is the caller graph for this function:
|
inline |
Definition at line 179 of file DepthCamera.h.
|
inline |
Definition at line 177 of file DepthCamera.h.
Referenced by Voxel::TI::ToFCamera::_setFrameSize(), Voxel::TI::ToFHaddockCamera::_setROI(), Voxel::TI::ToFCalculusCamera::_setROI(), Voxel::TI::ToFTintinCamera::_setROI(), close(), reset(), start(), and stop().
Here is the caller graph for this function:
|
virtual |
Definition at line 555 of file DepthCamera.cpp.
References _frameStreamWriter, and _frameStreamWriterMutex.
Referenced by _captureLoop().
Here is the caller graph for this function:
|
inline |
Definition at line 166 of file DepthCamera.h.
Referenced by _get(), Voxel::TI::ToFCamera::_getCurrentProfileID(), Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::ToFCalculusCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), Voxel::TI::ToFCamera::_saveCurrentProfileID(), and _set().
Here is the caller graph for this function:| bool Voxel::DepthCamera::pause | ( | ) |
Definition at line 373 of file DepthCamera.cpp.
References _frameStreamWriter, _frameStreamWriterMutex, and _isPaused.
| bool Voxel::DepthCamera::refreshParams | ( | ) |
Definition at line 488 of file DepthCamera.cpp.
References _accessMutex, _parameters, Voxel::LOG_ERROR, and Voxel::logger.
Referenced by setCameraProfile().
Here is the caller graph for this function:
|
virtual |
Definition at line 99 of file DepthCamera.cpp.
References _callback, _callBackTypesRegistered, FRAME_TYPE_COUNT, id(), Voxel::LOG_ERROR, Voxel::LOG_WARNING, and Voxel::logger.
Referenced by Voxel::PCLGrabber::PCLGrabber().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 250 of file DepthCamera.h.
Definition at line 442 of file DepthCamera.cpp.
References _depthFilters, _processedFilters, _unprocessedFilters, FRAME_DEPTH_FRAME, FRAME_RAW_FRAME_PROCESSED, FRAME_RAW_FRAME_UNPROCESSED, id(), Voxel::LOG_ERROR, and Voxel::logger.
Here is the call graph for this function:Definition at line 650 of file DepthCamera.cpp.
References configFile, and Voxel::MainConfigurationFile::removeCameraProfile().
Here is the call graph for this function:Definition at line 473 of file DepthCamera.cpp.
References _depthFilters, _processedFilters, _unprocessedFilters, FRAME_DEPTH_FRAME, FRAME_RAW_FRAME_PROCESSED, FRAME_RAW_FRAME_UNPROCESSED, id(), Voxel::LOG_ERROR, and Voxel::logger.
Here is the call graph for this function:| bool Voxel::DepthCamera::reset | ( | ) |
Definition at line 409 of file DepthCamera.cpp.
References _reset(), id(), isRunning(), Voxel::LOG_ERROR, Voxel::logger, and resetFilters().
Here is the call graph for this function:
|
virtual |
Definition at line 504 of file DepthCamera.cpp.
References _depthFilters, _processedFilters, and _unprocessedFilters.
Referenced by reset(), and start().
Here is the caller graph for this function:| bool Voxel::DepthCamera::resume | ( | ) |
Definition at line 388 of file DepthCamera.cpp.
References _frameStreamWriter, _frameStreamWriterMutex, and _isPaused.
Definition at line 257 of file DepthCamera.h.
Definition at line 523 of file DepthCamera.cpp.
References _frameGenerators, _frameStreamWriter, _frameStreamWriterMutex, Voxel::LOG_ERROR, and Voxel::logger.
Definition at line 271 of file DepthCamera.h.
References _accessMutex, and _set().
Referenced by Voxel::TI::ToFHaddockCamera::_applyCalibrationParams(), Voxel::TI::ToFTintinCamera::_applyCalibrationParams(), _applyConfigParams(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), Voxel::TI::ToFHaddockCamera::_initStartParams(), Voxel::TI::HaddockCDKCamera::_initStartParams(), Voxel::TI::VoxelDCamera::_initStartParams(), Voxel::TI::ToFCalculusCamera::_initStartParams(), Voxel::TI::ToFTintinCamera::_initStartParams(), and Voxel::TI::ToFCamera::_reset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 338 of file DepthCamera.h.
References _accessMutex, and _setBytesPerPixel().
Here is the call graph for this function:Definition at line 582 of file DepthCamera.cpp.
References _applyConfigParams(), _onReset(), _saveCurrentProfileID(), configFile, Voxel::MainConfigurationFile::getCameraProfile(), Voxel::MainConfigurationFile::getCameraProfileName(), Voxel::ConfigurationFile::getConfigSet(), Voxel::LOG_ERROR, Voxel::LOG_WARNING, Voxel::logger, refreshParams(), and Voxel::MainConfigurationFile::setCurrentCameraProfile().
Referenced by _init().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 289 of file DepthCamera.h.
References _accessMutex, and _setFrameRate().
Referenced by _applyConfigParams(), and Voxel::TI::ToFCameraBase::_onReset().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 301 of file DepthCamera.h.
References _accessMutex, and _setFrameSize().
Referenced by Voxel::TI::ToFCameraBase::_onReset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 357 of file DepthCamera.h.
References _accessMutex, and _setROI().
Here is the call graph for this function:Reimplemented in Voxel::TI::ToFCamera.
Definition at line 745 of file DepthCamera.cpp.
Referenced by Voxel::TI::ToFCamera::setSerialNumber().
Here is the caller graph for this function:| bool Voxel::DepthCamera::start | ( | ) |
Definition at line 301 of file DepthCamera.cpp.
References _callBackTypesRegistered, _captureThread, _captureThreadWrapper(), _id, _isPaused, _running, _start(), isRunning(), Voxel::LOG_ERROR, Voxel::logger, resetFilters(), and wait().
Here is the call graph for this function:| bool Voxel::DepthCamera::stop | ( | ) |
Definition at line 336 of file DepthCamera.cpp.
References _isPaused, _running, isRunning(), Voxel::LOG_WARNING, Voxel::logger, and wait().
Referenced by close(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:| void Voxel::DepthCamera::wait | ( | ) |
Definition at line 350 of file DepthCamera.cpp.
References _captureThread.
Referenced by start(), and stop().
Here is the caller graph for this function:
|
mutableprivate |
Definition at line 56 of file DepthCamera.h.
Referenced by allowedROI(), get(), getBytesPerPixel(), getFieldOfView(), getFrameRate(), getFrameSize(), getMaximumFrameRate(), getMaximumFrameSize(), getMaximumVideoMode(), getROI(), getSupportedVideoModes(), refreshParams(), set(), setBytesPerPixel(), setFrameRate(), setFrameSize(), and setROI().
|
protected |
Definition at line 88 of file DepthCamera.h.
Referenced by _callbackAndContinue(), _captureLoop(), clearAllCallbacks(), clearCallback(), and registerCallback().
|
protected |
Definition at line 90 of file DepthCamera.h.
Referenced by _captureLoop(), registerCallback(), and start().
|
protected |
Definition at line 92 of file DepthCamera.h.
|
protected |
Definition at line 62 of file DepthCamera.h.
|
protected |
Definition at line 82 of file DepthCamera.h.
Referenced by _captureLoop(), addFilter(), getFilter(), removeAllFilters(), removeFilter(), and resetFilters().
|
protected |
Definition at line 77 of file DepthCamera.h.
Referenced by _captureLoop(), and close().
|
protected |
Definition at line 60 of file DepthCamera.h.
Referenced by Voxel::TI::TintinCDKCamera::_getMaximumVideoMode(), Voxel::TI::TintinCDKCamera::_getSupportedVideoModes(), Voxel::TI::RTS5825Camera::_init(), Voxel::TI::CalculusCDKCamera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::TintinCDKCamera::_initStartParams(), _set(), Voxel::TI::TintinCDKCamera::_setStreamerFrameSize(), getSerialNumber(), and Voxel::TI::ToFCamera::setSerialNumber().
|
protected |
Definition at line 70 of file DepthCamera.h.
Referenced by closeFrameStream(), DepthCamera(), saveFrameStream(), and Voxel::TI::ToFCamera::ToFCamera().
|
protected |
Definition at line 84 of file DepthCamera.h.
Referenced by _writeToFrameStream(), closeFrameStream(), isSavingFrameStream(), pause(), resume(), and saveFrameStream().
|
mutableprivate |
Definition at line 57 of file DepthCamera.h.
Referenced by _writeToFrameStream(), closeFrameStream(), isSavingFrameStream(), pause(), resume(), and saveFrameStream().
|
protected |
Definition at line 62 of file DepthCamera.h.
Referenced by _get(), _set(), getParam(), and start().
|
protected |
Definition at line 109 of file DepthCamera.h.
Referenced by _callbackAndContinue(), _captureLoop(), pause(), resume(), start(), and stop().
|
protected |
Definition at line 62 of file DepthCamera.h.
|
protected |
Definition at line 74 of file DepthCamera.h.
Referenced by Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::ToFCalculusCamera::_init(), and Voxel::TI::ToFTintinCamera::_init().
|
protected |
Definition at line 64 of file DepthCamera.h.
Referenced by _addParameters(), _get(), Voxel::TI::TintinCDKCamera::_init(), _set(), close(), getParam(), and refreshParams().
|
protected |
Definition at line 78 of file DepthCamera.h.
Referenced by _captureLoop(), and close().
|
protected |
Definition at line 72 of file DepthCamera.h.
Referenced by _convertToPointCloudFrame(), Voxel::TI::ToFCamera::_initStartParams(), and DepthCamera().
Definition at line 80 of file DepthCamera.h.
Referenced by _captureLoop(), addFilter(), getFilter(), removeAllFilters(), removeFilter(), and resetFilters().
|
protected |
Definition at line 66 of file DepthCamera.h.
Referenced by _applyConfigParams(), Voxel::TI::TintinCDKCamera::_getEEPROMSize(), Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::RTS5825Camera::_init(), Voxel::TI::CalculusCDKCamera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::ToFCalculusCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), Voxel::TI::ToFCamera::_init(), Voxel::TI::CalculusCDKCamera::_initStartParams(), Voxel::TI::ToFCalculusCamera::_initStartParams(), Voxel::TI::TintinCDKCamera::_readConfigFromHardware(), Voxel::TI::VoxelDCamera::_setIllumPolarity(), Voxel::TI::ToFCalculusCamera::_updateEasyConf(), Voxel::TI::TintinCDKCamera::_writeConfigFromHardware(), close(), and Voxel::TI::ToFCamera::setSerialNumber().
|
protected |
Definition at line 76 of file DepthCamera.h.
Referenced by _captureLoop(), and close().
|
protected |
Definition at line 109 of file DepthCamera.h.
Referenced by _captureLoop(), start(), and stop().
Definition at line 67 of file DepthCamera.h.
Referenced by Voxel::TI::ToFCameraBase::_captureRawUnprocessedFrame(), Voxel::TI::RTS5825Camera::_init(), Voxel::TI::CalculusCDKCamera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::HaddockCDKCamera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::RTS5825Camera::_setStreamerFrameSize(), Voxel::TI::CalculusCDKCamera::_setStreamerFrameSize(), Voxel::TI::Voxel14Camera::_setStreamerFrameSize(), Voxel::TI::HaddockCDKCamera::_setStreamerFrameSize(), Voxel::TI::VoxelDCamera::_setStreamerFrameSize(), Voxel::TI::TintinCDKCamera::_setStreamerFrameSize(), Voxel::TI::ToFCameraBase::_start(), Voxel::TI::ToFCameraBase::_stop(), and close().
Definition at line 80 of file DepthCamera.h.
Referenced by _captureLoop(), addFilter(), getFilter(), removeAllFilters(), removeFilter(), and resetFilters().
| MainConfigurationFile Voxel::DepthCamera::configFile |
Definition at line 156 of file DepthCamera.h.
Referenced by Voxel::TI::ToFHaddockCamera::_applyCalibrationParams(), Voxel::TI::ToFTintinCamera::_applyCalibrationParams(), Voxel::TI::ToFCamera::_getDepthScalingFactor(), Voxel::TI::ToFHaddockCamera::_init(), Voxel::TI::Voxel14Camera::_init(), Voxel::TI::VoxelDCamera::_init(), Voxel::TI::TintinCDKCamera::_init(), Voxel::TI::ToFCalculusCamera::_init(), Voxel::TI::ToFTintinCamera::_init(), _init(), Voxel::TI::ToFCamera::_initStartParams(), addCameraProfile(), DepthCamera(), removeCameraProfile(), and setCameraProfile().
1.8.7