Banuba SDK
Loading...
Searching...
No Matches
libs
renderer_common
bnb
renderer_common
interfaces
renderer_common.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup RendererCommon
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file was generated by Djinni from renderer_common.djinni
7
8
#pragma once
9
10
#include <bnb/types/full_image.hpp>
11
#include <bnb/utils/defs.hpp>
12
#include <cstdint>
13
#include <vector>
14
15
namespace
bnb {
namespace
interfaces {
16
17
struct
bnb_morph_result;
18
19
class
BNB_EXPORT
renderer_common
{
20
public
:
21
virtual
~renderer_common
() {}
22
23
/** return rgba image, src_image can be rgb or rgba */
24
static ::bnb::full_image_t
morph_mesh
(
::bnb::full_image_t
src_image,
const
std::vector<float> & original_verts,
const
std::vector<float> & morphed_verts,
const
std::vector<int32_t> & indices,
const
std::vector<float> & mvp);
25
26
/** return rgba image, src_image can be rgb or rgba */
27
static
bnb_morph_result
morph_mesh_landmarks
(
::bnb::full_image_t
src_image,
const
std::vector<float> & src_landmarks,
const
std::vector<float> & original_verts,
const
std::vector<float> & morphed_verts,
const
std::vector<int32_t> & indices,
const
std::vector<float> & mvp);
28
};
29
30
} }
// namespace bnb::interfaces
31
/// @}
32
bnb::full_image_t
basis is the base basis: for y/rgb basis use .basis or get_subchannel_basis_transform(1); for uv basi...
Definition
full_image.hpp:449
bnb::interfaces::renderer_common
Definition
renderer_common.hpp:19
bnb::interfaces::renderer_common::morph_mesh
::bnb::full_image_t morph_mesh(::bnb::full_image_t src_image, const std::vector< float > &original_verts, const std::vector< float > &morphed_verts, const std::vector< int32_t > &indices, const std::vector< float > &mvp)
return rgba image, src_image can be rgb or rgba
bnb::interfaces::renderer_common::morph_mesh_landmarks
static bnb_morph_result morph_mesh_landmarks(::bnb::full_image_t src_image, const std::vector< float > &src_landmarks, const std::vector< float > &original_verts, const std::vector< float > &morphed_verts, const std::vector< int32_t > &indices, const std::vector< float > &mvp)
return rgba image, src_image can be rgb or rgba
bnb::interfaces::bnb_morph_result
Definition
bnb_morph_result.hpp:16
Generated by
1.12.0