Blender
V3.3
|
#include <pbvh_intern.h>
Public Attributes | |
PBVHType | type |
PBVHFlags | flags |
PBVHNode * | nodes |
int | node_mem_count |
int | totnode |
int * | prim_indices |
int | totprim |
int | totvert |
int | leaf_limit |
const struct Mesh * | mesh |
float(* | vert_normals )[3] |
struct MVert * | verts |
const struct MPoly * | mpoly |
const struct MLoop * | mloop |
const struct MLoopTri * | looptri |
CustomData * | vdata |
CustomData * | ldata |
CustomData * | pdata |
int | face_sets_color_seed |
int | face_sets_color_default |
int * | face_sets |
CCGKey | gridkey |
CCGElem ** | grids |
void ** | gridfaces |
const DMFlagMat * | grid_flag_mats |
int | totgrid |
BLI_bitmap ** | grid_hidden |
bool * | vert_bitmap |
bool | deformed |
bool | show_mask |
bool | show_face_sets |
bool | respect_hide |
BMesh * | bm |
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 BMLog * | bm_log |
struct SubdivCCG * | subdiv_ccg |
const struct MeshElemMap * | pmap |
CustomDataLayer * | color_layer |
eAttrDomain | color_domain |
bool | is_drawing |
bool | draw_cache_invalid |
struct PBVHGPUFormat * | vbo_id |
Definition at line 132 of file pbvh_intern.h.
BMesh* PBVH::bm |
Definition at line 186 of file pbvh_intern.h.
Referenced by BKE_pbvh_bmesh_update_topology(), BKE_pbvh_build_bmesh(), BKE_pbvh_get_bmesh(), BKE_pbvh_has_faces(), BKE_pbvh_node_raycast(), pbvh_bmesh_collapse_edge(), pbvh_bmesh_face_create(), pbvh_bmesh_node_limit_ensure(), pbvh_bmesh_split_edge(), pbvh_bmesh_vert_create(), pbvh_check_draw_layout(), pbvh_has_mask(), pbvh_update_draw_buffer_cb(), pbvh_update_draw_buffers(), and pbvh_vertex_iter_init().
struct BMLog* PBVH::bm_log |
Definition at line 195 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_bmesh(), pbvh_bmesh_collapse_edge(), pbvh_bmesh_face_create(), pbvh_bmesh_face_remove(), and pbvh_bmesh_vert_create().
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().
float PBVH::bm_min_edge_len |
Definition at line 188 of file pbvh_intern.h.
Referenced by BKE_pbvh_bmesh_detail_size_set(), pbvh_bmesh_collapse_short_edges(), and short_edge_queue_create().
int PBVH::cd_face_node_offset |
Definition at line 190 of file pbvh_intern.h.
Referenced by BKE_pbvh_bmesh_update_topology(), BKE_pbvh_build_bmesh(), pbvh_bmesh_create_nodes_fast_recursive(), pbvh_bmesh_face_create(), pbvh_bmesh_face_remove(), pbvh_bmesh_node_index_from_face(), and pbvh_bmesh_node_split().
int PBVH::cd_vert_node_offset |
Definition at line 189 of file pbvh_intern.h.
Referenced by BKE_pbvh_bmesh_update_topology(), BKE_pbvh_build_bmesh(), pbvh_bmesh_create_nodes_fast_recursive(), pbvh_bmesh_node_index_from_vert(), pbvh_bmesh_node_split(), pbvh_bmesh_vert_create(), pbvh_bmesh_vert_ownership_transfer(), and pbvh_bmesh_vert_remove().
eAttrDomain PBVH::color_domain |
Definition at line 201 of file pbvh_intern.h.
Referenced by BKE_pbvh_store_colors_vertex(), BKE_pbvh_update_active_vcol(), blender::bke::pbvh_vertex_color_get(), and blender::bke::pbvh_vertex_color_set().
CustomDataLayer* PBVH::color_layer |
Definition at line 200 of file pbvh_intern.h.
Referenced by BKE_pbvh_store_colors(), BKE_pbvh_store_colors_vertex(), BKE_pbvh_swap_colors(), BKE_pbvh_update_active_vcol(), BKE_pbvh_vertex_color_get(), BKE_pbvh_vertex_color_set(), blender::bke::pbvh_vertex_color_get(), and blender::bke::pbvh_vertex_color_set().
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().
bool PBVH::draw_cache_invalid |
Definition at line 206 of file pbvh_intern.h.
Referenced by BKE_pbvh_draw_cache_invalid(), BKE_pbvh_draw_cb(), BKE_pbvh_new(), pbvh_bmesh_node_limit_ensure(), and pbvh_free_draw_buffers().
int* PBVH::face_sets |
Definition at line 161 of file pbvh_intern.h.
Referenced by BKE_pbvh_face_sets_set(), BKE_pbvh_sync_face_sets_to_grids(), and pbvh_update_draw_buffer_cb().
int PBVH::face_sets_color_default |
Definition at line 160 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_face_sets_color_set(), and pbvh_update_draw_buffer_cb().
int PBVH::face_sets_color_seed |
Definition at line 159 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_face_sets_color_set(), and pbvh_update_draw_buffer_cb().
PBVHFlags PBVH::flags |
Definition at line 134 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_bmesh(), and pbvh_update_draw_buffer_cb().
const DMFlagMat* PBVH::grid_flag_mats |
Definition at line 167 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_grids_update(), leaf_needs_material_split(), partition_indices_material(), pbvh_update_draw_buffer_cb(), and pbvh_update_draw_buffers().
BLI_bitmap** PBVH::grid_hidden |
Definition at line 169 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_get_grid_visibility(), BKE_pbvh_grid_hidden(), BKE_pbvh_grids_update(), BKE_pbvh_sync_face_sets_to_grids(), build_grid_leaf_node(), pbvh_grids_node_nearest_to_ray(), pbvh_grids_node_raycast(), pbvh_update_draw_buffer_cb(), and pbvh_vertex_iter_init().
void** PBVH::gridfaces |
Definition at line 166 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_get_grid_updates(), and BKE_pbvh_grids_update().
CCGKey PBVH::gridkey |
Definition at line 164 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_get_grid_key(), BKE_pbvh_get_grid_num_faces(), BKE_pbvh_get_grid_num_vertices(), BKE_pbvh_node_get_grids(), BKE_pbvh_node_num_verts(), BKE_pbvh_sync_face_sets_to_grids(), build_grid_leaf_node(), pbvh_grids_node_nearest_to_ray(), pbvh_grids_node_raycast(), pbvh_has_mask(), pbvh_update_draw_buffer_cb(), and pbvh_vertex_iter_init().
CCGElem** PBVH::grids |
Definition at line 165 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_get_grids(), BKE_pbvh_grids_update(), BKE_pbvh_node_get_grids(), pbvh_grids_node_nearest_to_ray(), pbvh_grids_node_raycast(), and pbvh_update_draw_buffer_cb().
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().
CustomData* PBVH::ldata |
Definition at line 156 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), pbvh_check_draw_layout(), and pbvh_update_draw_buffer_cb().
int PBVH::leaf_limit |
Definition at line 144 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_bmesh(), BKE_pbvh_build_grids(), BKE_pbvh_build_mesh(), build_sub(), pbvh_bmesh_node_limit_ensure_fast(), and pbvh_bmesh_node_split().
const struct MLoopTri* PBVH::looptri |
Definition at line 154 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_ensure_node_loops(), BKE_pbvh_free(), BKE_pbvh_vert_coords_apply(), build_leaf(), build_mesh_leaf_node(), blender::bke::pbvh::pixels::do_encode_pixels(), blender::bke::pbvh::pixels::init_triangles(), leaf_needs_material_split(), partition_indices_material(), pbvh_faces_node_nearest_to_ray(), pbvh_faces_node_raycast(), pbvh_update_draw_buffer_cb(), and pbvh_update_normals_accum_task_cb().
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().
const struct MLoop* PBVH::mloop |
Definition at line 153 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_node_get_loops(), BKE_pbvh_vert_coords_apply(), build_mesh_leaf_node(), pbvh_faces_node_nearest_to_ray(), pbvh_faces_node_raycast(), pbvh_update_draw_buffer_cb(), pbvh_update_normals_accum_task_cb(), blender::bke::pbvh_vertex_color_get(), and blender::bke::pbvh_vertex_color_set().
const struct MPoly* PBVH::mpoly |
Definition at line 152 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), leaf_needs_material_split(), partition_indices_material(), pbvh_update_draw_buffer_cb(), pbvh_update_normals_accum_task_cb(), blender::bke::pbvh_vertex_color_get(), and blender::bke::pbvh_vertex_color_set().
int PBVH::node_mem_count |
Definition at line 137 of file pbvh_intern.h.
Referenced by pbvh_build(), and pbvh_grow_nodes().
PBVHNode* PBVH::nodes |
Definition at line 136 of file pbvh_intern.h.
Referenced by blender::bke::pbvh::pixels::apply_watertight_check(), BKE_pbvh_bmesh_after_stroke(), BKE_pbvh_bmesh_update_topology(), BKE_pbvh_bounding_box(), BKE_pbvh_build_bmesh(), BKE_pbvh_draw_debug_cb(), BKE_pbvh_ensure_node_loops(), BKE_pbvh_free(), BKE_pbvh_gather_proxies(), BKE_pbvh_grids_update(), BKE_pbvh_mark_rebuild_pixels(), BKE_pbvh_raycast_project_ray_root(), BKE_pbvh_update_bounds(), BKE_pbvh_update_vertex_data(), BKE_pbvh_update_visibility(), BKE_pbvh_vert_coords_apply(), build_leaf(), build_sub(), blender::bke::pbvh::pixels::count_nodes_to_update(), blender::bke::pbvh::pixels::find_nodes_to_update(), long_edge_queue_create(), mask_flood_fill_exec(), pbvh_bmesh_collapse_edge(), pbvh_bmesh_create_nodes_fast_recursive(), pbvh_bmesh_face_create(), pbvh_bmesh_node_finalize(), pbvh_bmesh_node_from_face(), pbvh_bmesh_node_from_vert(), pbvh_bmesh_node_limit_ensure(), pbvh_bmesh_node_split(), pbvh_bmesh_split_edge(), pbvh_bmesh_vert_create(), pbvh_bmesh_vert_ownership_transfer(), pbvh_bmesh_vert_remove(), pbvh_build(), pbvh_check_draw_layout(), pbvh_faces_update_normals(), pbvh_flush_bb(), pbvh_grow_nodes(), pbvh_iter_begin(), pbvh_iter_next(), pbvh_iter_next_occluded(), pbvh_update_BB_redraw(), pbvh_update_draw_buffers(), pbvh_update_mask_redraw(), pbvh_update_visibility(), pbvh_update_visibility_redraw(), short_edge_queue_create(), update_node_vb(), and blender::bke::pbvh::pixels::update_pixels().
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().
CustomData* PBVH::pdata |
Definition at line 157 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), pbvh_has_face_sets(), and pbvh_update_draw_buffer_cb().
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().
const struct MeshElemMap* PBVH::pmap |
Definition at line 198 of file pbvh_intern.h.
Referenced by BKE_pbvh_pmap_set(), blender::bke::pbvh_vertex_color_get(), and blender::bke::pbvh_vertex_color_set().
int* PBVH::prim_indices |
Definition at line 140 of file pbvh_intern.h.
Referenced by BKE_pbvh_free(), build_leaf(), build_sub(), leaf_needs_material_split(), partition_indices_material(), pbvh_build(), and update_vb().
bool PBVH::respect_hide |
Definition at line 183 of file pbvh_intern.h.
Referenced by BKE_pbvh_new(), BKE_pbvh_respect_hide_set(), build_mesh_leaf_node(), pbvh_faces_node_nearest_to_ray(), pbvh_faces_node_raycast(), and pbvh_vertex_iter_init().
bool PBVH::show_face_sets |
Definition at line 182 of file pbvh_intern.h.
Referenced by pbvh_show_face_sets_set().
bool PBVH::show_mask |
Definition at line 181 of file pbvh_intern.h.
Referenced by pbvh_show_mask_set().
struct SubdivCCG* PBVH::subdiv_ccg |
Definition at line 196 of file pbvh_intern.h.
Referenced by BKE_pbvh_subdiv_cgg_set(), BKE_pbvh_sync_face_sets_to_grids(), and pbvh_update_draw_buffer_cb().
int PBVH::totgrid |
Definition at line 168 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_grids(), BKE_pbvh_get_grid_num_faces(), BKE_pbvh_get_grid_num_vertices(), BKE_pbvh_node_get_grids(), and BKE_pbvh_sync_face_sets_to_grids().
int PBVH::totnode |
Definition at line 137 of file pbvh_intern.h.
Referenced by blender::bke::pbvh::pixels::apply_watertight_check(), BKE_pbvh_bmesh_after_stroke(), BKE_pbvh_bmesh_update_topology(), BKE_pbvh_bounding_box(), BKE_pbvh_build_bmesh(), BKE_pbvh_draw_debug_cb(), BKE_pbvh_ensure_node_loops(), BKE_pbvh_free(), BKE_pbvh_gather_proxies(), BKE_pbvh_grids_update(), BKE_pbvh_mark_rebuild_pixels(), BKE_pbvh_vert_coords_apply(), build_sub(), blender::bke::pbvh::pixels::count_nodes_to_update(), blender::bke::pbvh::pixels::find_nodes_to_update(), long_edge_queue_create(), pbvh_bmesh_create_nodes_fast_recursive(), pbvh_bmesh_node_split(), pbvh_bmesh_vert_create(), pbvh_build(), pbvh_check_draw_layout(), pbvh_grow_nodes(), short_edge_queue_create(), and blender::bke::pbvh::pixels::update_pixels().
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().
int PBVH::totvert |
Definition at line 142 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_vert_coords_alloc(), and BKE_pbvh_vert_coords_apply().
PBVHType PBVH::type |
Definition at line 133 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_bmesh(), BKE_pbvh_build_grids(), BKE_pbvh_build_mesh(), BKE_pbvh_get_bmesh(), BKE_pbvh_get_grid_key(), BKE_pbvh_get_grid_num_faces(), BKE_pbvh_get_grid_num_vertices(), BKE_pbvh_get_grid_visibility(), BKE_pbvh_get_grids(), BKE_pbvh_get_vert_normals(), BKE_pbvh_get_verts(), BKE_pbvh_grid_hidden(), BKE_pbvh_has_faces(), BKE_pbvh_node_find_nearest_to_ray(), BKE_pbvh_node_get_grids(), BKE_pbvh_node_has_vert_with_normal_update_tag(), BKE_pbvh_node_num_verts(), BKE_pbvh_node_raycast(), BKE_pbvh_type(), BKE_pbvh_update_normals(), BKE_pbvh_vert_tag_update_normal(), pbvh_check_draw_layout(), pbvh_has_face_sets(), pbvh_has_mask(), pbvh_update_draw_buffer_cb(), pbvh_update_draw_buffers(), and pbvh_vertex_iter_init().
struct PBVHGPUFormat* PBVH::vbo_id |
Definition at line 208 of file pbvh_intern.h.
Referenced by BKE_pbvh_free(), pbvh_check_draw_layout(), pbvh_update_draw_buffer_cb(), and pbvh_update_draw_buffers().
CustomData* PBVH::vdata |
Definition at line 155 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), pbvh_check_draw_layout(), pbvh_has_mask(), pbvh_update_draw_buffer_cb(), pbvh_update_draw_buffers(), and pbvh_vertex_iter_init().
bool* PBVH::vert_bitmap |
Definition at line 173 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_free(), BKE_pbvh_node_has_vert_with_normal_update_tag(), BKE_pbvh_vert_tag_update_normal(), map_insert_vert(), pbvh_update_normals_accum_task_cb(), pbvh_update_normals_clear_task_cb(), and pbvh_update_normals_store_task_cb().
float(* PBVH::vert_normals)[3] |
Definition at line 150 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_get_vert_normals(), pbvh_faces_update_normals(), pbvh_update_draw_buffer_cb(), and pbvh_vertex_iter_init().
struct MVert* PBVH::verts |
Definition at line 151 of file pbvh_intern.h.
Referenced by BKE_pbvh_build_mesh(), BKE_pbvh_free(), BKE_pbvh_get_verts(), BKE_pbvh_node_get_verts(), BKE_pbvh_vert_coords_alloc(), BKE_pbvh_vert_coords_apply(), build_mesh_leaf_node(), pbvh_faces_node_nearest_to_ray(), pbvh_faces_node_raycast(), pbvh_update_draw_buffer_cb(), and pbvh_update_normals_accum_task_cb().