Blender  V3.3
Public Attributes | List of all members
PBVH Struct Reference

#include <pbvh_intern.h>

Public Attributes

PBVHType type
 
PBVHFlags flags
 
PBVHNodenodes
 
int node_mem_count
 
int totnode
 
int * prim_indices
 
int totprim
 
int totvert
 
int leaf_limit
 
const struct Meshmesh
 
float(* vert_normals )[3]
 
struct MVertverts
 
const struct MPolympoly
 
const struct MLoopmloop
 
const struct MLoopTrilooptri
 
CustomDatavdata
 
CustomDataldata
 
CustomDatapdata
 
int face_sets_color_seed
 
int face_sets_color_default
 
int * face_sets
 
CCGKey gridkey
 
CCGElem ** grids
 
void ** gridfaces
 
const DMFlagMatgrid_flag_mats
 
int totgrid
 
BLI_bitmap ** grid_hidden
 
boolvert_bitmap
 
bool deformed
 
bool show_mask
 
bool show_face_sets
 
bool respect_hide
 
BMeshbm
 
float bm_max_edge_len
 
float bm_min_edge_len
 
int cd_vert_node_offset
 
int cd_face_node_offset
 
float planes [6][4]
 
int num_planes
 
struct BMLogbm_log
 
struct SubdivCCGsubdiv_ccg
 
const struct MeshElemMappmap
 
CustomDataLayercolor_layer
 
eAttrDomain color_domain
 
bool is_drawing
 
bool draw_cache_invalid
 
struct PBVHGPUFormatvbo_id
 

Detailed Description

Definition at line 132 of file pbvh_intern.h.

Member Data Documentation

◆ bm

BMesh* PBVH::bm

◆ bm_log

struct BMLog* PBVH::bm_log

◆ bm_max_edge_len

float PBVH::bm_max_edge_len

Definition at line 187 of file pbvh_intern.h.

Referenced by BKE_pbvh_bmesh_detail_size_set(), and long_edge_queue_create().

◆ bm_min_edge_len

float PBVH::bm_min_edge_len

◆ cd_face_node_offset

int PBVH::cd_face_node_offset

◆ cd_vert_node_offset

int PBVH::cd_vert_node_offset

◆ color_domain

eAttrDomain PBVH::color_domain

◆ color_layer

CustomDataLayer* PBVH::color_layer

◆ deformed

bool PBVH::deformed

Definition at line 180 of file pbvh_intern.h.

Referenced by BKE_pbvh_free(), BKE_pbvh_is_deformed(), and BKE_pbvh_vert_coords_apply().

◆ draw_cache_invalid

bool PBVH::draw_cache_invalid

◆ face_sets

int* PBVH::face_sets

◆ face_sets_color_default

int PBVH::face_sets_color_default

◆ face_sets_color_seed

int PBVH::face_sets_color_seed

◆ flags

PBVHFlags PBVH::flags

Definition at line 134 of file pbvh_intern.h.

Referenced by BKE_pbvh_build_bmesh(), and pbvh_update_draw_buffer_cb().

◆ grid_flag_mats

const DMFlagMat* PBVH::grid_flag_mats

◆ grid_hidden

BLI_bitmap** PBVH::grid_hidden

◆ gridfaces

void** PBVH::gridfaces

◆ gridkey

CCGKey PBVH::gridkey

◆ grids

CCGElem** PBVH::grids

◆ is_drawing

bool PBVH::is_drawing

Definition at line 203 of file pbvh_intern.h.

Referenced by BKE_pbvh_is_drawing(), and BKE_pbvh_is_drawing_set().

◆ ldata

CustomData* PBVH::ldata

◆ leaf_limit

int PBVH::leaf_limit

◆ looptri

const struct MLoopTri* PBVH::looptri

◆ mesh

const struct Mesh* PBVH::mesh

Definition at line 147 of file pbvh_intern.h.

Referenced by BKE_pbvh_build_mesh(), and pbvh_update_draw_buffer_cb().

◆ mloop

const struct MLoop* PBVH::mloop

◆ mpoly

const struct MPoly* PBVH::mpoly

◆ node_mem_count

int PBVH::node_mem_count

Definition at line 137 of file pbvh_intern.h.

Referenced by pbvh_build(), and pbvh_grow_nodes().

◆ nodes

PBVHNode* PBVH::nodes

◆ num_planes

int PBVH::num_planes

Definition at line 193 of file pbvh_intern.h.

Referenced by BKE_pbvh_get_frustum_planes(), and BKE_pbvh_set_frustum_planes().

◆ pdata

CustomData* PBVH::pdata

◆ planes

float PBVH::planes[6][4]

Definition at line 192 of file pbvh_intern.h.

Referenced by BKE_pbvh_get_frustum_planes(), and BKE_pbvh_set_frustum_planes().

◆ pmap

const struct MeshElemMap* PBVH::pmap

◆ prim_indices

int* PBVH::prim_indices

◆ respect_hide

bool PBVH::respect_hide

◆ show_face_sets

bool PBVH::show_face_sets

Definition at line 182 of file pbvh_intern.h.

Referenced by pbvh_show_face_sets_set().

◆ show_mask

bool PBVH::show_mask

Definition at line 181 of file pbvh_intern.h.

Referenced by pbvh_show_mask_set().

◆ subdiv_ccg

struct SubdivCCG* PBVH::subdiv_ccg

◆ totgrid

int PBVH::totgrid

◆ totnode

int PBVH::totnode

◆ totprim

int PBVH::totprim

Definition at line 141 of file pbvh_intern.h.

Referenced by BKE_pbvh_has_faces(), BKE_pbvh_vert_coords_apply(), and pbvh_build().

◆ totvert

int PBVH::totvert

◆ type

PBVHType PBVH::type

◆ vbo_id

struct PBVHGPUFormat* PBVH::vbo_id

◆ vdata

CustomData* PBVH::vdata

◆ vert_bitmap

bool* PBVH::vert_bitmap

◆ vert_normals

float(* PBVH::vert_normals)[3]

◆ verts

struct MVert* PBVH::verts

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