Blender V2.61 - r43446
Classes | Defines | Typedefs

DNA_mesh_types.h File Reference

#include "DNA_defs.h"
#include "DNA_listBase.h"
#include "DNA_ID.h"
#include "DNA_customdata_types.h"

Go to the source code of this file.

Classes

class  Mesh
struct  TFace

Defines

#define AUTOSPACE   1
#define ME_EDIT_MIRROR_X   (1 << 0)
#define ME_EDIT_MIRROR_Y   (1 << 1)
#define ME_EDIT_MIRROR_Z   (1 << 2)
#define ME_EDIT_PAINT_MASK   (1 << 3)
#define ME_EDIT_MIRROR_TOPO   (1 << 4)
#define ME_EDIT_VERT_SEL   (1 << 5)
#define ME_EDIT_PAINT_SEL_MODE(_me)
#define ME_DEPRECATED   2
#define ME_TWOSIDED   4
#define ME_UVEFFECT   8
#define ME_VCOLEFFECT   16
#define ME_AUTOSMOOTH   32
#define ME_SMESH   64
#define ME_SUBSURF   128
#define ME_OPT_EDGES   256
#define ME_DS_EXPAND   512
#define ME_DRAWEDGES   (1 << 0)
#define ME_DRAWFACES   (1 << 1)
#define ME_DRAWNORMALS   (1 << 2)
#define ME_DRAW_VNORMALS   (1 << 3)
#define ME_ALLEDGES   (1 << 4)
#define ME_HIDDENEDGES   (1 << 5)
#define ME_DRAWCREASES   (1 << 6)
#define ME_DRAWSEAMS   (1 << 7)
#define ME_DRAWSHARP   (1 << 8)
#define ME_DRAWBWEIGHTS   (1 << 9)
#define ME_DRAWEXTRA_EDGELEN   (1 << 10)
#define ME_DRAWEXTRA_FACEAREA   (1 << 11)
#define ME_DRAWEXTRA_FACEANG   (1 << 12)
#define ME_DRAWEXTRA_INDICES   (1 << 13)
#define ME_CC_SUBSURF   0
#define ME_SIMPLE_SUBSURF   1
#define MESH_MAX_VERTS   2000000000L

Typedefs

typedef struct Mesh Mesh
typedef struct TFace TFace

Detailed Description

Definition in file DNA_mesh_types.h.


Define Documentation

#define AUTOSPACE   1
#define ME_ALLEDGES   (1 << 4)

Definition at line 184 of file DNA_mesh_types.h.

Referenced by draw_mesh_fancy(), edge_drawflags(), and rna_def_mesh().

#define ME_AUTOSMOOTH   32

Definition at line 172 of file DNA_mesh_types.h.

Referenced by copy_attr(), init_render_mesh(), and rna_def_mesh().

#define ME_CC_SUBSURF   0

Definition at line 221 of file DNA_mesh_types.h.

Referenced by shrinkwrapModifier_deform().

#define ME_DEPRECATED   2

Definition at line 168 of file DNA_mesh_types.h.

#define ME_DRAW_VNORMALS   (1 << 3)

Definition at line 182 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), and rna_def_mesh().

#define ME_DRAWBWEIGHTS   (1 << 9)

Definition at line 190 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), mouse_mesh_shortest_path(), and rna_def_mesh().

#define ME_DRAWCREASES   (1 << 6)
#define ME_DRAWEDGES   (1 << 0)
#define ME_DRAWEXTRA_EDGELEN   (1 << 10)
#define ME_DRAWEXTRA_FACEANG   (1 << 12)

Definition at line 194 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), draw_em_measure_stats(), and rna_def_mesh().

#define ME_DRAWEXTRA_FACEAREA   (1 << 11)

Definition at line 193 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), draw_em_measure_stats(), and rna_def_mesh().

#define ME_DRAWEXTRA_INDICES   (1 << 13)

Definition at line 197 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), and rna_def_mesh().

#define ME_DRAWFACES   (1 << 1)
#define ME_DRAWNORMALS   (1 << 2)

Definition at line 181 of file DNA_mesh_types.h.

Referenced by draw_em_fancy(), and rna_def_mesh().

#define ME_DRAWSEAMS   (1 << 7)
#define ME_DRAWSHARP   (1 << 8)
#define ME_DS_EXPAND   512

Definition at line 176 of file DNA_mesh_types.h.

Referenced by acf_dsmesh_setting_flag().

#define ME_EDIT_MIRROR_TOPO   (1 << 4)
#define ME_EDIT_MIRROR_X   (1 << 0)
#define ME_EDIT_MIRROR_Y   (1 << 1)

Definition at line 151 of file DNA_mesh_types.h.

#define ME_EDIT_MIRROR_Z   (1 << 2)

Definition at line 152 of file DNA_mesh_types.h.

#define ME_EDIT_PAINT_MASK   (1 << 3)
#define ME_EDIT_PAINT_SEL_MODE (   _me)
Value:
(                                        \
    (_me->editflag & ME_EDIT_PAINT_MASK) ? SCE_SELECT_FACE :                  \
        (_me->editflag & ME_EDIT_VERT_SEL) ? SCE_SELECT_VERTEX :              \
            0                                                                 \
    )

Definition at line 160 of file DNA_mesh_types.h.

Referenced by vgroup_object_in_wpaint_vert_select(), and wpaint_fill().

#define ME_EDIT_VERT_SEL   (1 << 5)
#define ME_HIDDENEDGES   (1 << 5)

Definition at line 185 of file DNA_mesh_types.h.

Referenced by draw_mesh_face_select__setHiddenOpts().

#define ME_OPT_EDGES   256

Definition at line 175 of file DNA_mesh_types.h.

Referenced by do_versions().

#define ME_SIMPLE_SUBSURF   1
#define ME_SMESH   64

Definition at line 173 of file DNA_mesh_types.h.

Referenced by do_versions().

#define ME_SUBSURF   128

Definition at line 174 of file DNA_mesh_types.h.

Referenced by do_versions().

#define ME_TWOSIDED   4
#define ME_UVEFFECT   8

Definition at line 170 of file DNA_mesh_types.h.

#define ME_VCOLEFFECT   16

Definition at line 171 of file DNA_mesh_types.h.

#define MESH_MAX_VERTS   2000000000L

Definition at line 224 of file DNA_mesh_types.h.

Referenced by ED_object_exit_editmode(), and join_mesh_exec().


Typedef Documentation

typedef struct Mesh Mesh
typedef struct TFace TFace