Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | CCGKey |
Typedefs | |
typedef struct CCGElem | CCGElem |
typedef struct CCGKey | CCGKey |
BLI_INLINE float* CCG_elem_co | ( | const CCGKey * | key, |
CCGElem * | elem | ||
) |
Referenced by average_grid_element(), CCG_elem_offset_co(), CCG_grid_elem_co(), ccgDM_getFinalVertCo(), ccgDM_to_MVert(), element_accumulator_add(), element_accumulator_copy(), GPU_pbvh_grid_buffers_update(), partialvis_update_grids(), SCULPT_vertex_co_get(), and subdiv_ccg_recalc_inner_face_normals().
BLI_INLINE float* CCG_elem_co | ( | const CCGKey * | UNUSEDkey, |
CCGElem * | elem | ||
) |
BLI_INLINE float * CCG_elem_mask | ( | const CCGKey * | key, |
CCGElem * | elem | ||
) |
Definition at line 97 of file BKE_ccg.h.
References BLI_assert, CCGKey::has_mask, and CCGKey::mask_offset.
Referenced by average_grid_element(), CCG_elem_offset_mask(), CCG_grid_elem_mask(), element_accumulator_add(), element_accumulator_copy(), GPU_pbvh_grid_buffers_update(), partialvis_update_grids(), and SCULPT_vertex_mask_get().
BLI_INLINE CCGElem * CCG_elem_next | ( | const CCGKey * | key, |
CCGElem * | elem | ||
) |
Definition at line 144 of file BKE_ccg.h.
References CCG_elem_offset().
BLI_INLINE float * CCG_elem_no | ( | const CCGKey * | key, |
CCGElem * | elem | ||
) |
Definition at line 91 of file BKE_ccg.h.
References BLI_assert, CCGKey::has_normals, and CCGKey::normal_offset.
Referenced by average_grid_element(), CCG_elem_offset_no(), CCG_grid_elem_no(), ccgDM_getFinalVertNo(), element_accumulator_add(), element_accumulator_copy(), GPU_pbvh_grid_buffers_update(), and SCULPT_vertex_normal_get().
BLI_INLINE CCGElem * CCG_elem_offset | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | offset | ||
) |
Definition at line 103 of file BKE_ccg.h.
References CCGKey::elem_size, and offset.
Referenced by CCG_elem_next(), CCG_elem_offset_co(), CCG_elem_offset_mask(), CCG_elem_offset_no(), CCG_grid_elem(), SCULPT_vertex_co_get(), SCULPT_vertex_mask_get(), and SCULPT_vertex_normal_get().
BLI_INLINE float * CCG_elem_offset_co | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | offset | ||
) |
Definition at line 129 of file BKE_ccg.h.
References CCG_elem_co(), CCG_elem_offset(), and offset.
Referenced by BKE_pbvh_build_grids(), ccgDM_getMinMax(), multires_copy_dm_grid(), multires_modifier_update_mdisps(), and sculpt_undo_restore_coords().
BLI_INLINE float * CCG_elem_offset_mask | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | offset | ||
) |
Definition at line 139 of file BKE_ccg.h.
References CCG_elem_mask(), CCG_elem_offset(), and offset.
Referenced by sculpt_undo_restore_mask().
BLI_INLINE float * CCG_elem_offset_no | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | offset | ||
) |
Definition at line 134 of file BKE_ccg.h.
References CCG_elem_no(), CCG_elem_offset(), and offset.
BLI_INLINE CCGElem * CCG_grid_elem | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | x, | ||
int | y | ||
) |
Definition at line 108 of file BKE_ccg.h.
References CCG_elem_offset(), CCGKey::grid_size, x, and y.
Referenced by CCG_grid_elem_co(), CCG_grid_elem_mask(), CCG_grid_elem_no(), GPU_pbvh_grid_buffers_update(), partialvis_update_grids(), subdiv_ccg_average_inner_face_grids(), subdiv_ccg_coord_to_elem(), and subdiv_ccg_recalc_inner_face_normals().
BLI_INLINE float * CCG_grid_elem_co | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | x, | ||
int | y | ||
) |
Definition at line 114 of file BKE_ccg.h.
References CCG_elem_co(), CCG_grid_elem(), x, and y.
Referenced by ccgDM_getMinMax(), grid_tangent(), interp_bilinear_grid(), multires_disp_run_cb(), multires_reshape_assign_final_coords_from_ccg(), pbvh_grids_node_nearest_to_ray(), and pbvh_grids_node_raycast().
BLI_INLINE float * CCG_grid_elem_mask | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | x, | ||
int | y | ||
) |
Definition at line 124 of file BKE_ccg.h.
References CCG_elem_mask(), CCG_grid_elem(), x, and y.
Referenced by multires_disp_run_cb(), and multires_reshape_assign_final_coords_from_ccg().
BLI_INLINE float * CCG_grid_elem_no | ( | const CCGKey * | key, |
CCGElem * | elem, | ||
int | x, | ||
int | y | ||
) |
Definition at line 119 of file BKE_ccg.h.
References CCG_elem_no(), CCG_grid_elem(), x, and y.
Referenced by grid_tangent_matrix(), interp_bilinear_grid(), and subdiv_ccg_average_inner_face_normals().
void CCG_key | ( | CCGKey * | key, |
const struct CCGSubSurf * | ss, | ||
int | level | ||
) |
void CCG_key_top_level | ( | CCGKey * | key, |
const struct CCGSubSurf * | ss | ||
) |
Referenced by ccgDM_copyFinalVertArray(), ccgDM_getFinalVertCo(), ccgDM_getFinalVertNo(), ccgDM_getGridKey(), and ccgDM_getMinMax().