Blender V2.61 - r43446
Classes | Defines | Typedefs | Enumerations

DNA_brush_types.h File Reference

#include "DNA_ID.h"
#include "DNA_texture_types.h"

Go to the source code of this file.

Classes

struct  BrushClone
struct  Brush

Defines

#define BRUSH_AIRBRUSH   (1<<0)
#define BRUSH_TORUS   (1<<1)
#define BRUSH_ALPHA_PRESSURE   (1<<2)
#define BRUSH_SIZE_PRESSURE   (1<<3)
#define BRUSH_JITTER_PRESSURE   (1<<4)
#define BRUSH_SPACING_PRESSURE   (1<<5)
#define BRUSH_FIXED_TEX   (1<<6)
#define BRUSH_RAKE   (1<<7)
#define BRUSH_ANCHORED   (1<<8)
#define BRUSH_DIR_IN   (1<<9)
#define BRUSH_SPACE   (1<<10)
#define BRUSH_SMOOTH_STROKE   (1<<11)
#define BRUSH_PERSISTENT   (1<<12)
#define BRUSH_ACCUMULATE   (1<<13)
#define BRUSH_LOCK_ALPHA   (1<<14)
#define BRUSH_ORIGINAL_NORMAL   (1<<15)
#define BRUSH_OFFSET_PRESSURE   (1<<16)
#define BRUSH_SPACE_ATTEN   (1<<18)
#define BRUSH_ADAPTIVE_SPACE   (1<<19)
#define BRUSH_LOCK_SIZE   (1<<20)
#define BRUSH_TEXTURE_OVERLAY   (1<<21)
#define BRUSH_EDGE_TO_EDGE   (1<<22)
#define BRUSH_RESTORE_MESH   (1<<23)
#define BRUSH_INVERSE_SMOOTH_PRESSURE   (1<<24)
#define BRUSH_RANDOM_ROTATION   (1<<25)
#define BRUSH_PLANE_TRIM   (1<<26)
#define BRUSH_FRONTFACE   (1<<27)
#define BRUSH_CUSTOM_ICON   (1<<28)
#define BRUSH_INVERTED   (1<<29)
#define SCULPT_TOOL_DRAW   1
#define SCULPT_TOOL_SMOOTH   2
#define SCULPT_TOOL_PINCH   3
#define SCULPT_TOOL_INFLATE   4
#define SCULPT_TOOL_GRAB   5
#define SCULPT_TOOL_LAYER   6
#define SCULPT_TOOL_FLATTEN   7
#define SCULPT_TOOL_CLAY   8
#define SCULPT_TOOL_FILL   9
#define SCULPT_TOOL_SCRAPE   10
#define SCULPT_TOOL_NUDGE   11
#define SCULPT_TOOL_THUMB   12
#define SCULPT_TOOL_SNAKE_HOOK   13
#define SCULPT_TOOL_ROTATE   14
#define SCULPT_TOOL_CREASE   16
#define SCULPT_TOOL_BLOB   17
#define SCULPT_TOOL_CLAY_TUBES   18
#define PAINT_TOOL_DRAW   0
#define PAINT_TOOL_SOFTEN   1
#define PAINT_TOOL_SMEAR   2
#define PAINT_TOOL_CLONE   3
#define MAX_BRUSH_PIXEL_RADIUS   200

Typedefs

typedef struct BrushClone BrushClone
typedef struct Brush Brush

Enumerations

enum  {
  SCULPT_DISP_DIR_AREA, SCULPT_DISP_DIR_VIEW, SCULPT_DISP_DIR_X, SCULPT_DISP_DIR_Y,
  SCULPT_DISP_DIR_Z
}
enum  {
  PAINT_BLEND_MIX, PAINT_BLEND_ADD, PAINT_BLEND_SUB, PAINT_BLEND_MUL,
  PAINT_BLEND_BLUR, PAINT_BLEND_LIGHTEN, PAINT_BLEND_DARKEN
}

Detailed Description

Definition in file DNA_brush_types.h.


Define Documentation

#define BRUSH_ACCUMULATE   (1<<13)
#define BRUSH_ADAPTIVE_SPACE   (1<<19)

Definition at line 123 of file DNA_brush_types.h.

Referenced by brush_debug_print_state(), and rna_def_brush().

#define BRUSH_AIRBRUSH   (1<<0)
#define BRUSH_ALPHA_PRESSURE   (1<<2)
#define BRUSH_ANCHORED   (1<<8)
#define BRUSH_CUSTOM_ICON   (1<<28)
#define BRUSH_DIR_IN   (1<<9)
#define BRUSH_EDGE_TO_EDGE   (1<<22)
#define BRUSH_FIXED_TEX   (1<<6)
#define BRUSH_FRONTFACE   (1<<27)
#define BRUSH_INVERSE_SMOOTH_PRESSURE   (1<<24)

Definition at line 128 of file DNA_brush_types.h.

Referenced by brush_debug_print_state(), do_brush_action(), and rna_def_brush().

#define BRUSH_INVERTED   (1<<29)
#define BRUSH_JITTER_PRESSURE   (1<<4)
#define BRUSH_LOCK_ALPHA   (1<<14)
#define BRUSH_LOCK_SIZE   (1<<20)
#define BRUSH_OFFSET_PRESSURE   (1<<16)

Definition at line 121 of file DNA_brush_types.h.

Referenced by brush_debug_print_state(), get_offset(), and rna_def_brush().

#define BRUSH_ORIGINAL_NORMAL   (1<<15)
#define BRUSH_PERSISTENT   (1<<12)
#define BRUSH_PLANE_TRIM   (1<<26)

Definition at line 130 of file DNA_brush_types.h.

Referenced by brush_debug_print_state(), plane_trim(), and rna_def_brush().

#define BRUSH_RAKE   (1<<7)
#define BRUSH_RANDOM_ROTATION   (1<<25)
#define BRUSH_RESTORE_MESH   (1<<23)
#define BRUSH_SIZE_PRESSURE   (1<<3)
#define BRUSH_SMOOTH_STROKE   (1<<11)
#define BRUSH_SPACE   (1<<10)
#define BRUSH_SPACE_ATTEN   (1<<18)
#define BRUSH_SPACING_PRESSURE   (1<<5)
#define BRUSH_TEXTURE_OVERLAY   (1<<21)
#define BRUSH_TORUS   (1<<1)

Definition at line 106 of file DNA_brush_types.h.

Referenced by brush_debug_print_state(), imapaint_paint_op(), and rna_def_brush().

#define MAX_BRUSH_PIXEL_RADIUS   200

Definition at line 184 of file DNA_brush_types.h.

Referenced by rna_def_brush(), and rna_def_unified_paint_settings().

#define PAINT_TOOL_CLONE   3
#define PAINT_TOOL_DRAW   0

Definition at line 159 of file DNA_brush_types.h.

Referenced by texture_paint_camera_project_exec(), and texture_paint_init().

#define PAINT_TOOL_SMEAR   2
#define PAINT_TOOL_SOFTEN   1

Definition at line 160 of file DNA_brush_types.h.

Referenced by imapaint_paint_op(), and texture_paint_init().

#define SCULPT_TOOL_BLOB   17
#define SCULPT_TOOL_CLAY   8
#define SCULPT_TOOL_CLAY_TUBES   18
#define SCULPT_TOOL_CREASE   16
#define SCULPT_TOOL_DRAW   1
#define SCULPT_TOOL_FILL   9
#define SCULPT_TOOL_FLATTEN   7
#define SCULPT_TOOL_GRAB   5
#define SCULPT_TOOL_INFLATE   4
#define SCULPT_TOOL_LAYER   6
#define SCULPT_TOOL_NUDGE   11
#define SCULPT_TOOL_PINCH   3
#define SCULPT_TOOL_ROTATE   14
#define SCULPT_TOOL_SCRAPE   10
#define SCULPT_TOOL_SMOOTH   2
#define SCULPT_TOOL_SNAKE_HOOK   13
#define SCULPT_TOOL_THUMB   12

Typedef Documentation

typedef struct Brush Brush
typedef struct BrushClone BrushClone

Enumeration Type Documentation

anonymous enum
Enumerator:
SCULPT_DISP_DIR_AREA 
SCULPT_DISP_DIR_VIEW 
SCULPT_DISP_DIR_X 
SCULPT_DISP_DIR_Y 
SCULPT_DISP_DIR_Z 

Definition at line 165 of file DNA_brush_types.h.

anonymous enum
Enumerator:
PAINT_BLEND_MIX 
PAINT_BLEND_ADD 
PAINT_BLEND_SUB 
PAINT_BLEND_MUL 
PAINT_BLEND_BLUR 
PAINT_BLEND_LIGHTEN 
PAINT_BLEND_DARKEN 

Definition at line 173 of file DNA_brush_types.h.