Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_pbvh.h
| Show First 20 Lines • Show All 421 Lines • ▼ Show 20 Lines | |||||
| void BKE_pbvh_node_fully_hidden_set(PBVHNode *node, int fully_hidden); | void BKE_pbvh_node_fully_hidden_set(PBVHNode *node, int fully_hidden); | ||||
| bool BKE_pbvh_node_fully_hidden_get(PBVHNode *node); | bool BKE_pbvh_node_fully_hidden_get(PBVHNode *node); | ||||
| void BKE_pbvh_node_fully_masked_set(PBVHNode *node, int fully_masked); | void BKE_pbvh_node_fully_masked_set(PBVHNode *node, int fully_masked); | ||||
| bool BKE_pbvh_node_fully_masked_get(PBVHNode *node); | bool BKE_pbvh_node_fully_masked_get(PBVHNode *node); | ||||
| void BKE_pbvh_node_fully_unmasked_set(PBVHNode *node, int fully_masked); | void BKE_pbvh_node_fully_unmasked_set(PBVHNode *node, int fully_masked); | ||||
| bool BKE_pbvh_node_fully_unmasked_get(PBVHNode *node); | bool BKE_pbvh_node_fully_unmasked_get(PBVHNode *node); | ||||
| void BKE_pbvh_mark_rebuild_pixels(PBVH *pbvh); | void BKE_pbvh_mark_rebuild_pixels(PBVH *pbvh); | ||||
| void BKE_pbvh_vert_mark_update(PBVH *pbvh, PBVHVertRef vertex); | void BKE_pbvh_vert_tag_update_normal(PBVH *pbvh, PBVHVertRef index); | ||||
| void BKE_pbvh_node_get_grids(PBVH *pbvh, | void BKE_pbvh_node_get_grids(PBVH *pbvh, | ||||
| PBVHNode *node, | PBVHNode *node, | ||||
| int **grid_indices, | int **grid_indices, | ||||
| int *totgrid, | int *totgrid, | ||||
| int *maxgrid, | int *maxgrid, | ||||
| int *gridsize, | int *gridsize, | ||||
| struct CCGElem ***r_griddata); | struct CCGElem ***r_griddata); | ||||
| ▲ Show 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | void BKE_pbvh_node_get_bm_orco_data(PBVHNode *node, | ||||
| int *r_orco_tris_num, | int *r_orco_tris_num, | ||||
| float (**r_orco_coords)[3]); | float (**r_orco_coords)[3]); | ||||
| /** | /** | ||||
| * \note doing a full search on all vertices here seems expensive, | * \note doing a full search on all vertices here seems expensive, | ||||
| * however this is important to avoid having to recalculate bound-box & sync the buffers to the | * however this is important to avoid having to recalculate bound-box & sync the buffers to the | ||||
| * GPU (which is far more expensive!) See: T47232. | * GPU (which is far more expensive!) See: T47232. | ||||
| */ | */ | ||||
| bool BKE_pbvh_node_vert_update_check_any(PBVH *pbvh, PBVHNode *node); | bool BKE_pbvh_node_has_vert_with_normal_update_tag(PBVH *pbvh, PBVHNode *node); | ||||
| // void BKE_pbvh_node_BB_reset(PBVHNode *node); | // void BKE_pbvh_node_BB_reset(PBVHNode *node); | ||||
| // void BKE_pbvh_node_BB_expand(PBVHNode *node, float co[3]); | // void BKE_pbvh_node_BB_expand(PBVHNode *node, float co[3]); | ||||
| bool pbvh_has_mask(const PBVH *pbvh); | bool pbvh_has_mask(const PBVH *pbvh); | ||||
| void pbvh_show_mask_set(PBVH *pbvh, bool show_mask); | void pbvh_show_mask_set(PBVH *pbvh, bool show_mask); | ||||
| bool pbvh_has_face_sets(PBVH *pbvh); | bool pbvh_has_face_sets(PBVH *pbvh); | ||||
| ▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines | |||||