Zivid C++ API  1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
Namespaces | Classes | Typedefs | Functions
Zivid Namespace Reference

The main Zivid namespace. All Zivid code is found here More...

Namespaces

 CaptureAssistant
 
 Environment
 Zivid environment, configured through environment variables
 
 Experimental
 
 Firmware
 Interface for verifying and configuring firmware
 
 HandEye
 
 HDR
 Contains a global HDR method.
 
 Version
 Get version information for the library
 

Classes

class  Application
 Manager class for Zivid More...
 
class  ArgumentException
 An exception that is thrown when an argument provided to a method is invalid. More...
 
class  Camera
 Interface to one Zivid camera More...
 
class  CameraIntrinsics
 Information about the intrinsic parameters of the camera (OpenCV model) More...
 
class  CameraRevision
 Camera revision More...
 
class  CameraState
 Information about camera connection state, live mode, temperatures, etc. More...
 
class  CloudVisualizer
 Simple visualization component for point clouds (residing either on the Compute device or on the CPU) More...
 
class  ComputeDevice
 Compute device on which to allocate a device point cloud More...
 
class  DeviceCloud
 Point cloud on the Compute device More...
 
class  Exception
 A common base class for all Zivid exceptions. More...
 
class  Frame
 A frame captured by a Zivid camera More...
 
class  Frame2D
 A 2D frame captured by a Zivid camera More...
 
class  FrameInfo
 Various information for a frame More...
 
class  Image
 A 2-dimensional image stored on the host. The format of each pixel is given by template parameter PixelFormat. PixelFormat must be Zivid::RGBA8. More...
 
class  ImageImpl
 
class  IOException
 An exception that is thrown whenever an I/O error occurs. More...
 
class  LogicException
 An exception that is thrown when attempting to do an operation that doesn't make sense in the current execution context. More...
 
class  Matrix
 A fixed size matrix in row major order More...
 
class  Point
 A 3D point with contrast and RGBA values More...
 
class  PointCloud
 A point cloud with x,y,z, contrast and color data laid out on a 2D grid. More...
 
class  Range
 Class describing a range of values for a given type T The range boudaries for both minimum and maximum are inclusive /summary> More...
 
struct  RGBA8
 
class  RuntimeException
 An exception that is thrown when an unpredictable event caused an operation to fail. More...
 
class  SerialNumber
 Serial number of a Zivid camera More...
 
class  Settings
 Settings for a Zivid camera More...
 
class  Settings2D
 2D Capture settings More...
 
class  SettingsBatch
 Helper class to a apply a batch of settings changes to a camera More...
 
struct  Vector2
 Vector of size 2 More...
 
struct  Vector3
 Vector of size 3 More...
 

Typedefs

using Matrix3f = Matrix< float, 3, 3 >
 Matrix of size 3x3 containing floats More...
 
using Matrix3d = Matrix< double, 3, 3 >
 Matrix of size 3x3 containing doubles More...
 
using Matrix4f = Matrix< float, 4, 4 >
 Matrix of size 4x4 containing floats More...
 
using Matrix4d = Matrix< double, 4, 4 >
 Matrix of size 4x4 containing doubles More...
 
using Vector2f = Vector2< float >
 Vector of size 2 containing floats More...
 
using Vector2d = Vector2< double >
 Vector of size 2 containing doubles More...
 
using Vector3f = Vector3< float >
 Vector of size 3 containing doubles More...
 
using Vector3d = Vector3< double >
 Vector of size 3 containing doubles More...
 

Functions

ZIVID_API_EXPORT std::ostream & operator<< (std::ostream &stream, const Camera &camera)
 Serialize the value to a stream More...
 
template<typename Setting >
SettingsBatch operator<< (Camera &camera, Setting value)
 Apply a setting to camera More...
 
ZIVID_API_EXPORT std::ostream & operator<< (std::ostream &stream, const CameraRevision &cameraRevision)
 Serialize the value to a stream More...
 
ZIVID_API_EXPORT std::ostream & operator<< (std::ostream &stream, const ComputeDevice &computeDevice)
 Serialize the value to a stream More...
 
ZIVID_API_EXPORT std::string toString (const std::exception &exception)
 Get string representation of the exception More...
 
template<typename T , size_t rowCount, size_t colCount>
std::ostream & operator<< (std::ostream &stream, const Matrix< T, rowCount, colCount > &matrix)
 Serialize the value to a stream More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const Range< T > &range)
 Append the range to a stream More...
 
ZIVID_API_EXPORT std::ostream & operator<< (std::ostream &os, const SerialNumber &serialNumber)
 Serialize serial number to a stream More...
 
template<typename T >
std::ostream & operator<< (std::ostream &stream, const Vector2< T > &vector2)
 Serialize the value to a stream More...
 
template<typename T >
std::ostream & operator<< (std::ostream &stream, const Vector3< T > &vector3)
 Serialize the value to a stream More...
 

Detailed Description

The main Zivid namespace. All Zivid code is found here

Typedef Documentation

◆ Matrix3d

using Zivid::Matrix3d = typedef Matrix<double, 3, 3>

Matrix of size 3x3 containing doubles

◆ Matrix3f

using Zivid::Matrix3f = typedef Matrix<float, 3, 3>

Matrix of size 3x3 containing floats

◆ Matrix4d

using Zivid::Matrix4d = typedef Matrix<double, 4, 4>

Matrix of size 4x4 containing doubles

◆ Matrix4f

using Zivid::Matrix4f = typedef Matrix<float, 4, 4>

Matrix of size 4x4 containing floats

◆ Vector2d

using Zivid::Vector2d = typedef Vector2<double>

Vector of size 2 containing doubles

◆ Vector2f

using Zivid::Vector2f = typedef Vector2<float>

Vector of size 2 containing floats

◆ Vector3d

using Zivid::Vector3d = typedef Vector3<double>

Vector of size 3 containing doubles

◆ Vector3f

using Zivid::Vector3f = typedef Vector3<float>

Vector of size 3 containing doubles

Function Documentation

◆ operator<<() [1/9]

template<typename Setting >
SettingsBatch Zivid::operator<< ( Camera camera,
Setting  value 
)

Apply a setting to camera

Additional settings passed using operator<< will we be applied in the same update command to camera.

◆ operator<<() [2/9]

template<typename T >
std::ostream& Zivid::operator<< ( std::ostream &  os,
const Range< T > &  range 
)

Append the range to a stream

◆ operator<<() [3/9]

ZIVID_API_EXPORT std::ostream& Zivid::operator<< ( std::ostream &  os,
const SerialNumber serialNumber 
)

Serialize serial number to a stream

Parameters
osTarget std::ostream
serialNumberSerial number

◆ operator<<() [4/9]

ZIVID_API_EXPORT std::ostream& Zivid::operator<< ( std::ostream &  stream,
const Camera camera 
)

Serialize the value to a stream

◆ operator<<() [5/9]

ZIVID_API_EXPORT std::ostream& Zivid::operator<< ( std::ostream &  stream,
const CameraRevision cameraRevision 
)

Serialize the value to a stream

◆ operator<<() [6/9]

ZIVID_API_EXPORT std::ostream& Zivid::operator<< ( std::ostream &  stream,
const ComputeDevice computeDevice 
)

Serialize the value to a stream

◆ operator<<() [7/9]

template<typename T , size_t rowCount, size_t colCount>
std::ostream& Zivid::operator<< ( std::ostream &  stream,
const Matrix< T, rowCount, colCount > &  matrix 
)

Serialize the value to a stream

◆ operator<<() [8/9]

template<typename T >
std::ostream& Zivid::operator<< ( std::ostream &  stream,
const Vector2< T > &  vector2 
)

Serialize the value to a stream

◆ operator<<() [9/9]

template<typename T >
std::ostream& Zivid::operator<< ( std::ostream &  stream,
const Vector3< T > &  vector3 
)

Serialize the value to a stream

◆ toString()

ZIVID_API_EXPORT std::string Zivid::toString ( const std::exception &  exception)

Get string representation of the exception

Returns
The exceptions as a string, potential nested exceptions are included as well