Blender V2.61 - r43446
|
#include <DNA_mesh_types.h>
Definition at line 62 of file DNA_mesh_types.h.
CCL_NAMESPACE_BEGIN Mesh::Mesh | ( | ) |
Definition at line 40 of file mesh.cpp.
References bvh, DISPLACE_BUMP, displacement_method, need_update, NULL, transform_applied, transform_negative_scaled, tri_offset, and vert_offset.
void Mesh::add_face_normals | ( | ) |
Definition at line 111 of file mesh.cpp.
References AttributeSet::add(), attributes, cross(), Attribute::data_float3(), AttributeSet::find(), i, normalize(), Attribute::STD_FACE_NORMAL, transform_negative_scaled, triangles, Mesh::Triangle::v, and verts.
Referenced by MeshManager::device_update(), and MeshManager::displace().
void Mesh::add_triangle | ( | int | v0, |
int | v1, | ||
int | v2, | ||
int | shader, | ||
bool | smooth | ||
) |
Definition at line 84 of file mesh.cpp.
References shader, smooth, triangles, and Mesh::Triangle::v.
Referenced by EdgeDice::add_triangle(), create_mesh(), and xml_read_mesh().
void Mesh::add_vertex_normals | ( | ) |
Definition at line 143 of file mesh.cpp.
References AttributeSet::add(), attributes, Attribute::data_float3(), AttributeSet::find(), i, normalize(), Attribute::STD_FACE_NORMAL, Attribute::STD_VERTEX_NORMAL, transform_negative_scaled, triangles, and verts.
Referenced by MeshManager::device_update(), and MeshManager::displace().
void Mesh::clear | ( | ) |
Definition at line 69 of file mesh.cpp.
References attributes, AttributeSet::clear(), shader, smooth, transform_applied, transform_negative_scaled, triangles, used_shaders, and verts.
void Mesh::compute_bounds | ( | ) |
Definition at line 96 of file mesh.cpp.
References bounds, BoundBox::grow(), i, make_float3(), BoundBox::valid(), and verts.
Referenced by Object::apply_transform(), and MeshManager::device_update().
void Mesh::compute_bvh | ( | SceneParams * | params, |
Progress & | progress | ||
) |
Definition at line 243 of file mesh.cpp.
References BVH::build(), bvh, addon::engine::create(), Object::mesh, need_update_rebuild, BVH::objects, BVH::refit(), SceneParams::use_bvh_cache, SceneParams::use_bvh_spatial_split, BVHParams::use_cache, SceneParams::use_qbvh, BVHParams::use_qbvh, and BVHParams::use_spatial_split.
Referenced by MeshManager::device_update().
Definition at line 178 of file mesh.cpp.
References __int_as_float(), attributes, Attribute::data_float3(), AttributeSet::find(), ShaderManager::get_shader_id(), i, make_float4(), NULL, shader, Scene::shader_manager, smooth, Attribute::STD_FACE_NORMAL, Attribute::STD_VERTEX_NORMAL, triangles, verts, float4::w, float3::x, float4::x, float3::y, float4::y, float3::z, and float4::z.
Referenced by MeshManager::device_update_mesh().
Definition at line 213 of file mesh.cpp.
References __int_as_float(), i, make_float4(), p, triangles, Mesh::Triangle::v, verts, float3::x, float3::y, and float3::z.
Referenced by MeshManager::device_update_mesh().
void Mesh::reserve | ( | int | numverts, |
int | numfaces | ||
) |
Definition at line 59 of file mesh.cpp.
References attributes, AttributeSet::reserve(), shader, smooth, triangles, and verts.
Referenced by EdgeDice::reserve().
void Mesh::tag_update | ( | Scene * | scene, |
bool | rebuild | ||
) |
Definition at line 270 of file mesh.cpp.
References Scene::light_manager, Scene::mesh_manager, need_update, ObjectManager::need_update, LightManager::need_update, MeshManager::need_update, need_update_rebuild, Scene::object_manager, Scene::shaders, and used_shaders.
int Mesh::act_face |
Definition at line 116 of file DNA_mesh_types.h.
Referenced by load_editMesh(), make_editMesh(), and paintface_mouse_select().
Definition at line 64 of file DNA_mesh_types.h.
Referenced by acf_dsmesh_setting_ptr(), direct_link_mesh(), expand_mesh(), free_mesh(), lib_link_mesh(), make_new_animlistelem(), outliner_add_id_contents(), and write_meshs().
Definition at line 69 of file mesh.h.
Referenced by add_face_normals(), add_vertex_normals(), Object::apply_transform(), clear(), create_mesh(), MeshManager::device_update_attributes(), MeshManager::displace(), EdgeDice::EdgeDice(), pack_normals(), reserve(), EdgeDice::reserve(), xml_read_mesh(), and xml_read_patch().
Definition at line 66 of file DNA_mesh_types.h.
Referenced by add_mesh(), boundbox_mesh(), clear_mesh_caches(), copy_mesh(), direct_link_mesh(), draw_mesh_object(), free_mesh(), mesh_get_bb(), mesh_get_texspace(), and my_boundbox_mesh().
Definition at line 71 of file mesh.h.
Referenced by Object::compute_bounds(), and compute_bounds().
Definition at line 81 of file mesh.h.
Referenced by BVH::clear_cache_except(), compute_bvh(), Mesh(), BVH::pack_instances(), and ~Mesh().
Definition at line 74 of file mesh.h.
Referenced by MeshManager::displace(), ShaderManager::get_shader_id(), Mesh(), and xml_read_mesh().
struct Ipo* ipo Mesh::DNA_DEPRECATED |
Definition at line 68 of file DNA_mesh_types.h.
short subdiv Mesh::DNA_DEPRECATED |
Definition at line 126 of file DNA_mesh_types.h.
short subdiv subdivr Mesh::DNA_DEPRECATED |
Definition at line 126 of file DNA_mesh_types.h.
char subsurftype Mesh::DNA_DEPRECATED |
Definition at line 127 of file DNA_mesh_types.h.
struct Multires* mr Mesh::DNA_DEPRECATED |
Definition at line 132 of file DNA_mesh_types.h.
short Mesh::drawflag |
Definition at line 123 of file DNA_mesh_types.h.
Referenced by add_mesh(), createSlideVerts(), do_versions(), draw_em_fancy(), draw_em_fancy_edges(), draw_em_measure_stats(), draw_mesh_face_select(), draw_mesh_face_select__setHiddenOpts(), draw_mesh_fancy(), draw_uvs(), edge_drawflags(), editmesh_mark_seam(), editmesh_mark_sharp(), freeSlideVerts(), mesh_separate_selected(), and mouse_mesh_shortest_path().
struct MDeformVert* Mesh::dvert |
Definition at line 88 of file DNA_mesh_types.h.
Referenced by apply_mp_locks_normalize(), armature_deform_verts(), BL_SkinDeformer::BGEDeformVerts(), BKE_mesh_validate(), BL_ConvertBlenderObjects(), calc_weightpaint_vert_array(), RAS_MeshObject::CheckWeightCache(), curve_deform_verts(), customdata_version_242(), direct_link_mesh(), do_weight_paint_vertex(), doMirrorOnAxis(), ED_vgroup_data_create(), ED_vgroup_give_array(), ED_vgroup_give_parray(), ED_vgroup_mirror(), gameobject_from_blenderobject(), get_scalar_from_vertexgroup(), get_vert_def_nr(), get_weights_array(), lattice_deform_verts(), mesh_update_customdata_pointers(), meshdeformModifier_do(), moveCloserToDistanceFromPlane(), KX_Scene::ReplaceMesh(), vgroup_active_remove_verts(), vgroup_assign_verts(), vgroup_delete_all(), vgroup_delete_edit_mode(), vgroup_select_verts(), weight_paint_sample_enum_itemf(), weight_sample_invoke(), wpaint_fill(), wpaint_stroke_test_start(), and wpaint_stroke_update_step().
struct EditMesh* Mesh::edit_mesh |
Definition at line 94 of file DNA_mesh_types.h.
Referenced by applyModifier(), BKE_mesh_get_editmesh(), copy_mesh(), crazyspace_get_mapped_editverts(), createSlideVerts(), delete_customdata_layer(), direct_link_mesh(), draw_mesh_object(), draw_mesh_textured_old(), draw_object_backbufsel(), draw_object_mesh_instance(), drop_named_image_invoke(), ED_editors_exit(), ED_mesh_color_add(), ED_mesh_color_remove(), ED_mesh_color_remove_named(), ED_mesh_edges_add(), ED_mesh_faces_add(), ED_mesh_mirrtopo_init(), ED_mesh_mirrtopo_recalc_check(), ED_mesh_uv_texture_add(), ED_mesh_uv_texture_remove(), ED_mesh_vertices_add(), ED_object_exit_editmode(), ED_vgroup_give_parray(), EM_automerge(), EM_selectmode_to_scene(), em_setup_viewcontext(), free_mesh(), get_vert_def_nr(), get_weights_array(), getEditMesh(), getTransformOrientation(), key_block_get_data(), load_editMesh(), make_editMesh(), make_trans_verts(), make_vertexcol(), mesh_octree_table(), mesh_separate_selected(), multiresModifier_set_levels_from_disps(), object_modifier_remove(), snap_curs_to_active(), special_transvert_update(), vertex_duplilist(), vgroup_active_remove_verts(), vgroup_assign_verts(), vgroup_object_in_wpaint_vert_select(), and vgroup_select_verts().
char Mesh::editflag |
Definition at line 128 of file DNA_mesh_types.h.
Referenced by bbs_mesh_solid(), do_shared_vertexcol(), do_weight_paint_vertex(), draw_object_backbufsel(), ED_vgroup_mirror(), heat_bone_weighting(), image_paint_sample_color_poll(), imapaint_paint_stroke(), mesh_separate_selected(), vgroup_clean(), vgroup_clean_all(), vgroup_copy_active_to_sel(), vgroup_copy_active_to_sel_single(), vgroup_fix(), vgroup_invert(), vgroup_levels(), vgroup_normalize(), vgroup_normalize_all(), vpaint_fill(), vpaint_paint_face(), weight_from_bones_exec(), wpaint_fill(), wpaint_stroke_test_start(), and wpaint_stroke_update_step().
struct CustomData vdata edata Mesh::fdata |
Definition at line 96 of file DNA_mesh_types.h.
Referenced by alphasort_version_246(), applyModifier(), MeshImporter::assign_material_to_geom(), MeshImporter::assign_textures_to_uvlayer(), BKE_mesh_ensure_navmesh(), BKE_mesh_validate(), bpath_traverse_id(), CDDM_from_mesh(), convert_tfacematerial(), copy_mesh(), GeometryExporter::createPolylist(), GeometryExporter::createTexcoordsSource(), GeometryExporter::createVertexColorSource(), customdata_version_242(), customdata_version_243(), delete_customdata_layer(), direct_link_mesh(), DM_to_mesh(), do_version_tface(), dynamicPaint_outputLayerExists(), ED_mesh_color_add(), ED_mesh_color_remove(), ED_mesh_color_remove_named(), ED_mesh_uv_texture_add(), ED_mesh_uv_texture_remove(), ED_object_modifier_convert(), expand_local_mesh(), expand_mesh(), free_mesh(), get_levels_from_disps(), getActiveUVLayerName(), join_mesh_exec(), lib_link_mesh(), load_editMesh(), make_editMesh(), make_local_image(), make_vertexcol(), mball_to_mesh(), mesh_add_faces(), mesh_strip_loose_faces(), mesh_update_customdata_pointers(), modifier_apply_obdata(), multires_apply_smat(), multires_del_higher(), multires_dm_create_from_derived(), multires_external_pack_exec(), multires_external_save_exec(), multires_external_save_invoke(), multires_force_external_reload(), multires_load_old(), multires_load_old_250(), multires_load_old_vcols(), multires_set_tot_mdisps(), multires_subdivide(), multires_sync_levels(), multires_topology_changed(), multiresModifier_del_levels(), multiresModifier_disp_run(), multiresModifier_set_levels_from_disps(), multiresModifier_update(), navmesh_clear_exec(), navmesh_obmode_data_poll(), navmesh_reset_exec(), nurbs_to_mesh(), object_modifier_remove(), GeometryExporter::operator()(), sculpt_multires_active(), sort_faces_exec(), texture_paint_toggle_exec(), and write_meshs().
short Mesh::flag |
Definition at line 124 of file DNA_mesh_types.h.
Referenced by acf_dsmesh_setting_ptr(), add_mesh(), copy_attr(), do_versions(), draw_em_fancy(), draw_mesh_fancy(), init_render_mesh(), mesh_separate_selected(), GeometryExporter::operator()(), and EffectsExporter::operator()().
Definition at line 63 of file DNA_mesh_types.h.
Referenced by AddNewBlenderMesh(), BKE_mesh_validate(), BL_ConvertMesh(), blend_from_shape_exec(), convert_exec(), convert_tfacematerial(), convert_tfacenomaterial(), copy_mesh(), do_version_tface(), do_versions(), ED_mesh_color_add(), ED_mesh_color_remove(), ED_mesh_color_remove_named(), ED_mesh_update(), ED_mesh_uv_texture_add(), ED_mesh_uv_texture_remove(), EM_automerge(), free_mesh(), lib_link_mesh(), lib_link_mtface(), load_editMesh(), make_local_image(), make_local_material(), make_local_mesh(), make_vertexcol(), mesh_addmaterial(), mesh_separate_selected(), modifier_apply_obdata(), multires_apply_smat(), multires_del_higher(), multires_dm_create_from_derived(), multires_external_pack_exec(), multires_external_save_exec(), multires_external_save_invoke(), multires_force_external_reload(), multires_sync_levels(), multires_topology_changed(), multiresModifier_del_levels(), multiresModifier_update(), navmesh_clear_exec(), navmesh_reset_exec(), object_modifier_remove(), object_origin_set_exec(), set_mesh(), set_vpaint(), set_wpaint(), shape_propagate_to_all_exec(), single_mat_users_expand(), single_obdata_users(), sticky_add_exec(), sticky_remove_exec(), vgroup_active_remove_verts(), vgroup_assign_verts(), vpaint_fill(), weight_from_bones_exec(), wpaint_fill(), wpaint_stroke_test_start(), and write_meshs().
Definition at line 69 of file DNA_mesh_types.h.
Referenced by apply_objects_internal(), BL_ShapeDeformer::BL_ShapeDeformer(), blend_from_shape_exec(), RAS_MeshObject::CheckWeightCache(), copy_mesh(), dag_object_time_update_flags(), DM_to_mesh(), DM_to_meshkey(), do_versions(), expand_mesh(), gameobject_from_blenderobject(), BL_ShapeDeformer::GetKey(), insert_meshkey(), join_mesh_exec(), join_mesh_shapes_exec(), lib_link_mesh(), load_editMesh(), mesh_separate_loose(), mesh_separate_selected(), mesh_to_key(), mesh_translate(), modifier_apply_obdata(), modifier_apply_shape(), my_tex_space_mesh(), ob_get_key(), outliner_add_id_contents(), RAS_MeshObject::RAS_MeshObject(), KX_Scene::ReplaceMesh(), sculpt_modifiers_active(), sculpt_vertcos_to_key(), BL_ShapeDeformer::SetKey(), shape_propagate(), unlink_mesh(), BL_ShapeDeformer::Update(), vertcos_to_key(), BL_ShapeDeformer::~BL_ShapeDeformer(), and RAS_MeshObject::~RAS_MeshObject().
struct CustomData pdata Mesh::ldata |
Definition at line 100 of file DNA_mesh_types.h.
Referenced by direct_link_mesh().
float Mesh::loc[3] |
Definition at line 119 of file DNA_mesh_types.h.
Referenced by give_obdata_texspace(), mesh_get_texspace(), my_tex_space_mesh(), and tex_space_mesh().
Definition at line 70 of file DNA_mesh_types.h.
Referenced by alphasort_version_246(), BL_ConvertMesh(), convert_exec(), convert_tfacematerial(), KX_BlenderSceneConverter::ConvertMeshSpecial(), copy_mesh(), direct_link_mesh(), do_version_tface(), draw_mesh_text(), expand_local_mesh(), expand_mesh(), free_mesh(), give_matarar(), join_mesh_exec(), lib_link_mesh(), make_local_material(), mesh_addmaterial(), mesh_getmaterialnumber(), nurbs_to_mesh(), outliner_add_id_contents(), single_mat_users_expand(), unlink_material_cb(), unlink_mesh(), wpaint__setSolidDrawOptions_material(), and write_meshs().
struct MCol* Mesh::mcol |
Definition at line 89 of file DNA_mesh_types.h.
Referenced by customdata_version_242(), direct_link_mesh(), do_shared_vertexcol(), do_versions(), draw_mesh_fancy(), draw_mesh_text(), draw_tface_mapped__set_draw(), ED_mesh_color_add(), make_vertexcol(), mesh_update_customdata_pointers(), set_vpaint(), vcol_to_fcol(), vpaint_fill(), vpaint_paint_face(), and vpaint_stroke_test_start().
struct MEdge* Mesh::medge |
Definition at line 87 of file DNA_mesh_types.h.
Referenced by BKE_mesh_calc_edges(), BKE_mesh_validate(), customdata_version_242(), direct_link_mesh(), do_versions(), draw_mesh_face_select__setHiddenOpts(), draw_mesh_face_select__setSelectOpts(), ED_mesh_mirrtopo_init(), ED_object_modifier_convert(), make_edges(), make_editMesh(), mesh_add_edges(), mesh_strip_loose_edges(), mesh_to_softbody(), mesh_update_customdata_pointers(), multires_load_old(), nurbs_to_mesh(), and select_linked_tfaces_with_seams().
struct MFace* Mesh::mface |
Definition at line 83 of file DNA_mesh_types.h.
Referenced by add_mesh_quad_diag_springs(), add_weight_mcol_dm(), alphasort_version_246(), apply_objects_internal(), applyModifier(), bbs_mesh_solid_hide2__setDrawOpts(), bbs_mesh_solid_hide__setDrawOpts(), BKE_mesh_calc_edges(), BKE_mesh_validate(), ccgDM_getFaceMap(), ccgDM_getPBVH(), cdDM_getFaceMap(), cdDM_getPBVH(), convert_tfacematerial(), count_mesh_quads(), crazyspace_set_quats_mesh(), GeometryExporter::create_normals(), GeometryExporter::createPolylist(), GeometryExporter::createTexcoordsSource(), GeometryExporter::createVertexColorSource(), customdata_version_242(), direct_link_mesh(), do_paintface_box_select(), do_shared_vertexcol(), do_version_tface(), do_versions(), draw_mesh_face_select__drawFaceOptsInv(), draw_mesh_fancy(), draw_mesh_text(), draw_mesh_textured_old(), draw_tface_mapped__set_draw(), draw_uvs_other(), ED_mesh_calc_normals(), ED_mesh_transform(), ED_mesh_update(), ED_object_modifier_convert(), EM_backbuf_checkAndSelectTFaces(), get_levels_from_disps(), get_tface_mesh_marked_edge_info(), getSurroundingVerts(), heat_bone_weighting(), imapaint_face_image(), imapaint_paint_stroke(), init_render_mesh(), load_editMesh(), make_edges(), make_editMesh(), mball_to_mesh(), mesh_add_faces(), mesh_delete_material_index(), mesh_faces_to_scratch(), mesh_get_x_mirror_faces(), mesh_set_smooth_flag(), mesh_strip_loose_faces(), mesh_update_customdata_pointers(), multires_apply_smat(), multires_del_higher(), multires_load_old(), multires_load_old_250(), multires_load_old_face_flags(), multires_reallocate_mdisps(), multires_set_tot_mdisps(), multires_topology_changed(), multiresModifier_base_apply(), multiresModifier_disp_run(), nurbs_to_mesh(), paintface_deselect_all_visible(), paintface_flush_flags(), paintface_hide(), paintface_minmax(), paintface_mouse_select(), paintface_reveal(), PE_mirror_x(), sculpt_flush_stroke_deform(), sculpt_undo_restore(), sculpt_update_mesh_elements(), sculpt_vertcos_to_key(), select_linked_tfaces_with_seams(), sort_faces_exec(), tex_mat_set_face_mesh_cb(), vcol_to_fcol(), vpaint_fill(), vpaint_paint_face(), weight_paint_sample_enum_itemf(), weight_sample_invoke(), wpaint__setSolidDrawOptions_facemask(), wpaint__setSolidDrawOptions_material(), wpaint_fill(), wpaint_stroke_update_step(), and MeshImporter::write_geometry().
struct MLoop* Mesh::mloop |
Definition at line 77 of file DNA_mesh_types.h.
Referenced by direct_link_mesh().
struct MLoopCol* Mesh::mloopcol |
Definition at line 79 of file DNA_mesh_types.h.
struct MLoopUV* Mesh::mloopuv |
Definition at line 78 of file DNA_mesh_types.h.
struct MPoly* Mesh::mpoly |
Definition at line 75 of file DNA_mesh_types.h.
Referenced by direct_link_mesh().
struct MSelect* Mesh::mselect |
Definition at line 92 of file DNA_mesh_types.h.
Referenced by copy_mesh(), direct_link_mesh(), free_mesh(), load_editMesh(), and make_editMesh().
struct MSticky* Mesh::msticky |
Definition at line 90 of file DNA_mesh_types.h.
Referenced by customdata_version_242(), direct_link_mesh(), init_render_mesh(), mesh_update_customdata_pointers(), RE_make_sticky(), and sticky_remove_exec().
struct MTFace* Mesh::mtface |
Definition at line 84 of file DNA_mesh_types.h.
Referenced by customdata_version_242(), direct_link_mesh(), do_shared_vertexcol(), draw_mesh_text(), draw_tface_mapped__set_draw(), draw_uvs_other(), ED_mesh_uv_texture_add(), expand_local_mesh(), face_duplilist(), imapaint_face_image(), init_render_mesh(), make_local_image(), mesh_update_customdata_pointers(), multiresbake_check(), multiresbake_image_exec_locked(), and texture_paint_toggle_exec().
struct MTexPoly* Mesh::mtpoly |
Definition at line 76 of file DNA_mesh_types.h.
struct MVert* Mesh::mvert |
Definition at line 86 of file DNA_mesh_types.h.
Referenced by add_verts_to_dgroups(), BL_MeshDeformer::Apply(), apply_objects_internal(), applyModifier(), bbs_obmode_mesh_verts(), BKE_mesh_validate(), can_pbvh_draw(), ccgDM_getPBVH(), cdDM_getPBVH(), crazyspace_set_quats_mesh(), GeometryExporter::create_normals(), GeometryExporter::createVertsSource(), customdata_version_242(), direct_link_mesh(), do_paintvert_box_select(), do_versions(), drawSelectedVertices(), ED_mesh_calc_normals(), ED_mesh_transform(), ED_mesh_update(), ED_object_modifier_convert(), ED_vgroup_give_parray(), ED_vgroup_mirror(), EM_backbuf_checkAndSelectVerts_obmode(), get_mesh_orco_verts(), heat_bone_weighting(), init_render_mesh(), key_to_mesh(), load_editMesh(), make_edges(), make_editMesh(), mball_to_mesh(), mesh_add_verts(), mesh_center_median(), mesh_get_x_mirror_faces(), mesh_get_x_mirror_vert_spacial(), mesh_getVertexCos(), mesh_octree_table(), mesh_to_key(), mesh_translate(), mesh_update_customdata_pointers(), minmax_mesh(), mouse_weight_paint_vertex_select(), multires_load_old(), multiresModifier_base_apply(), my_boundbox_mesh(), nurbs_to_mesh(), object_shape_key_mirror(), paintface_minmax(), paintvert_deselect_all_visible(), paintvert_flush_flags(), RE_make_sticky(), sculpt_flush_pbvhvert_deform(), sculpt_flush_stroke_deform(), sculpt_undo_restore(), sculpt_update_mesh_elements(), sculpt_vertcos_to_key(), sort_faces_exec(), springs_from_mesh(), BL_SkinDeformer::UpdateInternal(), vgroup_active_remove_verts(), vgroup_assign_verts(), vgroup_fix(), vgroup_select_verts(), wpaint_fill(), wpaint_stroke_update_step(), and MeshImporter::write_geometry().
ustring Mesh::name |
Definition at line 60 of file mesh.h.
Referenced by MeshManager::device_update().
bool Mesh::need_update |
Definition at line 77 of file mesh.h.
Referenced by MeshManager::device_update(), Mesh(), Object::tag_update(), and tag_update().
Definition at line 78 of file mesh.h.
Referenced by compute_bvh(), MeshManager::device_update(), and tag_update().
float Mesh::rot[3] |
Definition at line 121 of file DNA_mesh_types.h.
Referenced by give_obdata_texspace(), mesh_get_texspace(), my_tex_space_mesh(), and tex_space_mesh().
vector<uint> Mesh::shader |
Definition at line 65 of file mesh.h.
Referenced by add_triangle(), clear(), LightManager::device_update_distribution(), MeshManager::displace(), pack_normals(), and reserve().
float Mesh::size[3] |
Definition at line 120 of file DNA_mesh_types.h.
Referenced by add_mesh(), give_obdata_texspace(), mesh_get_texspace(), my_tex_space_mesh(), and tex_space_mesh().
vector<bool> Mesh::smooth |
Definition at line 66 of file mesh.h.
Referenced by add_triangle(), clear(), pack_normals(), and reserve().
short Mesh::smoothresh |
Definition at line 124 of file DNA_mesh_types.h.
Referenced by add_mesh(), copy_attr(), do_versions(), init_render_mesh(), and mesh_separate_selected().
struct Mesh* Mesh::texcomesh |
Definition at line 91 of file DNA_mesh_types.h.
Referenced by copy_mesh(), expand_local_mesh(), expand_mesh(), get_mesh_orco_verts(), lib_link_mesh(), single_obdata_users(), transform_mesh_orco_verts(), and unlink_mesh().
short Mesh::texflag |
Definition at line 123 of file DNA_mesh_types.h.
Referenced by add_mesh(), give_obdata_texspace(), mesh_separate_selected(), my_tex_space_mesh(), and tex_space_mesh().
struct TFace* Mesh::tface |
Definition at line 85 of file DNA_mesh_types.h.
Referenced by customdata_version_242(), direct_link_mesh(), do_versions(), and expand_mesh().
short Mesh::totcol |
Definition at line 130 of file DNA_mesh_types.h.
Referenced by alphasort_version_246(), convert_exec(), convert_tfacematerial(), KX_BlenderSceneConverter::ConvertMeshSpecial(), copy_mesh(), do_version_tface(), expand_local_mesh(), expand_mesh(), give_totcolp(), join_mesh_exec(), lib_link_mesh(), make_local_material(), mesh_addmaterial(), mesh_getmaterialnumber(), nurbs_to_mesh(), outliner_add_id_contents(), single_mat_users_expand(), unlink_material_cb(), unlink_mesh(), and write_meshs().
int Mesh::totedge |
Definition at line 104 of file DNA_mesh_types.h.
Referenced by BKE_mesh_calc_edges(), BKE_mesh_validate(), CDDM_from_mesh(), copy_mesh(), customdata_version_242(), direct_link_mesh(), DM_to_mesh(), ED_mesh_mirrtopo_init(), ED_mesh_mirrtopo_recalc_check(), ED_mesh_update(), ED_object_modifier_convert(), free_mesh(), join_mesh_exec(), load_editMesh(), make_edges(), make_editMesh(), mesh_add_edges(), mesh_strip_loose_edges(), mesh_to_softbody(), multires_load_old(), nurbs_to_mesh(), and write_meshs().
int Mesh::totface |
Definition at line 104 of file DNA_mesh_types.h.
Referenced by add_mesh_quad_diag_springs(), add_weight_mcol_dm(), apply_objects_internal(), applyModifier(), BKE_mesh_calc_edges(), BKE_mesh_ensure_navmesh(), BKE_mesh_validate(), ccgDM_getFaceMap(), ccgDM_getPBVH(), CDDM_from_mesh(), cdDM_getFaceMap(), cdDM_getPBVH(), copy_mesh(), count_mesh_quads(), GeometryExporter::create_normals(), GeometryExporter::createPolylist(), GeometryExporter::createTexcoordsSource(), customdata_version_242(), delete_customdata_layer(), direct_link_mesh(), DM_to_mesh(), do_lasso_select_paintface(), do_paintface_box_select(), do_shared_vertexcol(), do_versions(), draw_mesh_object(), draw_mesh_text(), draw_uvs_other(), ED_mesh_calc_normals(), ED_mesh_color_add(), ED_mesh_transform(), ED_mesh_update(), ED_mesh_uv_texture_add(), EM_backbuf_checkAndSelectTFaces(), expand_mesh(), facesel_face_pick(), free_mesh(), get_indexarray(), get_levels_from_disps(), get_tface_mesh_marked_edge_info(), getSurroundingVerts(), heat_bone_weighting(), imapaint_pick_face(), init_render_mesh(), join_mesh_exec(), lib_link_mesh(), load_editMesh(), make_edges(), make_editMesh(), make_vertexcol(), mball_to_mesh(), mesh_add_faces(), mesh_faces_to_scratch(), mesh_get_x_mirror_faces(), mesh_set_smooth_flag(), mesh_strip_loose_faces(), modifier_apply_obdata(), multires_apply_smat(), multires_del_higher(), multires_dm_create_from_derived(), multires_external_pack_exec(), multires_external_save_exec(), multires_force_external_reload(), multires_load_old(), multires_load_old_250(), multires_load_old_face_flags(), multires_load_old_vcols(), multires_reallocate_mdisps(), multires_set_tot_mdisps(), multires_subdivide(), multires_sync_levels(), multires_topology_changed(), multiresbake_check(), multiresbake_image_exec_locked(), multiresModifier_del_levels(), multiresModifier_disp_run(), multiresModifier_update(), navmesh_clear_exec(), navmesh_reset_exec(), nurbs_to_mesh(), object_modifier_remove(), paint_facesel_circle_select(), paintface_deselect_all_visible(), paintface_hide(), paintface_minmax(), paintface_mouse_select(), paintface_reveal(), paintface_select_linked(), psys_calc_dmcache(), psys_particle_dm_face_lookup(), psys_render_simplify_distribution(), sculpt_flush_stroke_deform(), sculpt_undo_restore(), sculpt_update_mesh_elements(), sculpt_vertcos_to_key(), select_linked_tfaces_with_seams(), sort_faces_exec(), stats_object_paint(), texture_paint_toggle_exec(), vcol_to_fcol(), vpaint_fill(), vpaint_stroke_test_start(), vpaint_stroke_update_step(), wpaint_fill(), wpaint_stroke_test_start(), wpaint_stroke_update_step(), MeshImporter::write_geometry(), and write_meshs().
int Mesh::totloop |
Definition at line 108 of file DNA_mesh_types.h.
Referenced by direct_link_mesh().
int Mesh::totpoly |
Definition at line 108 of file DNA_mesh_types.h.
Referenced by direct_link_mesh().
int Mesh::totselect |
Definition at line 104 of file DNA_mesh_types.h.
Referenced by load_editMesh(), and make_editMesh().
int Mesh::totvert |
Definition at line 104 of file DNA_mesh_types.h.
Referenced by add_verts_to_dgroups(), apply_objects_internal(), applyModifier(), armature_deform_verts(), BL_SkinDeformer::BGEDeformVerts(), BKE_mesh_validate(), BL_SkinDeformer::BlenderDeformVerts(), calc_weightpaint_vert_array(), ccgDM_getFaceMap(), ccgDM_getPBVH(), CDDM_from_mesh(), cdDM_getFaceMap(), cdDM_getPBVH(), RAS_MeshObject::CheckWeightCache(), copy_mesh(), count_duplilist(), crazyspace_build_sculpt(), crazyspace_set_quats_mesh(), GeometryExporter::createVertsSource(), customdata_version_242(), direct_link_mesh(), DM_to_mesh(), DM_to_meshkey(), do_lasso_select_paintvert(), do_ob_key(), do_paintvert_box_select(), do_shared_vertexcol(), do_versions(), do_view3d_region_buttons(), draw_mesh_object(), draw_object_backbufsel(), ED_mesh_calc_normals(), ED_mesh_mirrtopo_init(), ED_mesh_mirrtopo_recalc_check(), ED_mesh_transform(), ED_mesh_update(), ED_object_modifier_convert(), ED_vgroup_data_create(), ED_vgroup_give_array(), ED_vgroup_give_parray(), EM_backbuf_checkAndSelectVerts_obmode(), envelope_bone_weighting(), face_duplilist(), free_mesh(), get_mesh_orco_verts(), get_vert_def_nr(), get_weights_array(), heat_bone_weighting(), init_render_mesh(), insert_meshkey(), join_mesh_exec(), join_mesh_shapes_exec(), key_to_mesh(), key_to_vertcos(), load_editMesh(), make_edges(), make_editMesh(), mball_to_mesh(), mesh_add_verts(), mesh_calc_modifiers(), mesh_center_median(), mesh_get_mapped_verts_nors(), mesh_get_x_mirror_faces(), mesh_getVertexCos(), mesh_to_key(), mesh_to_softbody(), mesh_translate(), meshdeformModifier_do(), minmax_mesh(), modifier_mdef_compact_influences(), multires_load_old(), multiresModifier_base_apply(), my_boundbox_mesh(), nurbs_to_mesh(), paint_vertsel_circle_select(), paintvert_deselect_all_visible(), psys_calc_dmcache(), RE_make_sticky(), BL_MeshDeformer::RecalcNormals(), sculpt_flush_stroke_deform(), sculpt_undo_restore(), sculpt_update_mesh_elements(), sculpt_vertcos_to_key(), springs_from_mesh(), stats_object_paint(), sticky_remove_exec(), BL_ShapeDeformer::Update(), BL_SkinDeformer::UpdateInternal(), BL_MeshDeformer::VerifyStorage(), vertcos_to_key(), vertex_duplilist(), vertsel_vert_pick(), vgroup_active_remove_verts(), vgroup_assign_verts(), vgroup_delete_all(), vgroup_delete_edit_mode(), vgroup_fix(), vgroup_select_verts(), wpaint_fill(), wpaint_stroke_test_start(), MeshImporter::write_geometry(), and write_meshs().
Definition at line 72 of file mesh.h.
Referenced by BVHBuild::add_references(), ObjectManager::apply_static_transforms(), BVH::cache_read(), clear(), MeshManager::device_update(), LightManager::device_update_distribution(), Mesh(), BVH::pack_instances(), and Object::tag_update().
Definition at line 73 of file mesh.h.
Referenced by add_face_normals(), add_vertex_normals(), Object::apply_transform(), clear(), and Mesh().
size_t Mesh::tri_offset |
Definition at line 82 of file mesh.h.
Referenced by MeshManager::device_update_attributes(), LightManager::device_update_distribution(), MeshManager::device_update_mesh(), MeshManager::displace(), Mesh(), BVH::pack_instances(), and RegularBVH::refit_node().
vector<Triangle> Mesh::triangles |
Definition at line 64 of file mesh.h.
Referenced by AttributeSet::add(), add_face_normals(), BVHBuild::add_reference_mesh(), add_triangle(), add_vertex_normals(), Object::apply_transform(), BVH::cache_read(), clear(), MeshManager::device_update_attributes(), LightManager::device_update_distribution(), MeshManager::device_update_mesh(), ObjectManager::device_update_transforms(), MeshManager::displace(), pack_normals(), BVH::pack_triangle(), pack_verts(), RegularBVH::refit_node(), reserve(), EdgeDice::reserve(), and BVHBuild::split_reference().
vector<uint> Mesh::used_shaders |
Definition at line 68 of file mesh.h.
Referenced by clear(), MeshManager::device_update(), MeshManager::device_update_attributes(), LightManager::device_update_distribution(), MeshManager::displace(), mesh_need_attribute(), Object::tag_update(), tag_update(), xml_read_mesh(), and xml_read_patch().
size_t Mesh::vert_offset |
Definition at line 83 of file mesh.h.
Referenced by MeshManager::device_update_attributes(), MeshManager::device_update_mesh(), and Mesh().
vector<float3> Mesh::verts |
Definition at line 63 of file mesh.h.
Referenced by AttributeSet::add(), add_face_normals(), BVHBuild::add_reference_mesh(), add_vertex_normals(), Object::apply_transform(), BVH::cache_read(), clear(), compute_bounds(), create_mesh(), MeshManager::device_update_attributes(), LightManager::device_update_distribution(), MeshManager::device_update_mesh(), ObjectManager::device_update_transforms(), TriangleDice::dice(), QuadDice::dice(), direct_link_mesh(), MeshManager::displace(), do_versions(), multires_load_old(), pack_normals(), BVH::pack_triangle(), pack_verts(), RegularBVH::refit_node(), EdgeDice::reserve(), reserve(), BVHBuild::split_reference(), and xml_read_mesh().