Blender V4.3
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

◆ KEY_WCO

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

◆ 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 27 of file particle_edit_utildefines.h.

Referenced by recalc_lengths(), and update_velocities().

◆ LOOP_KEYS

◆ LOOP_POINTS

◆ 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 37 of file particle_edit_utildefines.h.

Referenced by count_selected_keys(), foreach_selected_key(), PE_deselect_all_visible_ex(), PE_minmax(), pe_select_all_exec(), point_is_selected(), select_less_keys(), and weight_set_exec().

◆ 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 21 of file particle_edit_utildefines.h.

Referenced by calculate_average_length(), foreach_selected_point(), hide_exec(), remove_doubles_exec(), scale_points_to_length(), and weight_set_exec().

◆ 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 40 of file particle_edit_utildefines.h.

Referenced by remove_tagged_keys().

◆ 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 30 of file particle_edit_utildefines.h.

Referenced by remove_tagged_particles().

◆ 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 24 of file particle_edit_utildefines.h.

Referenced by hide_exec().

◆ 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 34 of file particle_edit_utildefines.h.

Referenced by for_mouse_hit_keys(), foreach_mouse_hit_key_iter(), foreach_mouse_hit_point(), PE_lasso_select(), pe_select_all_exec(), and select_random_exec().

◆ 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 18 of file particle_edit_utildefines.h.

Referenced by count_selected_keys(), for_mouse_hit_keys(), foreach_mouse_hit_point(), foreach_selected_key(), PE_deselect_all_visible_ex(), PE_lasso_select(), PE_minmax(), PE_mirror_x(), pe_select_all_exec(), and select_random_exec().

◆ POINT_P

#define POINT_P
Value:
int p
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point

Definition at line 14 of file particle_edit_utildefines.h.

Referenced by calculate_average_length(), copy_particle_edit(), count_selected_keys(), for_mouse_hit_keys(), foreach_mouse_hit_point(), foreach_point(), foreach_selected_key(), foreach_selected_point(), hide_exec(), PE_apply_mirror(), PE_create_particle_edit(), PE_deselect_all_visible_ex(), PE_free_ptcache_edit(), PE_hide_keys_time(), PE_lasso_select(), PE_minmax(), PE_mirror_x(), pe_select_all_exec(), PE_update_object(), PE_update_selection(), recalc_lengths(), remove_doubles_exec(), remove_tagged_keys(), remove_tagged_particles(), reveal_exec(), scale_points_to_length(), undoptcache_to_editcache(), update_velocities(), update_world_cos(), and weight_set_exec().