|
Blender V5.0
|
#include <BKE_subdiv_ccg.hh>
Public Member Functions | |
| int | to_index (const CCGKey &key) const |
Static Public Member Functions | |
| static SubdivCCGCoord | from_index (const CCGKey &key, int index) |
Public Attributes | |
| int | grid_index |
| short | x |
| short | y |
Definition at line 69 of file BKE_subdiv_ccg.hh.
|
inlinestatic |
Returns the coordinate for the index in an array sized to contain all grid vertices (including duplicates).
Definition at line 80 of file BKE_subdiv_ccg.hh.
References CCGKey::grid_area, grid_index, CCGKey::grid_size, x, and y.
Referenced by blender::ed::sculpt_paint::flood_fill::FillDataGrids::add_initial(), blender::ed::sculpt_paint::expand::boundary_from_enabled(), blender::ed::sculpt_paint::auto_mask::calc_blurred_cavity_grids(), blender::ed::sculpt_paint::auto_mask::calc_cavity_factor_grids(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::boundary::data_init(), blender::ed::sculpt_paint::boundary::edit_data_init_grids(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_grids(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), blender::ed::sculpt_paint::auto_mask::init_boundary_masking_grids(), blender::ed::sculpt_paint::expand::init_from_face_set_boundary(), blender::ed::sculpt_paint::boundary::preview_data_init(), blender::ed::sculpt_paint::expand::sculpt_expand_invoke(), and blender::bke::tests::TEST().
|
inline |
Returns the index for the coordinate in an array sized to contain all grid vertices (including duplicates).
Definition at line 97 of file BKE_subdiv_ccg.hh.
References CCG_grid_xy_to_index(), CCGKey::grid_area, and CCGKey::grid_size.
Referenced by blender::ed::sculpt_paint::smooth::average_data_grids(), blender::ed::sculpt_paint::expand::boundary_from_enabled(), blender::ed::sculpt_paint::auto_mask::calc_blurred_cavity_grids(), blender::ed::sculpt_paint::pose::calc_pose_origin_and_factor_grids(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts(), blender::ed::sculpt_paint::cloth::calc_vert_neighbor_indices_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::boundary::data_init_grids(), blender::ed::sculpt_paint::boundary::edit_data_init_grids(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_grids(), blender::ed::sculpt_paint::boundary::get_closest_boundary_vert_grids(), blender::ed::sculpt_paint::pose::grow_factors_grids(), blender::ed::sculpt_paint::mask::grow_mask_grids(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_grids(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_grids(), blender::ed::sculpt_paint::boundary::indices_init_grids(), blender::ed::sculpt_paint::auto_mask::init_boundary_masking_grids(), blender::ed::sculpt_paint::boundary::is_vert_in_editable_boundary_grids(), blender::ed::sculpt_paint::expand::normals_falloff_create(), blender::ed::sculpt_paint::sculpt_raycast_cb(), blender::ed::sculpt_paint::mask::shrink_mask_grids(), and blender::bke::tests::TEST().
| int SubdivCCGCoord::grid_index |
Index of the grid within SubdivCCG::grids array.
Definition at line 71 of file BKE_subdiv_ccg.hh.
Referenced by adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), BKE_subdiv_ccg_check_coord_valid(), BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), BKE_subdiv_ccg_eval_limit_positions(), BKE_subdiv_ccg_neighbor_coords_get(), BKE_subdiv_ccg_print_coord(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_grids(), from_index(), blender::ed::sculpt_paint::hide::grow_shrink_visibility_grid(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_grids(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_grids(), blender::ed::sculpt_paint::expand::init_from_face_set_boundary(), blender::ed::sculpt_paint::boundary::is_vert_in_editable_boundary_grids(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), and blender::ed::sculpt_paint::hide::vert_all_faces_visible_get().
| short SubdivCCGCoord::x |
Coordinate within the grid.
Definition at line 74 of file BKE_subdiv_ccg.hh.
Referenced by adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), BKE_subdiv_ccg_check_coord_valid(), BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), BKE_subdiv_ccg_eval_limit_positions(), BKE_subdiv_ccg_neighbor_coords_get(), BKE_subdiv_ccg_print_coord(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), coord_at_next_col(), coord_at_prev_col(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_grids(), from_index(), blender::ed::sculpt_paint::hide::grow_shrink_visibility_grid(), is_boundary_grid_coord(), is_corner_grid_coord(), is_inner_edge_grid_coordinate(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST(), and blender::bke::tests::TEST().
| short SubdivCCGCoord::y |
Definition at line 74 of file BKE_subdiv_ccg.hh.
Referenced by adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), BKE_subdiv_ccg_check_coord_valid(), BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), BKE_subdiv_ccg_eval_limit_positions(), BKE_subdiv_ccg_neighbor_coords_get(), BKE_subdiv_ccg_print_coord(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::calc_vert_neighbors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), coord_at_next_row(), coord_at_prev_row(), blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute(), blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_grids(), from_index(), blender::ed::sculpt_paint::hide::grow_shrink_visibility_grid(), is_boundary_grid_coord(), is_corner_grid_coord(), is_inner_edge_grid_coordinate(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST(), and blender::bke::tests::TEST().