Blender  V2.93
Macros
particle_edit_utildefines.h File Reference

Go to the source code of this file.

Macros

#define KEY_K
 
#define POINT_P
 
#define LOOP_POINTS   for (p = 0, point = edit->points; p < edit->totpoint; p++, point++)
 
#define LOOP_VISIBLE_POINTS
 
#define LOOP_SELECTED_POINTS
 
#define LOOP_UNSELECTED_POINTS
 
#define LOOP_EDITED_POINTS
 
#define LOOP_TAGGED_POINTS
 
#define LOOP_KEYS   for (k = 0, key = point->keys; k < point->totkey; k++, key++)
 
#define LOOP_VISIBLE_KEYS
 
#define LOOP_SELECTED_KEYS
 
#define LOOP_TAGGED_KEYS
 
#define KEY_WCO   ((key->flag & PEK_USE_WCO) ? key->world_co : key->co)
 

Macro Definition Documentation

◆ KEY_K

#define KEY_K
Value:

Definition at line 26 of file particle_edit_utildefines.h.

◆ KEY_WCO

#define KEY_WCO   ((key->flag & PEK_USE_WCO) ? key->world_co : key->co)

Definition at line 59 of file particle_edit_utildefines.h.

◆ LOOP_EDITED_POINTS

#define LOOP_EDITED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (point->flag & PEP_EDIT_RECALC)
#define PEP_EDIT_RECALC

Definition at line 42 of file particle_edit_utildefines.h.

◆ LOOP_KEYS

#define LOOP_KEYS   for (k = 0, key = point->keys; k < point->totkey; k++, key++)

Definition at line 48 of file particle_edit_utildefines.h.

◆ LOOP_POINTS

#define LOOP_POINTS   for (p = 0, point = edit->points; p < edit->totpoint; p++, point++)

Definition at line 32 of file particle_edit_utildefines.h.

◆ LOOP_SELECTED_KEYS

#define LOOP_SELECTED_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if ((key->flag & PEK_SELECT) && !(key->flag & PEK_HIDE))
#define PEK_HIDE
#define PEK_SELECT

Definition at line 52 of file particle_edit_utildefines.h.

◆ LOOP_SELECTED_POINTS

#define LOOP_SELECTED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (point_is_selected(point))
static bool point_is_selected(PTCacheEditPoint *point)

Definition at line 36 of file particle_edit_utildefines.h.

◆ LOOP_TAGGED_KEYS

#define LOOP_TAGGED_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if (key->flag & PEK_TAG)
#define PEK_TAG

Definition at line 55 of file particle_edit_utildefines.h.

◆ LOOP_TAGGED_POINTS

#define LOOP_TAGGED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (point->flag & PEP_TAG)
#define PEP_TAG

Definition at line 45 of file particle_edit_utildefines.h.

◆ LOOP_UNSELECTED_POINTS

#define LOOP_UNSELECTED_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (!point_is_selected(point))

Definition at line 39 of file particle_edit_utildefines.h.

◆ LOOP_VISIBLE_KEYS

#define LOOP_VISIBLE_KEYS
Value:
for (k = 0, key = point->keys; k < point->totkey; k++, key++) \
if (!(key->flag & PEK_HIDE))

Definition at line 49 of file particle_edit_utildefines.h.

◆ LOOP_VISIBLE_POINTS

#define LOOP_VISIBLE_POINTS
Value:
for (p = 0, point = edit->points; p < edit->totpoint; p++, point++) \
if (!(point->flag & PEP_HIDE))
#define PEP_HIDE

Definition at line 33 of file particle_edit_utildefines.h.

◆ POINT_P

#define POINT_P
Value:

Definition at line 29 of file particle_edit_utildefines.h.