Banuba SDK
Loading...
Searching...
No Matches
bnb::base_image_t Class Reference

A base class for *_image_t classes. More...

#include <full_image.hpp>

Inheritance diagram for bnb::base_image_t:
bnb::bpc8_image_t bnb::yuv_image_t

Public Member Functions

 base_image_t ()=default
 Construct a new base_image_t object with default values.
 
const image_formatget_format () const
 
void set_fov (float fov)
 Set the field of view.
 

Protected Member Functions

 base_image_t (const image_format &format)
 

Protected Attributes

image_format m_format
 

Detailed Description

A base class for *_image_t classes.

Definition at line 131 of file full_image.hpp.

Member Function Documentation

◆ get_format()

const image_format & bnb::base_image_t::get_format ( ) const
Returns
Returns a const reference for image format (
See also
image_format)

◆ set_fov()

void bnb::base_image_t::set_fov ( float fov)
inline

Set the field of view.

Parameters
fovis a field of view in degrees.

Definition at line 151 of file full_image.hpp.

152 {
153 m_format.fov = fov;
154 }
std::optional< float > fov
It is a field of view in degrees.

Member Data Documentation

◆ m_format

image_format bnb::base_image_t::m_format
protected

Definition at line 159 of file full_image.hpp.


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