RoboceptionUser Class Reference

This class contains common implementation for RCImageProvider and RCPointCloudProvider. More...

#include <VisionX/libraries/RoboceptionUtility/RoboceptionUser.h>

+ Inheritance diagram for RoboceptionUser:

Protected Member Functions

void cleanupRC ()
 
void enableConfidence (bool enabled)
 
void enableDisparity (bool enabled)
 
void enableError (bool enabled)
 
void enableIntensity (bool enabled)
 
void enableIntensityCombined (bool enabled)
 
bool initDevice (const std::string &dname)
 
void printNodeMap () const
 
void setupStreamAndCalibration (float scalefactor, const std::string &calibSavePath)
 
void startRC ()
 
void stopRC ()
 

Static Protected Member Functions

static void fillCameraImageDepth (unsigned char *outputPixels, double f, double t, double scale, const rcg::Image &disparity, size_t upscale=1)
 
static void fillCameraImageRGB (unsigned char *outputPixels, size_t nImage, const rcg::Image &inputRgb)
 
static void fillCameraImageRGB (unsigned char *outputPixels, size_t nImage, const uint8_t *inputPixels, size_t width, size_t height, uint64_t pixelFormat, size_t xpadding)
 

Protected Attributes

double baseline = 1.0
 
CByteImage ** cameraImages {nullptr}
 
rcg::DevicePtr dev
 
visionx::ImageDimension dimensions
 
double focalLengthFactor = 1.0
 
std::shared_ptr< GenApi::CNodeMapRef > nodemap
 
size_t numImages = 0
 
float scaleFactor = 1
 
CByteImage ** smallImages {nullptr}
 
visionx::StereoCalibration stereoCalibration
 
rcg::StreamPtr stream
 

Detailed Description

This class contains common implementation for RCImageProvider and RCPointCloudProvider.

Definition at line 57 of file RoboceptionUser.h.

Member Function Documentation

◆ cleanupRC()

void cleanupRC ( )
protected

Definition at line 235 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ enableConfidence()

void enableConfidence ( bool  enabled)
protected

Definition at line 127 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ enableDisparity()

void enableDisparity ( bool  enabled)
protected

Definition at line 121 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ enableError()

void enableError ( bool  enabled)
protected

Definition at line 133 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ enableIntensity()

void enableIntensity ( bool  enabled)
protected

Definition at line 109 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ enableIntensityCombined()

void enableIntensityCombined ( bool  enabled)
protected

Definition at line 115 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ fillCameraImageDepth()

void fillCameraImageDepth ( unsigned char *  outputPixels,
double  f,
double  t,
double  scale,
const rcg::Image &  disparity,
size_t  upscale = 1 
)
staticprotected

Definition at line 340 of file RoboceptionUser.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillCameraImageRGB() [1/2]

void fillCameraImageRGB ( unsigned char *  outputPixels,
size_t  nImage,
const rcg::Image &  inputRgb 
)
staticprotected

Definition at line 333 of file RoboceptionUser.cpp.

◆ fillCameraImageRGB() [2/2]

void fillCameraImageRGB ( unsigned char *  outputPixels,
size_t  nImage,
const uint8_t *  inputPixels,
size_t  width,
size_t  height,
uint64_t  pixelFormat,
size_t  xpadding 
)
staticprotected

Definition at line 275 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ initDevice()

bool initDevice ( const std::string &  dname)
protected

Definition at line 57 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ printNodeMap()

void printNodeMap ( ) const
protected

Definition at line 258 of file RoboceptionUser.cpp.

◆ setupStreamAndCalibration()

void setupStreamAndCalibration ( float  scalefactor,
const std::string &  calibSavePath 
)
protected

Definition at line 139 of file RoboceptionUser.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ startRC()

void startRC ( )
protected

Definition at line 220 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

◆ stopRC()

void stopRC ( )
protected

Definition at line 228 of file RoboceptionUser.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ baseline

double baseline = 1.0
protected

Definition at line 95 of file RoboceptionUser.h.

◆ cameraImages

CByteImage** cameraImages {nullptr}
protected

Definition at line 97 of file RoboceptionUser.h.

◆ dev

rcg::DevicePtr dev
protected

Definition at line 88 of file RoboceptionUser.h.

◆ dimensions

visionx::ImageDimension dimensions
protected

Definition at line 100 of file RoboceptionUser.h.

◆ focalLengthFactor

double focalLengthFactor = 1.0
protected

Definition at line 94 of file RoboceptionUser.h.

◆ nodemap

std::shared_ptr<GenApi::CNodeMapRef> nodemap
protected

Definition at line 90 of file RoboceptionUser.h.

◆ numImages

size_t numImages = 0
protected

Definition at line 92 of file RoboceptionUser.h.

◆ scaleFactor

float scaleFactor = 1
protected

Definition at line 93 of file RoboceptionUser.h.

◆ smallImages

CByteImage** smallImages {nullptr}
protected

Definition at line 98 of file RoboceptionUser.h.

◆ stereoCalibration

visionx::StereoCalibration stereoCalibration
protected

Definition at line 99 of file RoboceptionUser.h.

◆ stream

rcg::StreamPtr stream
protected

Definition at line 89 of file RoboceptionUser.h.


The documentation for this class was generated from the following files: