Blender  V3.3
Public Types | Public Attributes | List of all members
CurveDrawData Struct Reference

Public Types

enum  { CURVE_DRAW_IDLE = 0 , CURVE_DRAW_PAINTING = 1 }
 

Public Attributes

short init_event_type
 
short curve_type
 
struct {
   bool   use_plane
 
   float   plane [4]
 
   bool   use_depth
 
   bool   use_offset
 
   float   offset [3]
 
   float   surface_offset
 
   bool   use_surface_offset_absolute
 
project
 
struct {
   bool   use_substeps
 
sample
 
struct {
   float   min
 
   float   max
 
   float   range
 
radius
 
struct {
   float   mval [2]
 
   float   location_world [3]
 
   float   location_world_valid [3]
 
   const struct StrokeElem *   selem
 
prev
 
ViewContext vc
 
ViewDepthsdepths
 
enum CurveDrawData:: { ... }  state
 
BLI_mempoolstroke_elem_pool
 
voiddraw_handle_view
 

Detailed Description

Definition at line 77 of file editcurve_paint.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CURVE_DRAW_IDLE 
CURVE_DRAW_PAINTING 

Definition at line 119 of file editcurve_paint.c.

Member Data Documentation

◆ curve_type

short CurveDrawData::curve_type

Definition at line 79 of file editcurve_paint.c.

Referenced by curve_draw_exec(), curve_draw_init(), and curve_draw_invoke().

◆ depths

ViewDepths* CurveDrawData::depths

◆ draw_handle_view

void* CurveDrawData::draw_handle_view

Definition at line 127 of file editcurve_paint.c.

Referenced by curve_draw_exit(), and curve_draw_invoke().

◆ init_event_type

short CurveDrawData::init_event_type

Definition at line 78 of file editcurve_paint.c.

Referenced by curve_draw_event_add_first(), and curve_draw_modal().

◆ location_world

float CurveDrawData::location_world[3]

Definition at line 110 of file editcurve_paint.c.

Referenced by curve_draw_event_add(), and curve_draw_invoke().

◆ location_world_valid

float CurveDrawData::location_world_valid[3]

◆ max

float CurveDrawData::max

Definition at line 104 of file editcurve_paint.c.

Referenced by curve_draw_init().

◆ min

float CurveDrawData::min

◆ mval

float CurveDrawData::mval[2]

Definition at line 108 of file editcurve_paint.c.

Referenced by curve_draw_event_add(), and curve_draw_modal().

◆ offset

float CurveDrawData::offset[3]

Definition at line 92 of file editcurve_paint.c.

Referenced by curve_draw_event_add_first(), and stroke_elem_project().

◆ plane

float CurveDrawData::plane[4]

◆ 

struct { ... } CurveDrawData::prev

◆ 

struct { ... } CurveDrawData::project

◆ 

struct { ... } CurveDrawData::radius

◆ range

float CurveDrawData::range

◆ 

struct { ... } CurveDrawData::sample

◆ selem

const struct StrokeElem* CurveDrawData::selem

Definition at line 114 of file editcurve_paint.c.

Referenced by curve_draw_event_add().

◆ 

enum { ... } CurveDrawData::state

◆ stroke_elem_pool

BLI_mempool* CurveDrawData::stroke_elem_pool

◆ surface_offset

float CurveDrawData::surface_offset

◆ use_depth

bool CurveDrawData::use_depth

Definition at line 88 of file editcurve_paint.c.

Referenced by curve_draw_event_add_first(), and curve_draw_invoke().

◆ use_offset

bool CurveDrawData::use_offset

Definition at line 91 of file editcurve_paint.c.

Referenced by curve_draw_event_add_first(), and stroke_elem_project().

◆ use_plane

bool CurveDrawData::use_plane

◆ use_substeps

bool CurveDrawData::use_substeps

Definition at line 100 of file editcurve_paint.c.

Referenced by curve_draw_event_add(), and curve_draw_invoke().

◆ use_surface_offset_absolute

bool CurveDrawData::use_surface_offset_absolute

◆ vc

ViewContext CurveDrawData::vc

The documentation for this struct was generated from the following file: