|
Name |
std::vector< cv::Rect2f > |
_getCropRects(std::vector< stbrp_rect > const & rects, std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures, cv::Size atlasSize) |
cv::Mat |
_createAtlas(std::vector< stbrp_rect > const & rects, std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures, cv::Size atlasSize, int const packingInterpolationMethod, std::array< int, 3 > bgColor) |
std::vector< stbrp_rect > |
_getRects(std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures, float scaleFactor, cv::Size atlasSize) |
static std::vector< cv::Rect2f > _getCropRects(
std::vector< stbrp_rect > const & rects,
std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures,
cv::Size atlasSize
)
static cv::Mat _createAtlas(
std::vector< stbrp_rect > const & rects,
std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures,
cv::Size atlasSize,
int const packingInterpolationMethod,
std::array< int, 3 > bgColor
)
static std::vector< stbrp_rect > _getRects(
std::vector< std::pair< cbuffer, cv::Rect2f > > const & textures,
float scaleFactor,
cv::Size atlasSize
)
#define STB_RECT_PACK_IMPLEMENTATION
Updated on 2025-07-30 at 23:20:31 +0000