Blender
V3.3
|
#include <BKE_subdiv_ccg.h>
Public Attributes | |
struct Subdiv * | subdiv |
int | level |
int | grid_size |
int | grid_element_size |
struct CCGElem ** | grids |
unsigned char * | grids_storage |
int | num_grids |
struct CCGElem ** | edges |
int | num_edges |
struct CCGElem * | vertices |
int | num_vertices |
bool | has_normal |
bool | has_mask |
int | normal_offset |
int | mask_offset |
int | num_faces |
SubdivCCGFace * | faces |
SubdivCCGFace ** | grid_faces |
int | num_adjacent_edges |
SubdivCCGAdjacentEdge * | adjacent_edges |
int | num_adjacent_vertices |
SubdivCCGAdjacentVertex * | adjacent_vertices |
struct DMFlagMat * | grid_flag_mats |
BLI_bitmap ** | grid_hidden |
struct { | |
bool coords | |
bool hidden | |
} | dirty |
struct { | |
int * start_face_grid_index | |
} | cache_ |
Definition at line 117 of file BKE_subdiv_ccg.h.
SubdivCCGAdjacentEdge* SubdivCCG::adjacent_edges |
Definition at line 172 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), neighbor_coords_corner_vertex_get(), neighbor_coords_edge_get(), subdiv_ccg_affected_face_adjacency(), subdiv_ccg_allocate_adjacent_edges(), subdiv_ccg_average_faces_boundaries_and_corners(), subdiv_ccg_average_grids_boundaries_task(), and subdiv_ccg_init_faces_edge_neighborhood().
SubdivCCGAdjacentVertex* SubdivCCG::adjacent_vertices |
Definition at line 178 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), neighbor_coords_corner_vertex_get(), subdiv_ccg_affected_face_adjacency(), subdiv_ccg_allocate_adjacent_vertices(), subdiv_ccg_average_faces_boundaries_and_corners(), subdiv_ccg_average_grids_corners_task(), and subdiv_ccg_init_faces_vertex_neighborhood().
struct { ... } SubdivCCG::cache_ |
bool SubdivCCG::coords |
Definition at line 196 of file BKE_subdiv_ccg.h.
Referenced by multires_ccg_mark_as_modified(), multires_flush_sculpt_updates(), and object_update_from_subsurf_ccg().
struct { ... } SubdivCCG::dirty |
struct CCGElem** SubdivCCG::edges |
Definition at line 144 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy().
SubdivCCGFace* SubdivCCG::faces |
Definition at line 164 of file BKE_subdiv_ccg.h.
Referenced by adjacent_edge_index_from_coord(), adjacent_vertex_index_from_coord(), BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_grid_to_face_index(), subdiv_ccg_affected_face_adjacency(), subdiv_ccg_alloc_elements(), subdiv_ccg_average_inner_grids_task(), subdiv_ccg_coord_to_ptex_coord(), subdiv_ccg_eval_grids_task(), subdiv_ccg_eval_regular_grid(), subdiv_ccg_eval_special_grid(), subdiv_ccg_init_faces(), subdiv_ccg_init_faces_edge_neighborhood(), and subdiv_ccg_init_faces_vertex_neighborhood().
int SubdivCCG::grid_element_size |
Definition at line 131 of file BKE_subdiv_ccg.h.
Referenced by subdiv_ccg_alloc_elements().
SubdivCCGFace** SubdivCCG::grid_faces |
Definition at line 166 of file BKE_subdiv_ccg.h.
Referenced by adjacent_edge_index_from_coord(), adjacent_vertex_index_from_coord(), BKE_sculpt_bvh_update_from_ccg(), BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_grid_to_face_index(), build_pbvh_from_ccg(), neighbor_coords_corner_center_get(), next_grid_index_from_coord(), prev_grid_index_from_coord(), subdiv_ccg_alloc_elements(), subdiv_ccg_eval_regular_grid(), and subdiv_ccg_eval_special_grid().
struct DMFlagMat* SubdivCCG::grid_flag_mats |
Definition at line 180 of file BKE_subdiv_ccg.h.
Referenced by BKE_sculpt_bvh_update_from_ccg(), BKE_subdiv_ccg_destroy(), build_pbvh_from_ccg(), subdiv_ccg_alloc_elements(), subdiv_ccg_eval_regular_grid(), and subdiv_ccg_eval_special_grid().
BLI_bitmap** SubdivCCG::grid_hidden |
Definition at line 181 of file BKE_subdiv_ccg.h.
Referenced by BKE_sculpt_bvh_update_from_ccg(), BKE_sculpt_sync_face_sets_visibility_to_grids(), BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_grid_hidden_ensure(), build_pbvh_from_ccg(), sculpt_undo_restore_hidden(), and subdiv_ccg_alloc_elements().
int SubdivCCG::grid_size |
Definition at line 128 of file BKE_subdiv_ccg.h.
Referenced by adjacent_edge_index_from_coord(), adjacent_edge_point_index_from_coord(), adjacent_grid_corner_point_index_on_edge(), adjacet_vertices_index_from_adjacent_edge(), BKE_subdiv_ccg_check_coord_valid(), BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), BKE_subdiv_ccg_neighbor_coords_get(), BKE_subdiv_ccg_topology_counters(), BKE_subdiv_to_ccg(), coord_at_next_col(), coord_at_next_row(), coord_step_inside_from_boundary(), is_boundary_grid_coord(), is_corner_grid_coord(), is_inner_edge_grid_coordinate(), neighbor_coords_corner_get(), neighbor_coords_corner_vertex_get(), next_adjacent_edge_point_index(), prev_adjacent_edge_point_index(), sculpt_undo_restore_coords(), sculpt_undo_restore_list(), sculpt_undo_restore_mask(), subdiv_ccg_adjacent_edge_add_face(), subdiv_ccg_average_grids_boundary(), subdiv_ccg_average_inner_face_grids(), subdiv_ccg_average_inner_face_normals(), subdiv_ccg_coord_to_ptex_coord(), subdiv_ccg_eval_regular_grid(), subdiv_ccg_eval_special_grid(), subdiv_ccg_init_faces_edge_neighborhood(), subdiv_ccg_init_faces_vertex_neighborhood(), and subdiv_ccg_recalc_inner_face_normals().
struct CCGElem** SubdivCCG::grids |
Definition at line 138 of file BKE_subdiv_ccg.h.
Referenced by BKE_sculpt_bvh_update_from_ccg(), BKE_subdiv_ccg_destroy(), build_pbvh_from_ccg(), multires_reshape_assign_final_coords_from_ccg(), sculpt_undo_restore_coords(), sculpt_undo_restore_mask(), subdiv_ccg_alloc_elements(), subdiv_ccg_average_inner_face_grids(), subdiv_ccg_average_inner_face_normals(), subdiv_ccg_coord_to_elem(), subdiv_ccg_eval_regular_grid(), subdiv_ccg_eval_special_grid(), and subdiv_ccg_recalc_inner_face_normals().
unsigned char* SubdivCCG::grids_storage |
Definition at line 140 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), and subdiv_ccg_alloc_elements().
bool SubdivCCG::has_mask |
Definition at line 157 of file BKE_subdiv_ccg.h.
Referenced by average_grid_element(), BKE_subdiv_ccg_key(), element_accumulator_add(), element_accumulator_copy(), num_element_float_get(), subdiv_ccg_eval_grid_element_mask(), and subdiv_ccg_init_layers().
bool SubdivCCG::has_normal |
Definition at line 156 of file BKE_subdiv_ccg.h.
Referenced by average_grid_element(), BKE_subdiv_ccg_key(), BKE_subdiv_ccg_recalc_normals(), BKE_subdiv_ccg_update_normals(), element_accumulator_add(), element_accumulator_copy(), num_element_float_get(), subdiv_ccg_eval_grid_element_limit(), and subdiv_ccg_init_layers().
bool SubdivCCG::hidden |
Definition at line 198 of file BKE_subdiv_ccg.h.
Referenced by multires_ccg_mark_as_modified(), multires_flush_sculpt_updates(), and object_update_from_subsurf_ccg().
int SubdivCCG::level |
Definition at line 125 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_key_top_level(), BKE_subdiv_to_ccg(), multires_reshape_context_create_from_ccg(), and subdiv_ccg_alloc_elements().
int SubdivCCG::mask_offset |
Definition at line 160 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_key(), subdiv_ccg_eval_grid_element_mask(), and subdiv_ccg_init_layers().
int SubdivCCG::normal_offset |
Definition at line 159 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_key(), subdiv_ccg_eval_grid_element_limit(), and subdiv_ccg_init_layers().
int SubdivCCG::num_adjacent_edges |
Definition at line 171 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), subdiv_ccg_allocate_adjacent_edges(), and subdiv_ccg_average_all_boundaries().
int SubdivCCG::num_adjacent_vertices |
Definition at line 177 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), subdiv_ccg_allocate_adjacent_vertices(), and subdiv_ccg_average_all_corners().
int SubdivCCG::num_edges |
Definition at line 145 of file BKE_subdiv_ccg.h.
int SubdivCCG::num_faces |
Definition at line 163 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_average_grids(), subdiv_ccg_alloc_elements(), subdiv_ccg_init_faces(), subdiv_ccg_init_faces_edge_neighborhood(), and subdiv_ccg_init_faces_vertex_neighborhood().
int SubdivCCG::num_grids |
Definition at line 141 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_check_coord_valid(), BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_neighbor_coords_get(), BKE_subdiv_ccg_topology_counters(), build_pbvh_from_ccg(), multires_reshape_assign_final_coords_from_ccg(), sculpt_undo_restore_list(), subdiv_ccg_alloc_elements(), and subdiv_ccg_recalc_inner_grid_normals().
int SubdivCCG::num_vertices |
Definition at line 150 of file BKE_subdiv_ccg.h.
int* SubdivCCG::start_face_grid_index |
Definition at line 204 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_start_face_grid_index_ensure(), and BKE_subdiv_ccg_start_face_grid_index_get().
struct Subdiv* SubdivCCG::subdiv |
Definition at line 122 of file BKE_subdiv_ccg.h.
Referenced by adjacent_edge_index_from_coord(), adjacent_edge_point_index_from_coord(), adjacent_vertex_index_from_coord(), BKE_subdiv_ccg_destroy(), BKE_subdiv_ccg_eval_limit_point(), BKE_subdiv_ccg_start_face_grid_index_ensure(), BKE_subdiv_to_ccg(), multires_reshape_context_create_from_ccg(), neighbor_coords_corner_vertex_get(), sculpt_undo_restore_list(), subdiv_ccg_affected_face_adjacency(), subdiv_ccg_coord_to_ptex_coord(), subdiv_ccg_init_faces(), subdiv_ccg_init_faces_edge_neighborhood(), and subdiv_ccg_init_faces_vertex_neighborhood().
struct CCGElem* SubdivCCG::vertices |
Definition at line 149 of file BKE_subdiv_ccg.h.
Referenced by BKE_subdiv_ccg_destroy().