|
Blender V5.3
|
#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 73 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 84 of file BKE_subdiv_ccg.hh.
References blender::CCGKey::grid_area, grid_index, blender::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::expand::enabled_state_to_bitmap(), 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_F().
|
inline |
Returns the index for the coordinate in an array sized to contain all grid vertices (including duplicates).
Definition at line 101 of file BKE_subdiv_ccg.hh.
References blender::CCG_grid_xy_to_index(), blender::CCGKey::grid_area, and blender::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_F().
| int blender::SubdivCCGCoord::grid_index |
Index of the grid within SubdivCCG::grids array.
Definition at line 75 of file BKE_subdiv_ccg.hh.
Referenced by blender::adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), blender::BKE_subdiv_ccg_check_coord_valid(), blender::BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), blender::BKE_subdiv_ccg_eval_limit_positions(), blender::BKE_subdiv_ccg_neighbor_coords_get(), blender::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::face_set::coord_has_any_face_set(), 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::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(), blender::subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST_F(), and blender::bke::tests::TEST_F().
| short blender::SubdivCCGCoord::x |
Coordinate within the grid.
Definition at line 78 of file BKE_subdiv_ccg.hh.
Referenced by blender::adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), blender::BKE_subdiv_ccg_check_coord_valid(), blender::BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), blender::BKE_subdiv_ccg_eval_limit_positions(), blender::BKE_subdiv_ccg_neighbor_coords_get(), blender::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::coord_at_next_col(), blender::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(), blender::is_boundary_grid_coord(), blender::is_corner_grid_coord(), blender::is_inner_edge_grid_coordinate(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), blender::subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST_F(), and blender::bke::tests::TEST_F().
| short blender::SubdivCCGCoord::y |
Definition at line 78 of file BKE_subdiv_ccg.hh.
Referenced by blender::adjacent_vertices_index_from_adjacent_edge(), blender::ed::sculpt_paint::smooth::average_data_grids(), blender::BKE_subdiv_ccg_check_coord_valid(), blender::BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(), blender::BKE_subdiv_ccg_eval_limit_positions(), blender::BKE_subdiv_ccg_neighbor_coords_get(), blender::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::coord_at_next_row(), blender::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(), blender::is_boundary_grid_coord(), blender::is_corner_grid_coord(), blender::is_inner_edge_grid_coordinate(), blender::ed::sculpt_paint::nearest_vert_calc_grids(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids_impl(), blender::subdiv_ccg_coord_to_ptex_coord(), blender::bke::tests::TEST_F(), and blender::bke::tests::TEST_F().