SBSDK 3.3.5
Polyga’s SB SDK is a set of programmable API’s that allow users to directly communicate and control any of Polyga’s 3D scanners using C++, C# or Command line.
Public Member Functions | Public Attributes | List of all members
SBSDK3::SBCalib Class Reference

Stores and manages information related to the scanner calibration. More...

#include <SBData.h>

Public Member Functions

 SBCalib ()
 Class Constructor. More...
 
virtual ~SBCalib ()
 Class Decosntructor. More...
 
void setText (const char *text, size_t size)
 set calibration by using xml text More...
 
void setBinary (uint8_t *bin, size_t size)
 set calibration by using binary calibration data More...
 
void setZFilter (float zNear, float zFar)
 set z filter value More...
 
void getZFilter (float &zNear, float &zFar)
 get z filter value More...
 
void setCalibBoardSize (float boardSize)
 set calibration board size More...
 
float getCalibBoardSize ()
 get calibration board size More...
 
size_t getBinarySize ()
 get size of the binary data size More...
 
uint8_t * getBinary ()
 get calibration data in binary format More...
 
bool save (const char *fileName)
 save calibration data to the file More...
 
bool load (const char *fileName)
 load calibration data from the file More...
 
bool exportXML (const char *fileName)
 export binary data in xml format More...
 

Public Attributes

std::shared_ptr< PLG::PLGCalib > mpPLGCalib
 

Detailed Description

Stores and manages information related to the scanner calibration.

Constructor & Destructor Documentation

◆ SBCalib()

SBSDK3::SBCalib::SBCalib ( )

Class Constructor.

◆ ~SBCalib()

SBSDK3::SBCalib::~SBCalib ( )
virtual

Class Decosntructor.

Member Function Documentation

◆ setText()

SBSDK3::SBCalib::setText ( const char *  text,
size_t  size 
)

set calibration by using xml text

Parameters
[in]textxml text
[in]sizethe length of the xml text

◆ setBinary()

SBSDK3::SBCalib::setBinary ( uint8_t *  bin,
size_t  size 
)

set calibration by using binary calibration data

Parameters
[in]bincalibration data
[in]sizethe size of the binary data

◆ setZFilter()

SBSDK3::SBCalib::setZFilter ( float  zNear,
float  zFar 
)

set z filter value

◆ getZFilter()

SBSDK3::SBCalib::getZFilter ( float &  zNear,
float &  zFar 
)

get z filter value

◆ setCalibBoardSize()

SBSDK3::SBCalib::setCalibBoardSize ( float  boardSize)

set calibration board size

◆ getCalibBoardSize()

SBSDK3::SBCalib::getCalibBoardSize ( )

get calibration board size

◆ getBinarySize()

SBSDK3::SBCalib::getBinarySize ( )

get size of the binary data size

◆ getBinary()

SBSDK3::SBCalib::getBinary ( )

get calibration data in binary format

◆ save()

SBSDK3::SBCalib::save ( const char *  fileName)

save calibration data to the file

◆ load()

SBSDK3::SBCalib::load ( const char *  fileName)

load calibration data from the file

◆ exportXML()

SBSDK3::SBCalib::exportXML ( const char *  fileName)

export binary data in xml format

Member Data Documentation

◆ mpPLGCalib

std::shared_ptr<PLG::PLGCalib> SBSDK3::SBCalib::mpPLGCalib

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