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 | Friends | List of all members
SBSDK3::SBImage Class Reference

Contains Image and properties. More...

#include <SBData.h>

Public Member Functions

 SBImage ()
 Default Constructor. SBImage Default Constructor. More...
 
virtual ~SBImage ()
 Class Deconstructor. More...
 
uint32_t width ()
 Returns width of the image. More...
 
uint32_t height ()
 Returns height of the image. More...
 
size_t size ()
 Returns byte size of the image. More...
 
uint32_t bytePerPixel ()
 Returns number of bytes per pixel. More...
 
uint8_t * data ()
 Returns byte data afrray of the image. More...
 
SBCameraIDEnums CameraID ()
 Get camera ID. More...
 
bool save (const char *fileName)
 Save file to disk. Returns if success. More...
 

Public Attributes

std::shared_ptr< PLG::PLGImage > mpPLGImg
 

Friends

class USBScanner
 
class Emulator
 
class GigEScanner
 

Detailed Description

Contains Image and properties.

Constructor & Destructor Documentation

◆ SBImage()

SBSDK3::SBImage::SBImage ( )

Default Constructor. SBImage Default Constructor.

◆ ~SBImage()

SBSDK3::SBImage::~SBImage ( )
virtual

Class Deconstructor.

See also
SBImage

Member Function Documentation

◆ width()

SBSDK3::SBImage::width ( )

Returns width of the image.

◆ height()

SBSDK3::SBImage::height ( )

Returns height of the image.

◆ size()

SBSDK3::SBImage::size ( )

Returns byte size of the image.

◆ bytePerPixel()

SBSDK3::SBImage::bytePerPixel ( )

Returns number of bytes per pixel.

◆ data()

SBSDK3::SBImage::data ( )

Returns byte data afrray of the image.

◆ CameraID()

SBSDK3::SBImage::CameraID ( )

Get camera ID.

See also
SBCameraIDEnums

◆ save()

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

Save file to disk. Returns if success.

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

Friends And Related Function Documentation

◆ USBScanner

friend class USBScanner
friend

◆ Emulator

friend class Emulator
friend

◆ GigEScanner

friend class GigEScanner
friend

Member Data Documentation

◆ mpPLGImg

std::shared_ptr<PLG::PLGImage> SBSDK3::SBImage::mpPLGImg

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