55# pragma warning(disable : 4251)
71 template<
typename SettingsType>
79 const std::string &
name() const noexcept;
94 SettingsType m_settings;
101 template<typename PresetType>
109 const std::string &
name() const noexcept;
117 const std::vector<PresetType> &
presets() const noexcept;
124 std::vector<PresetType> m_presets;
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Information about camera model, serial number etc.
Definition CameraInfo.h:78
Preset category. A preset category contains a collection of presets optimized for one scenario or use...
Definition Presets.h:103
CategoryBase(std::string name, std::vector< PresetType > presets) noexcept
Constructor.
std::string toString() const
const std::vector< Preset > & presets() const noexcept
const std::string & name() const noexcept
Presets are pre-defined settings that are tuned for different camera models to perform optimally unde...
Definition Presets.h:73
const Zivid::Settings & settings() const noexcept
std::string toString() const
PresetBase(std::string name, SettingsType settings) noexcept
Constructor.
const std::string & name() const noexcept
Settings used when capturing 2D images with a Zivid camera.
Definition Settings2D.h:79
Settings used when capturing a 3D capture or 2D+3D capture with a Zivid camera.
Definition Settings.h:81
PresetBase< Zivid::Settings > Preset
3D presets
Definition Presets.h:128
CategoryBase< Preset2D > Category2D
3D presets category
Definition Presets.h:134
ZIVID_CORE_EXPORT std::vector< Category > categories(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< Category2D > categories2D(const CameraInfo::Model &model)
Returns a list of preset categories, where each category contains a list of recommended 2D presets.
PresetBase< Zivid::Settings2D > Preset2D
2D presets
Definition Presets.h:132
CategoryBase< Preset > Category
3D presets category
Definition Presets.h:130
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:84