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::SBScan Class Reference

Class containing scan Images and accessing functions. More...

#include <SBData.h>

Public Member Functions

 SBScan ()
 Class Constructor. More...
 
virtual ~SBScan ()
 Class Decosntructor. More...
 
bool save (const char *fileName)
 Save .pbs file to disk. Returns if success. More...
 
bool load (const char *fileName)
 Load .pbs file from disk. Returns if success. More...
 
uint32_t getNumImages ()
 Returns the number of images taken for the scan. More...
 
void getCameraImages (int camIdx, SBImageList &imageList)
 Returns the images corresponding the given camera id. More...
 
bool getTextureImage (SBImage &img)
 Returns the texture images corresponding the given camera id. More...
 
bool empty ()
 Returns if it is empty Returns true if it is empty. More...
 

Public Attributes

std::shared_ptr< PLG::PLGScan > mpPLGScan
 
std::shared_ptr< PLG::PLGCalib > mpPLGCalib
 
std::shared_ptr< PLG::PLGCalib > mpPLGTextureCalib
 

Detailed Description

Class containing scan Images and accessing functions.

See also
SBImage, SBImageList

Constructor & Destructor Documentation

◆ SBScan()

SBSDK3::SBScan::SBScan ( )

Class Constructor.

◆ ~SBScan()

SBSDK3::SBScan::~SBScan ( )
virtual

Class Decosntructor.

Member Function Documentation

◆ save()

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

Save .pbs file to disk. Returns if success.

Parameters
[in]fileNameconst char* containing the fileName and extension.

◆ load()

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

Load .pbs file from disk. Returns if success.

Parameters
[in]fileNameconst char* containing the fileName and extension.

◆ getNumImages()

SBSDK3::SBScan::getNumImages ( )

Returns the number of images taken for the scan.

◆ getCameraImages()

SBSDK3::SBScan::getCameraImages ( int  camIdx,
SBImageList imageList 
)

Returns the images corresponding the given camera id.

Parameters
[in]camIdxCamera Id of the desired Images(0 for Left, 1 for Right).
[out]imageListcontainer for the images.
See also
SBImageList, SBImage

◆ getTextureImage()

SBSDK3::SBScan::getTextureImage ( SBImage img)

Returns the texture images corresponding the given camera id.

Parameters
[out]imgSBImage Container for the texture images. Returns true if success.
See also
SBImageList, SBImage, getCameraImages

◆ empty()

SBSDK3::SBScan::empty ( )

Returns if it is empty Returns true if it is empty.

Member Data Documentation

◆ mpPLGScan

std::shared_ptr<PLG::PLGScan> SBSDK3::SBScan::mpPLGScan

◆ mpPLGCalib

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

◆ mpPLGTextureCalib

std::shared_ptr<PLG::PLGCalib> SBSDK3::SBScan::mpPLGTextureCalib

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