Blender V2.61 - r43446
Public Attributes

DerivedMesh Struct Reference

#include <BKE_DerivedMesh.h>

List of all members.

Public Attributes

CustomData vertData
CustomData edgeData
CustomData faceData
int numVertData
int numEdgeData
int numFaceData
int needsFree
int deformedOnly
BVHCache bvhCache
struct GPUDrawObjectdrawObject
DerivedMeshType type
float auto_bump_scale
int(* getNumVerts )(DerivedMesh *dm)
int(* getNumFaces )(DerivedMesh *dm)
int(* getNumEdges )(DerivedMesh *dm)
void(* getVert )(DerivedMesh *dm, int index, struct MVert *vert_r)
void(* getEdge )(DerivedMesh *dm, int index, struct MEdge *edge_r)
void(* getFace )(DerivedMesh *dm, int index, struct MFace *face_r)
struct MVert *(* getVertArray )(DerivedMesh *dm)
struct MEdge *(* getEdgeArray )(DerivedMesh *dm)
struct MFace *(* getFaceArray )(DerivedMesh *dm)
void(* copyVertArray )(DerivedMesh *dm, struct MVert *vert_r)
void(* copyEdgeArray )(DerivedMesh *dm, struct MEdge *edge_r)
void(* copyFaceArray )(DerivedMesh *dm, struct MFace *face_r)
struct MVert *(* dupVertArray )(DerivedMesh *dm)
struct MEdge *(* dupEdgeArray )(DerivedMesh *dm)
struct MFace *(* dupFaceArray )(DerivedMesh *dm)
void *(* getVertData )(DerivedMesh *dm, int index, int type)
void *(* getEdgeData )(DerivedMesh *dm, int index, int type)
void *(* getFaceData )(DerivedMesh *dm, int index, int type)
void *(* getVertDataArray )(DerivedMesh *dm, int type)
void *(* getEdgeDataArray )(DerivedMesh *dm, int type)
void *(* getFaceDataArray )(DerivedMesh *dm, int type)
int(* getNumGrids )(DerivedMesh *dm)
int(* getGridSize )(DerivedMesh *dm)
DMGridData **(* getGridData )(DerivedMesh *dm)
DMGridAdjacency *(* getGridAdjacency )(DerivedMesh *dm)
int *(* getGridOffset )(DerivedMesh *dm)
void(* foreachMappedVert )(DerivedMesh *dm, void(*func)(void *userData, int index, float *co, float *no_f, short *no_s), void *userData)
void(* foreachMappedEdge )(DerivedMesh *dm, void(*func)(void *userData, int index, float *v0co, float *v1co), void *userData)
void(* foreachMappedFaceCenter )(DerivedMesh *dm, void(*func)(void *userData, int index, float *cent, float *no), void *userData)
void(* getMinMax )(DerivedMesh *dm, float min_r[3], float max_r[3])
void(* getVertCo )(DerivedMesh *dm, int index, float co_r[3])
void(* getVertCos )(DerivedMesh *dm, float(*cos_r)[3])
void(* getVertNo )(DerivedMesh *dm, int index, float no_r[3])
struct ListBase *(* getFaceMap )(struct Object *ob, DerivedMesh *dm)
struct PBVH *(* getPBVH )(struct Object *ob, DerivedMesh *dm)
void(* drawVerts )(DerivedMesh *dm)
void(* drawUVEdges )(DerivedMesh *dm)
void(* drawEdges )(DerivedMesh *dm, int drawLooseEdges, int drawAllEdges)
void(* drawLooseEdges )(DerivedMesh *dm)
void(* drawFacesSolid )(DerivedMesh *dm, float(*partial_redraw_planes)[4], int fast, int(*setMaterial)(int, void *attribs))
void(* drawFacesColored )(DerivedMesh *dm, int useTwoSided, unsigned char *col1, unsigned char *col2)
void(* drawFacesTex )(DerivedMesh *dm, int(*setDrawOptions)(struct MTFace *tface, int has_mcol, int matnr), int(*compareDrawOptions)(void *userData, int cur_index, int next_index), void *userData)
void(* drawFacesGLSL )(DerivedMesh *dm, int(*setMaterial)(int, void *attribs))
void(* drawMappedFaces )(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index, int *drawSmooth_r), int(*setMaterial)(int, void *attribs), int(*compareDrawOptions)(void *userData, int cur_index, int next_index), void *userData, int useColors)
void(* drawMappedFacesTex )(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index), int(*compareDrawOptions)(void *userData, int cur_index, int next_index), void *userData)
void(* drawMappedFacesGLSL )(DerivedMesh *dm, int(*setMaterial)(int, void *attribs), int(*setDrawOptions)(void *userData, int index), void *userData)
void(* drawMappedEdges )(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index), void *userData)
void(* drawMappedEdgesInterp )(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index), void(*setDrawInterpOptions)(void *userData, int index, float t), void *userData)
void(* drawMappedFacesMat )(DerivedMesh *dm, void(*setMaterial)(void *userData, int, void *attribs), int(*setFace)(void *userData, int index), void *userData)
void(* release )(DerivedMesh *dm)

Detailed Description

Definition at line 88 of file BKE_DerivedMesh.h.


Member Data Documentation

void(* DerivedMesh::copyEdgeArray)(DerivedMesh *dm, struct MEdge *edge_r)
void(* DerivedMesh::copyFaceArray)(DerivedMesh *dm, struct MFace *face_r)
void(* DerivedMesh::copyVertArray)(DerivedMesh *dm, struct MVert *vert_r)
void(* DerivedMesh::drawEdges)(DerivedMesh *dm, int drawLooseEdges, int drawAllEdges)
void(* DerivedMesh::drawFacesColored)(DerivedMesh *dm, int useTwoSided, unsigned char *col1, unsigned char *col2)

Definition at line 251 of file BKE_DerivedMesh.h.

Referenced by cdDM_create(), and getCCGDerivedMesh().

void(* DerivedMesh::drawFacesGLSL)(DerivedMesh *dm, int(*setMaterial)(int, void *attribs))
void(* DerivedMesh::drawFacesSolid)(DerivedMesh *dm, float(*partial_redraw_planes)[4], int fast, int(*setMaterial)(int, void *attribs))
void(* DerivedMesh::drawFacesTex)(DerivedMesh *dm, int(*setDrawOptions)(struct MTFace *tface,int has_mcol, int matnr), int(*compareDrawOptions)(void *userData,int cur_index,int next_index), void *userData)

Definition at line 234 of file BKE_DerivedMesh.h.

Referenced by cdDM_create(), draw_mesh_fancy(), and getCCGDerivedMesh().

void(* DerivedMesh::drawMappedEdges)(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index), void *userData)
void(* DerivedMesh::drawMappedEdgesInterp)(DerivedMesh *dm, int(*setDrawOptions)(void *userData,int index), void(*setDrawInterpOptions)(void *userData,int index,float t), void *userData)
void(* DerivedMesh::drawMappedFaces)(DerivedMesh *dm, int(*setDrawOptions)(void *userData, int index,int *drawSmooth_r), int(*setMaterial)(int, void *attribs), int(*compareDrawOptions)(void *userData,int cur_index,int next_index), void *userData, int useColors)
void(* DerivedMesh::drawMappedFacesGLSL)(DerivedMesh *dm, int(*setMaterial)(int, void *attribs), int(*setDrawOptions)(void *userData, int index), void *userData)
void(* DerivedMesh::drawMappedFacesMat)(DerivedMesh *dm, void(*setMaterial)(void *userData, int, void *attribs), int(*setFace)(void *userData, int index), void *userData)
void(* DerivedMesh::drawMappedFacesTex)(DerivedMesh *dm, int(*setDrawOptions)(void *userData,int index), int(*compareDrawOptions)(void *userData,int cur_index,int next_index), void *userData)

Definition at line 222 of file BKE_DerivedMesh.h.

Referenced by cdDM_create(), draw_mesh_fancy(), and getCCGDerivedMesh().

Definition at line 137 of file BKE_DerivedMesh.h.

Referenced by CDDM_copy(), DM_init_funcs(), and DM_to_mesh().

Definition at line 138 of file BKE_DerivedMesh.h.

Referenced by CDDM_copy(), deformVerts(), DM_init_funcs(), and DM_to_mesh().

Definition at line 136 of file BKE_DerivedMesh.h.

Referenced by CDDM_copy(), deformVerts(), DM_init_funcs(), and DM_to_mesh().

Definition at line 90 of file BKE_DerivedMesh.h.

Referenced by add_tface_color_layer(), add_weight_mcol_dm(), apply_heights_callback(), apply_tangmat_callback(), applyModifier(), arrayModifier_doArray(), BL_ConvertMesh(), BME_bmesh_to_derivedmesh(), BME_derivedmesh_to_bmesh(), buildRawVertIndicesData(), CDDM_calc_normals(), CDDM_copy(), cdDM_drawFacesSolid(), CDDM_from_editmesh(), CDDM_from_mesh(), CDDM_from_template(), CDDM_lower_num_faces(), CDDM_new(), cdDM_update_normals_from_pbvh(), ConvertCSGDescriptorsToDerivedMesh(), count_images(), cutEdges(), DM_add_face_layer(), DM_add_tangent_layer(), dm_calc_normal(), DM_copy_face_data(), DM_free_face_data(), DM_from_template(), DM_get_face_data(), DM_get_face_data_layer(), dm_getFaceArray(), DM_interp_face_data(), DM_release(), DM_set_face_data(), DM_set_only_copy(), DM_swap_face_data(), DM_to_mesh(), DM_vertex_attributes_from_gpu(), do_multires_bake(), doMirrorOnAxis(), draw_mesh_textured_old(), draw_uvs_dm_shadow(), dynamicPaint_createUVSurface(), dynamicPaint_findNeighbourPixel(), dynamicPaint_Modifier_apply(), editmesh_calc_modifiers(), emDM_getFaceDataArray(), explodeMesh(), get_particle_uv(), get_particle_uvco_mcol(), get_texture_coords(), getCCGDerivedMesh(), init_render_dm(), init_render_mesh(), InterpCSGFace(), mesh_calc_modifiers(), multiresbake_startjob(), project_paint_begin(), psys_get_dupli_texture(), psys_particle_on_dm(), RE_inithalo_particle(), RE_sample_material_color(), remap_uvs_15(), remap_uvs_19_21_22(), remap_uvs_23(), remap_uvs_3_6_9_12(), remap_uvs_5_10(), remap_uvs_7_11_13_14(), render_new_particle_system(), set_subsurf_uv(), CcdShapeConstructionInfo::UpdateMesh(), use_mesh_edge_lookup(), and uvprojectModifier_do().

void(* DerivedMesh::foreachMappedEdge)(DerivedMesh *dm, void(*func)(void *userData, int index,float *v0co, float *v1co), void *userData)
void(* DerivedMesh::foreachMappedFaceCenter)(DerivedMesh *dm, void(*func)(void *userData, int index,float *cent, float *no), void *userData)
void(* DerivedMesh::foreachMappedVert)(DerivedMesh *dm, void(*func)(void *userData, int index, float *co,float *no_f, short *no_s), void *userData)
void(* DerivedMesh::getEdge)(DerivedMesh *dm, int index, struct MEdge *edge_r)
void*(* DerivedMesh::getEdgeData)(DerivedMesh *dm, int index, int type)

Definition at line 145 of file BKE_DerivedMesh.h.

Referenced by cdDM_create(), DM_init_funcs(), and getCCGDerivedMesh().

void(* DerivedMesh::getFace)(DerivedMesh *dm, int index, struct MFace *face_r)
void*(* DerivedMesh::getFaceData)(DerivedMesh *dm, int index, int type)
struct ListBase*(* DerivedMesh::getFaceMap)(struct Object *ob, DerivedMesh *dm) [read]

Definition at line 160 of file BKE_DerivedMesh.h.

Referenced by getCCGDerivedMesh().

void(* DerivedMesh::getMinMax)(DerivedMesh *dm, float min_r[3], float max_r[3])

Definition at line 104 of file BKE_DerivedMesh.h.

Referenced by add_tface_color_layer(), applyModifier(), arrayModifier_doArray(), BKE_mesh_validate_dm(), BL_ConvertMesh(), BME_derivedmesh_to_bmesh(), buildRawVertIndicesData(), bvhtree_from_mesh_faces(), cache_strand_surface(), cdDM_create(), cdDM_drawFacesTex_common(), cloth_build_springs(), cloth_from_mesh(), ConvertCSGDescriptorsToDerivedMesh(), count_images(), createFacepa(), createVertsTrisData(), cutEdges(), deformVerts(), distribute_grid(), distribute_threads_exec(), distribute_threads_init_data(), DM_add_tangent_layer(), DM_calc_auto_bump_scale(), dm_calc_normal(), dm_dupFaceArray(), dm_getFaceArray(), DM_to_mesh(), do_multires_bake(), doMirrorOnAxis(), draw_mesh_fancy(), drawCurveDerivedMesh(), drawObjectSelect(), dynamicPaint_createUVSurface(), dynamicPaint_findNeighbourPixel(), dynamicPaint_initAdjacencyData(), dynamicPaint_Modifier_apply(), editmesh_get_derived(), explodeMesh(), face_duplilist(), FaceIt_Construct(), FaceIt_Done(), get_particle_uv(), get_texture_coords(), getCCGDerivedMesh(), GPU_buffer_copy_color3(), GPU_buffer_copy_mcol(), GPU_buffer_copy_normal(), GPU_buffer_copy_uv(), GPU_buffer_copy_vertex(), GPU_drawobject_new(), imapaint_pick_uv(), init_render_dm(), init_render_mesh(), initElbeemMesh(), make_mesh_edge_lookup(), mesh_to_curve(), meshdeform_intersect(), multiresbake_startjob(), NewBooleanDerivedMesh_intern(), NewBooleanMesh(), paintface_flush_flags(), particle_intersect_dm(), peelDerivedMesh(), project_paint_begin(), psys_calc_dmcache(), psys_face_mat(), psys_get_dupli_texture(), psys_map_index_on_dm(), psys_particle_dm_face_lookup(), psys_render_simplify_distribution(), recalc_emitter_field(), render_new_particle_system(), sculpt_update_mesh_elements(), CcdShapeConstructionInfo::SetMesh(), smoothmesh_from_derivedmesh(), snapDerivedMesh(), ss_sync_from_derivedmesh(), ss_sync_from_uv(), stats_object(), CcdShapeConstructionInfo::UpdateMesh(), and uvprojectModifier_do().

Definition at line 102 of file BKE_DerivedMesh.h.

Referenced by add_orco_dm(), applyModifier(), arrayModifier_doArray(), BKE_mesh_validate_dm(), BKE_object_foreach_display_point(), BL_ConvertMesh(), BME_derivedmesh_to_bmesh(), buildRawVertIndicesData(), bvhtree_from_mesh_verts(), cache_strand_surface(), cdDM_create(), cdDM_getPBVH(), cloth_apply_vgroup(), cloth_build_springs(), cloth_from_mesh(), cloth_from_object(), cloth_to_object(), clothModifier_do(), connect_hair(), contarget_get_mesh_mat(), createFacepa(), createVertsTrisData(), curve_calc_modifiers_post(), cutEdges(), deformVerts(), distribute_grid(), distribute_threads_init_data(), DM_add_tangent_layer(), dm_calc_normal(), dm_dupVertArray(), dm_getVertArray(), DM_to_mesh(), DM_to_meshkey(), do_hair_dynamics(), doMirrorOnAxis(), dynamicPaint_brushMeshCalculateVelocity(), dynamicPaint_generateBakeData(), dynamicPaint_paintMesh(), dynamicPaint_surfaceHasMoved(), dynamicPaint_surfaceNumOfPoints(), editmesh_calc_modifiers(), editmesh_get_derived(), explodeMesh(), getCCGDerivedMesh(), give_parvert(), GPU_drawobject_new(), init_render_dm(), init_render_mesh(), initElbeemMesh(), mesh_calc_modifiers(), mesh_deform_bind(), meshdeformModifier_do(), multires_load_old_dm(), multiresModifier_base_apply(), multiresModifier_reshapeFromDeformMod(), multiresModifier_reshapeFromDM(), paintvert_flush_flags(), peelDerivedMesh(), pointdensity_cache_object(), project_paint_begin(), psys_cache_vgroup(), psys_calc_dmcache(), psys_map_index_on_dm(), sculpt_update_mesh_elements(), CcdShapeConstructionInfo::SetMesh(), shrinkwrapModifier_deform(), smoothmesh_from_derivedmesh(), snapDerivedMesh(), ss_sync_from_derivedmesh(), ss_sync_from_uv(), stats_object(), CcdShapeConstructionInfo::UpdateMesh(), uvprojectModifier_do(), vertex_duplilist(), VertexIt_Construct(), and VertexIt_Done().

struct PBVH*(* DerivedMesh::getPBVH)(struct Object *ob, DerivedMesh *dm) [read]
void(* DerivedMesh::getVert)(DerivedMesh *dm, int index, struct MVert *vert_r)
void(* DerivedMesh::getVertCo)(DerivedMesh *dm, int index, float co_r[3])
void(* DerivedMesh::getVertCos)(DerivedMesh *dm, float(*cos_r)[3])
void*(* DerivedMesh::getVertData)(DerivedMesh *dm, int index, int type)
void(* DerivedMesh::getVertNo)(DerivedMesh *dm, int index, float no_r[3])

Definition at line 348 of file BKE_DerivedMesh.h.

Referenced by add_verts_to_dgroups(), applyModifier(), arrayModifier_doArray(), bbs_mesh_solid(), BL_ConvertMesh(), BL_CreatePhysicsObjectNew(), brush_add(), KX_NavMeshObject::BuildVertIndArrays(), canvas_copyDerivedMesh(), cdDM_create(), clear_mesh_caches(), connect_hair(), contarget_get_mesh_mat(), convert_exec(), crazyspace_get_mapped_editverts(), createVertsTrisData(), curve_calc_modifiers_post(), curve_calc_orcodm(), deformMatrices(), deformMatricesEM(), deformVerts(), deformVertsEM(), distribute_particles_on_dm(), distribute_threads_init_data(), dm_deform_clear(), do_hair_dynamics(), draw_mesh_fancy(), draw_mesh_object(), draw_mesh_text(), draw_object_backbufsel(), draw_object_mesh_instance(), draw_uvs(), dupli_render_particle_set(), dynamicPaint_brushMeshCalculateVelocity(), dynamicPaint_freeBrush(), dynamicPaint_freeCanvas(), dynamicPaint_Modifier_apply(), dynamicPaint_paintMesh(), editmesh_build_data(), editmesh_calc_modifiers(), editmesh_get_derived(), editmesh_get_first_deform_matrices(), face_duplilist(), free_editMesh(), free_hair(), free_heights_data(), freeData(), getCCGDerivedMesh(), imapaint_pick_uv(), init_render_curve(), init_render_mesh(), init_render_object_data(), init_render_surf(), initElbeemMesh(), mesh_calc_modifiers(), mesh_create_derived_for_modifier(), mesh_deform_bind(), mesh_foreachScreenEdge(), mesh_foreachScreenFace(), mesh_foreachScreenVert(), mesh_get_mapped_verts_nors(), mesh_to_curve(), meshdeform_bind_exec(), meshdeformModifier_do(), mirrorModifier__doMirror(), modifier_apply_obdata(), modifier_apply_shape(), multires_apply_smat(), multires_force_update(), multires_load_old(), multires_subdivide(), multiresbake_create_hiresdm(), multiresbake_create_loresdm(), multiresbake_freejob(), multiresbake_image_exec_locked(), multiresModifier_base_apply(), multiresModifier_reshapeFromDeformMod(), multiresModifier_reshapeFromDM(), multiresModifier_update(), NewBooleanMesh(), object_free_display(), object_handle_update(), GeometryExporter::operator()(), peelObjects(), pointdensity_cache_object(), pointdensity_cache_psys(), project_paint_begin(), project_paint_end(), psys_render_restore(), sculpt_get_first_deform_matrices(), CcdShapeConstructionInfo::SetMesh(), shrinkwrap_get_tarmat(), shrinkwrapModifier_deform(), smokeModifier_freeCollision(), smokeModifier_reset(), snapObject(), subsurf_calculate_limit_positions(), BL_ModifierDeformer::Update(), CcdShapeConstructionInfo::UpdateMesh(), vertex_duplilist(), weight_sample_invoke(), and BL_ModifierDeformer::~BL_ModifierDeformer().


The documentation for this struct was generated from the following file: