Blender  V3.3
Typedefs | Enumerations | Functions | Variables
sculpt_mask_init.c File Reference
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_hash.h"
#include "BLI_math.h"
#include "BLI_task.h"
#include "BLT_translation.h"
#include "PIL_time.h"
#include "DNA_brush_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "BKE_brush.h"
#include "BKE_ccg.h"
#include "BKE_context.h"
#include "BKE_mesh.h"
#include "BKE_multires.h"
#include "BKE_node.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_pbvh.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "ED_sculpt.h"
#include "paint_intern.h"
#include "sculpt_intern.h"
#include "bmesh.h"
#include <math.h>
#include <stdlib.h>

Go to the source code of this file.

Typedefs

typedef enum eSculptMaskInitMode eSculptMaskInitMode
 

Enumerations

enum  eSculptMaskInitMode { SCULPT_MASK_INIT_RANDOM_PER_VERTEX , SCULPT_MASK_INIT_RANDOM_PER_FACE_SET , SCULPT_MASK_INIT_RANDOM_PER_LOOSE_PART }
 

Functions

static void mask_init_task_cb (void *__restrict userdata, const int i, const TaskParallelTLS *__restrict UNUSED(tls))
 
static int sculpt_mask_init_exec (bContext *C, wmOperator *op)
 
void SCULPT_OT_mask_init (wmOperatorType *ot)
 

Variables

static EnumPropertyItem prop_sculpt_mask_init_mode_types []
 

Typedef Documentation

◆ eSculptMaskInitMode

Enumeration Type Documentation

◆ eSculptMaskInitMode

Enumerator
SCULPT_MASK_INIT_RANDOM_PER_VERTEX 
SCULPT_MASK_INIT_RANDOM_PER_FACE_SET 
SCULPT_MASK_INIT_RANDOM_PER_LOOSE_PART 

Definition at line 54 of file sculpt_mask_init.c.

Function Documentation

◆ mask_init_task_cb()

static void mask_init_task_cb ( void *__restrict  userdata,
const int  i,
const TaskParallelTLS *__restrict   UNUSEDtls 
)
static

◆ sculpt_mask_init_exec()

static int sculpt_mask_init_exec ( bContext C,
wmOperator op 
)
static

◆ SCULPT_OT_mask_init()

void SCULPT_OT_mask_init ( wmOperatorType ot)

Variable Documentation

◆ prop_sculpt_mask_init_mode_types

EnumPropertyItem prop_sculpt_mask_init_mode_types[]
static
Initial value:
= {
{
"RANDOM_PER_VERTEX",
0,
"Random per Vertex",
"",
},
{
"RANDOM_PER_FACE_SET",
0,
"Random per Face Set",
"",
},
{
"RANDOM_PER_LOOSE_PART",
0,
"Random per Loose Part",
"",
},
{0, NULL, 0, NULL, NULL},
}
@ SCULPT_MASK_INIT_RANDOM_PER_LOOSE_PART
@ SCULPT_MASK_INIT_RANDOM_PER_FACE_SET
@ SCULPT_MASK_INIT_RANDOM_PER_VERTEX

Definition at line 60 of file sculpt_mask_init.c.

Referenced by SCULPT_OT_mask_init().