172 printf(
"error: no calibration object has been instantiated\n");
184 printf(
"error: image does not match COpenGLCapture::CaptureImage\n");
196 printf(
"error: image does not match COpenGLCapture::CaptureImage\n");
bool GetImage(CByteImage *pDestinationImage)
bool InitByCalibration(const CCalibration *pCalibration, bool bActivateShading=true)
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
const CCalibration * GetLeftCalibration() const
Access to the instance of CCalibration for the camera model of the left camera.
GLuint GLuint GLsizei GLenum type
bool FlipY(const CByteImage *pInputImage, CByteImage *pOutputImage)
Flips the rows in a CByteImage vertically and writes the result to a CByteImage.
virtual void DrawScene()=0
const CCameraParameters & GetCameraParameters() const
Gives access to the camera parameters.
CStereoCalibration * m_pStereoCalibration
int height
The height of the images of the stereo camera system in pixels.
CCalibration * m_pCalibration
int width
The width of the images of the stereo camera system in pixels.
Camera model and functions for a stereo camera system.
COpenGLVisualizer * m_pOpenGLVisualizer
bool CaptureImage(CByteImage **ppImages)
GLenum GLsizei GLsizei height
void Set(const CCalibration &calibration)
Initializes the camera model, given an instance of CCalibration.
void Set(const CCalibration &calibration)
Camera model parameters and functions for a single camera.
void Set(const CStereoCalibration &stereoCalibration)
Initializes the stereo camera model, given an instance of CStereoCalibration.
const CCalibration * GetRightCalibration() const
Access to the instance of CCalibration for the camera model of the right camera.