Blender
V3.3
|
#include <DNA_object_types.h>
Public Attributes | |
CustomData_MeshMasks | last_data_mask |
char | last_need_mapping |
char | collection_management |
char | _pad0 [2] |
float | parent_display_origin [3] |
int | select_id |
char | _pad1 [3] |
char | is_data_eval_owned |
double | overlay_mode_transfer_start_time |
struct BoundBox * | bb |
struct ID * | data_orig |
struct ID * | data_eval |
struct GeometrySet * | geometry_set_eval |
struct Mesh * | mesh_deform_eval |
struct Mesh * | editmesh_eval_cage |
struct BoundBox * | editmesh_bb_cage |
struct bGPdata * | gpd_orig |
struct bGPdata * | gpd_eval |
struct Mesh * | object_as_temp_mesh |
struct Curve * | object_as_temp_curve |
struct CurveCache * | curve_cache |
unsigned short | local_collections_bits |
short | _pad2 [3] |
float(* | crazyspace_deform_imats )[3][3] |
float(* | crazyspace_deform_cos )[3] |
int | crazyspace_verts_num |
int | _pad3 [3] |
Not saved in file!
Definition at line 104 of file DNA_object_types.h.
char Object_Runtime::_pad0[2] |
Definition at line 119 of file DNA_object_types.h.
char Object_Runtime::_pad1[3] |
Definition at line 129 of file DNA_object_types.h.
short Object_Runtime::_pad2[3] |
Definition at line 203 of file DNA_object_types.h.
int Object_Runtime::_pad3[3] |
Definition at line 209 of file DNA_object_types.h.
struct BoundBox* Object_Runtime::bb |
Axis aligned bound-box (in local-space).
Definition at line 141 of file DNA_object_types.h.
Referenced by BKE_armature_boundbox_get(), BKE_curve_boundbox_get(), BKE_curves_boundbox_get(), BKE_gpencil_boundbox_get(), BKE_lattice_boundbox_get(), BKE_mball_boundbox_get(), BKE_mball_make_orco(), BKE_mball_texspace_calc(), BKE_mesh_boundbox_get(), BKE_object_boundbox_calc_from_evaluated_geometry(), BKE_object_boundbox_calc_from_mesh(), BKE_object_free_derived_caches(), BKE_object_minmax_dupli(), BKE_object_replace_data_on_shallow_copy(), BKE_pointcloud_boundbox_get(), BKE_volume_boundbox_get(), boundbox_armature(), boundbox_gpencil(), boundbox_lattice(), duplidata_key_free(), blender::deg::ObjectRuntimeBackup::init_from_object(), object_copy_data(), object_free_data(), object_sync_boundbox_to_original(), SCULPT_update_object_bounding_box(), and view3d_orbit_calc_center().
char Object_Runtime::collection_management |
Opaque data reserved for management of objects in collection context. E.g. used currently to check for potential duplicates of objects in a collection, after remapping process.
Definition at line 117 of file DNA_object_types.h.
float(* Object_Runtime::crazyspace_deform_cos)[3] |
Definition at line 206 of file DNA_object_types.h.
Referenced by BKE_crazyspace_api_eval(), BKE_crazyspace_api_eval_clear(), and BKE_object_runtime_reset_on_copy().
float(* Object_Runtime::crazyspace_deform_imats)[3][3] |
Definition at line 205 of file DNA_object_types.h.
Referenced by BKE_crazyspace_api_displacement_to_deformed(), BKE_crazyspace_api_displacement_to_original(), BKE_crazyspace_api_eval(), BKE_crazyspace_api_eval_clear(), and BKE_object_runtime_reset_on_copy().
int Object_Runtime::crazyspace_verts_num |
Definition at line 207 of file DNA_object_types.h.
Referenced by BKE_crazyspace_api_displacement_to_deformed(), BKE_crazyspace_api_displacement_to_original(), and BKE_crazyspace_api_eval().
struct CurveCache* Object_Runtime::curve_cache |
Runtime evaluated curve-specific data, not stored in the file.
Definition at line 200 of file DNA_object_types.h.
Referenced by arrayModifier_doArray(), BKE_anim_path_calc_data(), BKE_curve_bevelList_make(), BKE_displist_make_curveTypes(), BKE_displist_make_mball(), BKE_lattice_deform_data_create(), BKE_lattice_minmax_dl(), BKE_lattice_modifiers_calc(), BKE_lattice_resize(), BKE_mball_boundbox_get(), BKE_mball_texspace_calc(), BKE_mesh_new_nomain_from_curve(), BKE_object_boundbox_calc_from_evaluated_geometry(), BKE_object_foreach_display_point(), BKE_object_free_curve_cache(), BKE_object_material_slot_remove(), BKE_object_runtime_reset_on_copy(), BKE_where_on_path(), calc_curve_deform(), contarget_get_lattice_mat(), curve_bevel_make_from_object(), curve_calc_modifiers_post(), displist_calc_taper(), DRW_curve_batch_cache_create_requested(), DRW_metaball_batch_cache_get_triangles_with_normals(), DRW_metaball_batch_cache_get_wireframes_face(), ED_object_parent_set(), evaluate_curve_type_object(), evaluate_surface_object(), followpath_get_tarmat(), give_parvert(), lattice_foreachScreenVert(), make_object_duplilist_real(), match_texture_space_exec(), mball_batch_cache_get_edges_adj_lines(), mball_batch_cache_get_pos_and_normals(), mesh_new_from_mball_object(), ob_parcurve(), object_convert_exec(), object_data_convert_ensure_curve_cache(), object_free_data(), position_tail_on_spline(), precalculate_effector(), pycon_get_tarmat(), splineik_evaluate_init(), stats_object(), and vfont_to_curve().
struct ID* Object_Runtime::data_eval |
Object data structure created during object evaluation. It has all modifiers applied. The type is determined by the type of the original object.
Definition at line 153 of file DNA_object_types.h.
Referenced by BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_replace_data_on_shallow_copy(), BKE_object_runtime_reset_on_copy(), BKE_pointcloud_to_mesh(), knifeproject_poly_from_object(), object_for_curve_to_mesh_free(), paintface_flush_flags(), and blender::deg::ObjectRuntimeBackup::restore_to_object().
struct ID* Object_Runtime::data_orig |
Original data pointer, before object->data was changed to point to data_eval. Is assigned by dependency graph's copy-on-write evaluation.
Definition at line 148 of file DNA_object_types.h.
Referenced by BKE_mesh_create_derived_for_modifier(), BKE_object_free_derived_caches(), BKE_object_get_pre_modified_mesh(), BKE_object_select_update(), crazyspace_init_object_for_eval(), blender::deg::ObjectRuntimeBackup::init_from_object(), mesh_new_from_mesh_object_with_layers(), object_update_from_subsurf_ccg(), paintface_flush_flags(), and blender::deg::ObjectRuntimeBackup::restore_to_object().
struct BoundBox* Object_Runtime::editmesh_bb_cage |
Cached cage bounding box of editmesh_eval_cage
for selection.
Definition at line 173 of file DNA_object_types.h.
Referenced by BKE_editmesh_cage_boundbox_get(), and BKE_object_free_derived_caches().
struct Mesh* Object_Runtime::editmesh_eval_cage |
Definition at line 170 of file DNA_object_types.h.
Referenced by BKE_editmesh_cage_boundbox_get(), BKE_object_free_derived_caches(), editbmesh_build_data(), and editbmesh_get_eval_cage().
struct GeometrySet* Object_Runtime::geometry_set_eval |
Objects can evaluate to a geometry set instead of a single ID. In those cases, the evaluated geometry set will be stored here. An ID of the correct type is still stored in data_eval. geometry_set_eval might reference the ID pointed to by data_eval as well, but does not own the data.
Definition at line 161 of file DNA_object_types.h.
Referenced by BKE_displist_make_curveTypes(), BKE_object_boundbox_calc_from_evaluated_geometry(), BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_has_geometry_set_instances(), BKE_object_minmax_dupli(), BKE_object_replace_data_on_shallow_copy(), BKE_object_runtime_reset_on_copy(), BKE_pointcloud_boundbox_get(), editbmesh_build_data(), get_dupli_generator(), blender::bke::crazyspace::get_evaluated_curves_deformation(), get_evaluated_curves_from_object(), make_duplis_geometry_set(), mesh_build_data(), object_convert_exec(), and blender::ed::spreadsheet::spreadsheet_get_display_geometry_set().
struct bGPdata* Object_Runtime::gpd_eval |
bGPdata structure created during object evaluation. It has all modifiers applied.
Definition at line 185 of file DNA_object_types.h.
Referenced by BKE_gpencil_prepare_eval_data(), BKE_object_free_derived_caches(), and BKE_object_runtime_reset_on_copy().
struct bGPdata* Object_Runtime::gpd_orig |
Original grease pencil bGPdata pointer, before object->data was changed to point to gpd_eval. Is assigned by dependency graph's copy-on-write evaluation.
Definition at line 180 of file DNA_object_types.h.
char Object_Runtime::is_data_eval_owned |
Denotes whether the evaluated data is owned by this object or is referenced and owned by somebody else.
Definition at line 135 of file DNA_object_types.h.
Referenced by BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_select_update(), and object_update_from_subsurf_ccg().
CustomData_MeshMasks Object_Runtime::last_data_mask |
The custom data layer mask that was last used to calculate data_eval and mesh_deform_eval.
Definition at line 109 of file DNA_object_types.h.
Referenced by BKE_object_data_transfer_ex(), editbmesh_build_data(), editbmesh_get_eval_cage(), mesh_build_data(), mesh_get_eval_deform(), and mesh_get_eval_final().
char Object_Runtime::last_need_mapping |
Did last modifier stack generation need mapping support?
Definition at line 112 of file DNA_object_types.h.
Referenced by mesh_build_data(), mesh_get_eval_deform(), and mesh_get_eval_final().
unsigned short Object_Runtime::local_collections_bits |
Definition at line 202 of file DNA_object_types.h.
Referenced by BKE_object_is_visible_in_viewport().
struct Mesh* Object_Runtime::mesh_deform_eval |
Mesh structure created during object evaluation. It has deformation only modifiers applied on it.
Definition at line 167 of file DNA_object_types.h.
Referenced by BKE_object_as_kdtree(), BKE_object_free_derived_caches(), BKE_object_runtime_reset_on_copy(), BKE_sculpt_object_pbvh_ensure(), mesh_build_data(), and mesh_get_eval_deform().
struct Curve* Object_Runtime::object_as_temp_curve |
This is a curve representation of corresponding object. It created when Python calls object.to_curve()
.
Definition at line 197 of file DNA_object_types.h.
Referenced by BKE_object_runtime_reset_on_copy(), and BKE_object_to_curve_clear().
struct Mesh* Object_Runtime::object_as_temp_mesh |
This is a mesh representation of corresponding object. It created when Python calls object.to_mesh()
.
Definition at line 191 of file DNA_object_types.h.
Referenced by BKE_object_runtime_reset_on_copy(), and BKE_object_to_mesh_clear().
double Object_Runtime::overlay_mode_transfer_start_time |
Start time of the mode transfer overlay animation.
Definition at line 138 of file DNA_object_types.h.
Referenced by object_overlay_mode_transfer_animation_start(), and OVERLAY_mode_transfer_cache_populate().
float Object_Runtime::parent_display_origin[3] |
Only used for drawing the parent/child help-line.
Definition at line 122 of file DNA_object_types.h.
Referenced by BKE_object_eval_parent(), OVERLAY_relationship_lines(), and solve_parenting().
int Object_Runtime::select_id |
Selection id of this object. It might differ between an evaluated and its original object, when the object is being instanced.
Definition at line 128 of file DNA_object_types.h.
Referenced by basic_cache_populate(), basic_cache_populate_particles(), BKE_object_update_select_id(), camera_view3d_reconstruction(), do_meta_box_select(), do_pose_box_select(), draw_armature_edit(), draw_armature_pose(), DRW_select_buffer_context_create(), DRW_select_buffer_elem_get(), ed_mball_findnearest_metaelem(), ed_object_select_pick_camera_track(), get_nearest_editbonepoint(), and OVERLAY_edit_metaball_cache_populate().