|
Blender
V2.93
|
#include <DNA_object_types.h>
Public Attributes | |
| CustomData_MeshMasks | last_data_mask |
| char | last_need_mapping |
| char | _pad0 [3] |
| float | parent_display_origin [3] |
| int | select_id |
| char | _pad1 [3] |
| char | is_data_eval_owned |
| struct BoundBox * | bb |
| struct ID * | data_orig |
| struct ID * | data_eval |
| struct GeometrySet * | geometry_set_eval |
| void * | geometry_set_previews |
| struct Mesh * | mesh_deform_eval |
| 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] |
| void * | _pad3 |
Definition at line 119 of file DNA_object_types.h.
| char Object_Runtime::_pad0[3] |
Definition at line 129 of file DNA_object_types.h.
| char Object_Runtime::_pad1[3] |
Definition at line 139 of file DNA_object_types.h.
| short Object_Runtime::_pad2[3] |
Definition at line 211 of file DNA_object_types.h.
| void* Object_Runtime::_pad3 |
Definition at line 212 of file DNA_object_types.h.
| struct BoundBox* Object_Runtime::bb |
Axis aligned boundbox (in localspace).
Definition at line 148 of file DNA_object_types.h.
Referenced by BKE_armature_boundbox_get(), BKE_curve_boundbox_get(), BKE_gpencil_boundbox_get(), BKE_hair_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_mesh(), BKE_object_free_derived_caches(), BKE_pointcloud_boundbox_get(), BKE_volume_boundbox_get(), boundbox_armature(), boundbox_displist_object(), boundbox_gpencil(), boundbox_lattice(), curve_to_mesh_eval_ensure(), blender::deg::ObjectRuntimeBackup::init_from_object(), object_copy_data(), object_free_data(), object_origin_set_exec(), object_sync_boundbox_to_original(), SCULPT_update_object_bounding_box(), and view3d_orbit_calc_center().
| struct CurveCache* Object_Runtime::curve_cache |
Runtime evaluated curve-specific data, not stored in the file.
Definition at line 208 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_curveTypes_forRender(), BKE_displist_make_mball(), BKE_displist_make_surf(), 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_mesh_nurbs_to_mdata(), 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(), boundbox_displist_object(), calc_curve_deform(), contarget_get_lattice_mat(), curve_bevel_make_from_object(), curve_to_mesh_eval_ensure(), displist_calc_taper(), do_makeDispListCurveTypes(), 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(), 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_curve_type_object(), mesh_new_from_mball_object(), ob_parcurve(), object_convert_exec(), object_data_convert_ensure_curve_cache(), object_for_curve_to_mesh_create(), object_free_data(), OVERLAY_wireframe_cache_populate(), 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. For example, for mesh and curve objects, this is a mesh. For a volume object, this is a volume.
Definition at line 161 of file DNA_object_types.h.
Referenced by BKE_mesh_from_nurbs_displist(), BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_runtime_reset_on_copy(), BKE_pointcloud_to_mesh(), do_makeDispListCurveTypes(), knifeproject_poly_from_object(), object_for_curve_to_mesh_create(), 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 155 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 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 169 of file DNA_object_types.h.
Referenced by BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_minmax_dupli(), BKE_object_runtime_reset_on_copy(), BKE_object_visibility(), BKE_pointcloud_boundbox_get(), editbmesh_build_data(), blender::ed::spreadsheet::get_display_geometry_set(), get_dupli_generator(), iter_snap_objects(), make_duplis_instances_component(), mesh_build_data(), and object_has_geometry_set_instances().
| void* Object_Runtime::geometry_set_previews |
A GHash that contains geometry sets for intermediate stages of evaluation. The keys are just a hash and are not owned by the map. The geometry sets are owned.
Definition at line 175 of file DNA_object_types.h.
Referenced by BKE_object_free_derived_caches(), BKE_object_preview_geometry_set_add(), and blender::ed::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 193 of file DNA_object_types.h.
Referenced by BKE_gpencil_prepare_eval_data(), BKE_object_eval_transform_final(), 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 188 of file DNA_object_types.h.
Referenced by BKE_gpencil_prepare_eval_data().
| 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 145 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 124 of file DNA_object_types.h.
Referenced by BKE_object_data_transfer_ex(), 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 127 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 210 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 181 of file DNA_object_types.h.
Referenced by BKE_modifier_get_evaluated_mesh_from_evaluated_object(), 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 205 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 199 of file DNA_object_types.h.
Referenced by BKE_object_runtime_reset_on_copy(), and BKE_object_to_mesh_clear().
| float Object_Runtime::parent_display_origin[3] |
Only used for drawing the parent/child help-line.
Definition at line 132 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 138 of file DNA_object_types.h.
Referenced by 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_select_pick(), get_nearest_editbonepoint(), mouse_select_eval_buffer(), and OVERLAY_edit_metaball_cache_populate().