Zivid C++ API 2.14.0+e4a0c4a9-1
Zivid::Presets Namespace Reference

Classes

class  CategoryBase
 Preset category. A preset category contains a collection of presets optimized for one scenario or use case. More...
 
class  PresetBase
 Presets are pre-defined settings that are tuned for different camera models to perform optimally under different conditions and use cases. More...
 

Typedefs

using Preset = PresetBase<Zivid::Settings>
 3D presets
 
using Category = CategoryBase<Preset>
 3D presets category
 
using Preset2D = PresetBase<Zivid::Settings2D>
 2D presets
 
using Category2D = CategoryBase<Preset2D>
 3D presets category
 

Functions

ZIVID_CORE_EXPORT std::vector< Categorycategories (const CameraInfo::Model &model)
 Returns a list of preset categories, where each category contains a list of recommended 3D presets.
 
ZIVID_CORE_EXPORT std::vector< Category2Dcategories2D (const CameraInfo::Model &model)
 Returns a list of preset categories, where each category contains a list of recommended 2D presets.
 
template<typename Settings >
ZIVID_CORE_EXPORT std::ostream & operator<< (std::ostream &stream, const PresetBase< Settings > &preset)
 Serialize the value to a stream.
 
template<typename Preset >
ZIVID_CORE_EXPORT std::ostream & operator<< (std::ostream &stream, const CategoryBase< Preset > &category)
 Serialize the value to a stream.
 

Typedef Documentation

◆ Category

3D presets category

◆ Category2D

3D presets category

◆ Preset

◆ Preset2D

Function Documentation

◆ categories()

ZIVID_CORE_EXPORT std::vector< Category > Zivid::Presets::categories ( const CameraInfo::Model & model)

Returns a list of preset categories, where each category contains a list of recommended 3D presets.

A preset category contains a collection of presets optimized for one scenario or use case. scenarios.

The settings might change between different releases of the SDK. New presets might be added and old ones might be removed. If having the exact same settings is desired, it is recommended to save them to a YML file and load as needed.

◆ categories2D()

ZIVID_CORE_EXPORT std::vector< Category2D > Zivid::Presets::categories2D ( const CameraInfo::Model & model)

Returns a list of preset categories, where each category contains a list of recommended 2D presets.

A preset category contains a collection of presets optimized for one scenario or use case. scenarios.

The settings might change between different releases of the SDK. New presets might be added and old ones might be removed. If having the exact same settings is desired, it is recommended to save them to a YML file and load as needed.

◆ operator<<() [1/2]

template<typename Preset >
ZIVID_CORE_EXPORT std::ostream & Zivid::Presets::operator<< ( std::ostream & stream,
const CategoryBase< Preset > & category )

Serialize the value to a stream.

◆ operator<<() [2/2]

template<typename Settings >
ZIVID_CORE_EXPORT std::ostream & Zivid::Presets::operator<< ( std::ostream & stream,
const PresetBase< Settings > & preset )

Serialize the value to a stream.