Blender V2.61 - r43446
Functions

BKE_cdderivedmesh.h File Reference

#include "BKE_DerivedMesh.h"

Go to the source code of this file.

Functions

struct DerivedMeshCDDM_new (int numVerts, int numEdges, int numFaces)
struct DerivedMeshCDDM_from_mesh (struct Mesh *mesh, struct Object *ob)
struct DerivedMeshCDDM_from_editmesh (struct EditMesh *em, struct Mesh *me)
struct DerivedMeshCDDM_from_curve (struct Object *ob)
DerivedMeshCDDM_from_curve_customDB (struct Object *ob, struct ListBase *dispbase)
struct DerivedMeshCDDM_copy (struct DerivedMesh *dm)
struct DerivedMeshCDDM_from_template (struct DerivedMesh *source, int numVerts, int numEdges, int numFaces)
void CDDM_apply_vert_coords (struct DerivedMesh *cddm, float(*vertCoords)[3])
void CDDM_apply_vert_normals (struct DerivedMesh *cddm, short(*vertNormals)[3])
void CDDM_calc_normals (struct DerivedMesh *dm)
void CDDM_calc_edges (struct DerivedMesh *dm)
void CDDM_lower_num_verts (struct DerivedMesh *dm, int numVerts)
void CDDM_lower_num_edges (struct DerivedMesh *dm, int numEdges)
void CDDM_lower_num_faces (struct DerivedMesh *dm, int numFaces)
struct MVertCDDM_get_vert (struct DerivedMesh *dm, int index)
struct MEdgeCDDM_get_edge (struct DerivedMesh *dm, int index)
struct MFaceCDDM_get_face (struct DerivedMesh *dm, int index)
struct MVertCDDM_get_verts (struct DerivedMesh *dm)
struct MEdgeCDDM_get_edges (struct DerivedMesh *dm)
struct MFaceCDDM_get_faces (struct DerivedMesh *dm)

Detailed Description

CDDerivedMesh interface

CDDerivedMesh (CD = Custom Data) is a DerivedMesh backend which stores mesh elements (vertices, edges and faces) as layers of custom element data.

Definition in file BKE_cdderivedmesh.h.


Function Documentation

void CDDM_apply_vert_coords ( struct DerivedMesh cddm,
float(*)  vertCoords[3] 
)
void CDDM_apply_vert_normals ( struct DerivedMesh cddm,
short(*)  vertNormals[3] 
)
void CDDM_calc_edges ( struct DerivedMesh dm)
void CDDM_calc_normals ( struct DerivedMesh dm)
struct DerivedMesh* CDDM_copy ( struct DerivedMesh dm) [read]
struct DerivedMesh* CDDM_from_curve ( struct Object ob) [read]

Definition at line 1762 of file cdderivedmesh.c.

References CDDM_from_curve_customDB(), and Object::disp.

Referenced by applyModifier(), and get_dm().

DerivedMesh* CDDM_from_curve_customDB ( struct Object ob,
struct ListBase dispbase 
)
struct DerivedMesh* CDDM_from_editmesh ( struct EditMesh em,
struct Mesh me 
) [read]
struct DerivedMesh* CDDM_from_mesh ( struct Mesh mesh,
struct Object ob 
) [read]
struct DerivedMesh* CDDM_from_template ( struct DerivedMesh source,
int  numVerts,
int  numEdges,
int  numFaces 
) [read]
struct MEdge* CDDM_get_edge ( struct DerivedMesh dm,
int  index 
) [read]

Definition at line 1999 of file cdderivedmesh.c.

Referenced by applyModifier(), and doMirrorOnAxis().

struct MEdge* CDDM_get_edges ( struct DerivedMesh dm) [read]
struct MFace* CDDM_get_face ( struct DerivedMesh dm,
int  index 
) [read]
struct MFace* CDDM_get_faces ( struct DerivedMesh dm) [read]
struct MVert* CDDM_get_vert ( struct DerivedMesh dm,
int  index 
) [read]
struct MVert* CDDM_get_verts ( struct DerivedMesh dm) [read]
void CDDM_lower_num_edges ( struct DerivedMesh dm,
int  numEdges 
)
void CDDM_lower_num_faces ( struct DerivedMesh dm,
int  numFaces 
)
void CDDM_lower_num_verts ( struct DerivedMesh dm,
int  numVerts 
)
struct DerivedMesh* CDDM_new ( int  numVerts,
int  numEdges,
int  numFaces 
) [read]