Blender  V3.3
Namespaces | Functions
pbvh.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLI_bitmap.h"
#include "BLI_ghash.h"
#include "BLI_index_range.hh"
#include "BLI_math.h"
#include "BLI_rand.h"
#include "BLI_span.hh"
#include "BLI_task.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_attribute.h"
#include "BKE_ccg.h"
#include "BKE_mesh.h"
#include "BKE_mesh_mapping.h"
#include "BKE_paint.h"
#include "BKE_pbvh.h"
#include "BKE_subdiv_ccg.h"
#include "PIL_time.h"
#include "GPU_buffers.h"
#include "bmesh.h"
#include "atomic_ops.h"
#include "pbvh_intern.h"
#include <climits>

Go to the source code of this file.

Namespaces

 blender
 
 blender::bke
 

Functions

template<typename Func >
void blender::bke::to_static_color_type (const eCustomDataType type, const Func &func)
 
template<typename T >
void blender::bke::to_float (const T &src, float dst[4])
 
template<>
void blender::bke::to_float (const MLoopCol &src, float dst[4])
 
template<>
void blender::bke::to_float (const MPropCol &src, float dst[4])
 
template<typename T >
void blender::bke::from_float (const float src[4], T &dst)
 
template<>
void blender::bke::from_float (const float src[4], MLoopCol &dst)
 
template<>
void blender::bke::from_float (const float src[4], MPropCol &dst)
 
template<typename T >
static void blender::bke::pbvh_vertex_color_get (const PBVH &pbvh, int vertex, float r_color[4])
 
template<typename T >
static void blender::bke::pbvh_vertex_color_set (PBVH &pbvh, int vertex, const float color[4])
 
void BKE_pbvh_vertex_color_get (const PBVH *pbvh, int vertex, float r_color[4])
 
void BKE_pbvh_vertex_color_set (PBVH *pbvh, int vertex, const float color[4])
 
void BKE_pbvh_swap_colors (PBVH *pbvh, const int *indices, const int indices_num, float(*r_colors)[4])
 
void BKE_pbvh_store_colors (PBVH *pbvh, const int *indices, const int indices_num, float(*r_colors)[4])
 
void BKE_pbvh_store_colors_vertex (PBVH *pbvh, const int *indices, const int indices_num, float(*r_colors)[4])
 

Function Documentation

◆ BKE_pbvh_store_colors()

void BKE_pbvh_store_colors ( PBVH pbvh,
const int *  indices,
const int  indices_num,
float(*)  r_colors[4] 
)

◆ BKE_pbvh_store_colors_vertex()

void BKE_pbvh_store_colors_vertex ( PBVH pbvh,
const int *  indices,
const int  indices_num,
float(*)  r_colors[4] 
)

◆ BKE_pbvh_swap_colors()

void BKE_pbvh_swap_colors ( PBVH pbvh,
const int *  indices,
const int  indices_num,
float(*)  r_colors[4] 
)

◆ BKE_pbvh_vertex_color_get()

void BKE_pbvh_vertex_color_get ( const PBVH pbvh,
int  vertex,
float  r_color[4] 
)

◆ BKE_pbvh_vertex_color_set()

void BKE_pbvh_vertex_color_set ( PBVH pbvh,
int  vertex,
const float  color[4] 
)