DAVID4 SDK
1.8.7
|
Basic DAVID namespace. More...
Namespaces | |
jsonrpc | |
Specifications for DAVID remote procedure calls in JSON RPC 2.0. | |
Classes | |
struct | LibraryInfo |
Informat about the library. More... | |
class | ClientD4Lib |
Implementation of IModules and client using DAVID Low Level Library (d4lib). More... | |
struct | ServerInfo |
Information about the server. More... | |
class | ClientJsonRpc |
Implementation of IModules and client using Json RPC 2.0. More... | |
class | Optional |
The class template david::Optional manages an optional contained value, i.e. More... | |
class | Exception |
Base exception class. All other DAVID exceptions are derived from this class. More... | |
class | ConnectionException |
Exception thrown in case of connection errors. More... | |
class | ProtocolException |
Special connection exception that indicates a problem with the communication protocol. More... | |
class | FunctionException |
The remote procedure call was excecuted, but caused an error. More... | |
class | ErrorExceptionConverter |
Easy conversion from error codes to exceptions. More... | |
class | IMainWindow |
Interface class for control of main window (in DAVID Server application). More... | |
class | IMeasure |
Interface for 'Measurement' functions. More... | |
class | IModules |
Gives access to module interfaces. More... | |
struct | MotionInfo |
Provides user knowledge about the motion between two scans. More... | |
struct | SubmeshVertexIndex |
Index to define a vertex in a submesh. More... | |
struct | ContactRegionPair |
A pair of contact regions, defined as lists of SubmeshVertexIndex. More... | |
struct | PosesWithTolerances |
A list of poses (given as 4*4 matrices) plus tolerance values for translation and rotation. More... | |
struct | CoarseAlignParams |
Parameter set for Coarse Alignment, see IShapeFusion::AlignPairCoarse. More... | |
struct | FineAlignParams |
Parameter set for Fine Alignment, see IShapeFusion::AlignPairFine. More... | |
struct | GlobalFineAlignParams |
Parameter set for Global Fine Alignment, see IShapeFusion::AlignGlobalFine. More... | |
class | IShapeFusion |
Interface class for 'Shape Fusion'. More... | |
struct | ImageFormat |
Describes the image format. More... | |
struct | CodedLightPhaseShiftParams |
Defines parameters used in structured light mode 'coded light + phase shift' ('cl+ps'). More... | |
struct | ResultFilteringParams |
Defines parameters used for result filtering. More... | |
struct | CalibPoint |
Point correspondence used for calibration. More... | |
struct | Plane |
Defines a plane in 3D. More... | |
class | IStructuredLightScanner |
Interface class for 'Structured Light Scanning'. More... | |
class | ITurntable |
Interface class for turntable control. More... | |
class | MainWindowJsonRpc |
Implementation of interface 'IMainWindow'. More... | |
class | MeasureJsonRpc |
Implements interface functions of IMeasure. More... | |
class | ShapeFusionD4Lib |
Implements interface functions of IShapeFusion using DAVID Low Level Library. More... | |
class | ShapeFusionJsonRpc |
Implements interface functions of IShapeFusion. More... | |
class | StructuredLightScannerD4Lib |
Implements interface functions of IStructuredLightScanner using DAVID Low Level Library. More... | |
class | StructuredLightScannerJsonRpc |
Implements interface functions of IStructuredLightScanner. More... | |
class | TcpClient |
Implementation of a TCP client. More... | |
class | TurntableJsonRpc |
Implements interface functions of 'ITurntable'. More... | |
Typedefs | |
typedef ClientJsonRpc | Client |
The Client class manages all modules and gives access to them via david::IModules interface implementation. More... | |
Functions | |
int | GetBitsPerPixel (enum PixelFormat pixelFormat) |
Get bits per pixel for given pixel format. More... | |
size_t | GetImageSize (int width, int height, enum PixelFormat pixelFormat) |
Get image size in bytes. More... | |
std::string | GetDefaultErrorText (ErrorCode errorCode) |
Returns a default (standard) textual description for a given error code. More... | |
void | ThrowException (ErrorCode errorCode, const std::string &errorText, const std::string &errorSource) |
Throws an exception. More... | |
Classes and functions related to MotionInfo. | |
MotionInfo | GetMotionInfo_Free () |
Nothing is known. More... | |
MotionInfo | GetMotionInfo_OnTable (const double axisDir[3]) |
Object was moved (translated and rotated) on a planar table without lifting it. More... | |
MotionInfo | GetMotionInfo_AngleOnly (double angleDeg, double angleToleranceDeg=2.0) |
Only rotation angle is known. More... | |
MotionInfo | GetMotionInfo_TurntablePartlyCalibrated (double angleDeg, const double axisDir[3], double angleToleranceDeg=2.0) |
Object was rotated with the help of a turntable. More... | |
Variables | |
const double | DAVID_SDK_ClientVersion = 1.0 |
Defines the version of the client. More... | |
const uint16_t | DAVID_SDK_DefaultPort = 10500 |
Defines DAVID default port. | |
Basic DAVID namespace.
enum david::ErrorCode |
Defines error codes.
Definition at line 25 of file ErrorCodes.h.
enum david::PixelFormat |
Describes different pixel formats.
int david::GetBitsPerPixel | ( | enum PixelFormat | pixelFormat) |
Get bits per pixel for given pixel format.
[in] | pixelFormat | Pixel format, see PixelFormat. |
std::string david::GetDefaultErrorText | ( | ErrorCode | errorCode) |
Returns a default (standard) textual description for a given error code.
[in] | errorCode | Error code (see david::ErrorCode). |
size_t david::GetImageSize | ( | int | width, |
int | height, | ||
enum PixelFormat | pixelFormat | ||
) |
Get image size in bytes.
[in] | width | Width of the image in [px] |
[in] | height | Height of the image in [px] |
[in] | pixelFormat | See PixelFormat. |
void david::ThrowException | ( | ErrorCode | errorCode, |
const std::string & | errorText, | ||
const std::string & | errorSource | ||
) |
Throws an exception.
[in] | errorCode | Error code. |
[in] | errorText | Textual description of the error. |
[in] | errorSource | Source of the error. |