Blender V4.3
reverse_uv_sampler.cc File Reference
#include <algorithm>
#include <fmt/format.h>
#include "GEO_reverse_uv_sampler.hh"
#include "BLI_bounds.hh"
#include "BLI_enumerable_thread_specific.hh"
#include "BLI_index_mask.hh"
#include "BLI_linear_allocator_chunked_list.hh"
#include "BLI_math_geom.h"
#include "BLI_math_vector.hh"
#include "BLI_offset_indices.hh"
#include "BLI_task.hh"
#include "BLI_timeit.hh"

Go to the source code of this file.

Classes

struct  blender::geometry::Row
 
struct  blender::geometry::ReverseUVSampler::LookupGrid
 
struct  blender::geometry::TriWithRange
 
struct  blender::geometry::LocalRowData
 
struct  blender::geometry::LocalData
 

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Functions

static int2 blender::geometry::uv_to_cell (const float2 &uv, const int resolution)
 
static Bounds< int2blender::geometry::tri_to_cell_bounds (const int3 &tri, const int resolution, const Span< float2 > uv_map)
 
static void blender::geometry::sort_tris_into_rows (const Span< float2 > uv_map, const Span< int3 > corner_tris, const int resolution, threading::EnumerableThreadSpecific< LocalData > &data_per_thread)
 
static void blender::geometry::finish_rows (const Span< int > all_ys, const Span< const LocalData * > local_data_vec, const Bounds< int > y_bounds, ReverseUVSampler::LookupGrid &lookup_grid)
 
static Span< intblender::geometry::lookup_tris_in_cell (const int2 cell, const ReverseUVSampler::LookupGrid &lookup_grid)