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

Public Types

enum  { MODE_IDLE , MODE_DRAGGING , MODE_CONNECT , MODE_PANNING }
 

Public Attributes

ARegionregion
 
voiddraw_handle
 
ViewContext vc
 
float mval [2]
 
Scenescene
 
Object ** objects
 
uint objects_len
 
bool objects_free
 
KnifeObjectInfoobjects_info
 
MemArenaarena
 
struct {
   GSet *   edge_visit
 
   MemArena *   arena
 
edgenet
 
GHashorigvertmap
 
GHashorigedgemap
 
GHashkedgefacemap
 
GHashfacetrimap
 
KnifeBVH bvh
 
BLI_mempoolkverts
 
BLI_mempoolkedges
 
bool no_cuts
 
BLI_Stackundostack
 
BLI_Stacksplitstack
 
float vthresh
 
float ethresh
 
KnifeLineHitlinehits
 
int totlinehit
 
KnifePosData curr
 
KnifePosData prev
 
KnifePosData init
 
int totkedge
 
int totkvert
 
BLI_mempoolrefs
 
KnifeColors colors
 
bool is_interactive
 
bool cut_through
 
bool only_select
 
bool select_result
 
bool is_ortho
 
float ortho_extent
 
float ortho_extent_center [3]
 
float clipsta
 
float clipend
 
enum KnifeTool_OpData:: { ... }  mode
 
bool is_drag_hold
 
int prevmode
 
bool snap_midpoints
 
bool ignore_edge_snapping
 
bool ignore_vert_snapping
 
NumInput num
 
float angle_snapping_increment
 
short angle_snapping_mode
 
bool is_angle_snapping
 
bool angle_snapping
 
float angle
 
KnifeEdgesnap_ref_edge
 
int snap_ref_edges_count
 
int snap_edge
 
short constrain_axis
 
short constrain_axis_mode
 
bool axis_constrained
 
char axis_string [2]
 
short dist_angle_mode
 
bool show_dist_angle
 
KnifeMeasureData mdata
 
KnifeUndoFrameundo
 
bool is_drag_undo
 
bool depth_test
 

Detailed Description

Definition at line 210 of file editmesh_knife.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MODE_IDLE 
MODE_DRAGGING 
MODE_CONNECT 
MODE_PANNING 

Definition at line 286 of file editmesh_knife.c.

Member Data Documentation

◆ angle

float KnifeTool_OpData::angle

◆ angle_snapping

bool KnifeTool_OpData::angle_snapping

◆ angle_snapping_increment

float KnifeTool_OpData::angle_snapping_increment

◆ angle_snapping_mode

short KnifeTool_OpData::angle_snapping_mode

◆ arena

MemArena* KnifeTool_OpData::arena

◆ axis_constrained

bool KnifeTool_OpData::axis_constrained

◆ axis_string

char KnifeTool_OpData::axis_string[2]

Definition at line 310 of file editmesh_knife.c.

Referenced by knife_update_header(), knifetool_init(), and knifetool_modal().

◆ bvh

KnifeBVH KnifeTool_OpData::bvh

◆ clipend

float KnifeTool_OpData::clipend

Definition at line 284 of file editmesh_knife.c.

Referenced by knife_recalc_ortho().

◆ clipsta

float KnifeTool_OpData::clipsta

Definition at line 284 of file editmesh_knife.c.

Referenced by knife_recalc_ortho().

◆ colors

KnifeColors KnifeTool_OpData::colors

◆ constrain_axis

short KnifeTool_OpData::constrain_axis

◆ constrain_axis_mode

short KnifeTool_OpData::constrain_axis_mode

◆ curr

KnifePosData KnifeTool_OpData::curr

◆ cut_through

bool KnifeTool_OpData::cut_through

◆ depth_test

bool KnifeTool_OpData::depth_test

◆ dist_angle_mode

short KnifeTool_OpData::dist_angle_mode

Definition at line 312 of file editmesh_knife.c.

Referenced by knifetool_draw_dist_angle(), knifetool_init(), and knifetool_modal().

◆ draw_handle

void* KnifeTool_OpData::draw_handle

Definition at line 212 of file editmesh_knife.c.

Referenced by knifetool_exit_ex(), and knifetool_init().

◆ edge_visit

GSet* KnifeTool_OpData::edge_visit

Definition at line 231 of file editmesh_knife.c.

Referenced by knife_make_face_cuts(), knifetool_exit_ex(), and knifetool_init().

◆ 

struct { ... } KnifeTool_OpData::edgenet

◆ ethresh

float KnifeTool_OpData::ethresh

Definition at line 252 of file editmesh_knife.c.

Referenced by knife_find_closest_edge_of_face(), and knifetool_init().

◆ facetrimap

GHash* KnifeTool_OpData::facetrimap

◆ ignore_edge_snapping

bool KnifeTool_OpData::ignore_edge_snapping

◆ ignore_vert_snapping

bool KnifeTool_OpData::ignore_vert_snapping

◆ init

KnifePosData KnifeTool_OpData::init

Definition at line 261 of file editmesh_knife.c.

Referenced by knifetool_modal().

◆ is_angle_snapping

bool KnifeTool_OpData::is_angle_snapping

◆ is_drag_hold

bool KnifeTool_OpData::is_drag_hold

Definition at line 287 of file editmesh_knife.c.

Referenced by knife_add_cut(), knife_find_line_hits(), and knifetool_modal().

◆ is_drag_undo

bool KnifeTool_OpData::is_drag_undo

Definition at line 317 of file editmesh_knife.c.

Referenced by knife_add_cut(), and knifetool_modal().

◆ is_interactive

bool KnifeTool_OpData::is_interactive

◆ is_ortho

bool KnifeTool_OpData::is_ortho

◆ kedgefacemap

GHash* KnifeTool_OpData::kedgefacemap

Definition at line 239 of file editmesh_knife.c.

Referenced by knife_get_face_kedges(), knifetool_exit_ex(), and knifetool_init().

◆ kedges

BLI_mempool* KnifeTool_OpData::kedges

◆ kverts

BLI_mempool* KnifeTool_OpData::kverts

◆ linehits

KnifeLineHit* KnifeTool_OpData::linehits

◆ mdata

KnifeMeasureData KnifeTool_OpData::mdata

◆ 

enum { ... } KnifeTool_OpData::mode

◆ mval

float KnifeTool_OpData::mval[2]

◆ no_cuts

bool KnifeTool_OpData::no_cuts

Definition at line 246 of file editmesh_knife.c.

Referenced by knifetool_init(), and knifetool_modal().

◆ num

NumInput KnifeTool_OpData::num

Definition at line 294 of file editmesh_knife.c.

Referenced by knife_reset_snap_angle_input(), knifetool_init(), and knifetool_modal().

◆ objects

Object** KnifeTool_OpData::objects

◆ objects_free

bool KnifeTool_OpData::objects_free

Definition at line 221 of file editmesh_knife.c.

Referenced by knifetool_exit_ex(), and knifetool_init().

◆ objects_info

KnifeObjectInfo* KnifeTool_OpData::objects_info

◆ objects_len

uint KnifeTool_OpData::objects_len

◆ only_select

bool KnifeTool_OpData::only_select

◆ origedgemap

GHash* KnifeTool_OpData::origedgemap

Definition at line 238 of file editmesh_knife.c.

Referenced by get_bm_knife_edge(), knifetool_exit_ex(), and knifetool_init().

◆ origvertmap

GHash* KnifeTool_OpData::origvertmap

Definition at line 237 of file editmesh_knife.c.

Referenced by get_bm_knife_vert(), knifetool_exit_ex(), and knifetool_init().

◆ ortho_extent

float KnifeTool_OpData::ortho_extent

Definition at line 281 of file editmesh_knife.c.

Referenced by calc_ortho_extent(), and knife_find_line_hits().

◆ ortho_extent_center

float KnifeTool_OpData::ortho_extent_center[3]

Definition at line 282 of file editmesh_knife.c.

Referenced by calc_ortho_extent(), and knife_find_line_hits().

◆ prev

KnifePosData KnifeTool_OpData::prev

◆ prevmode

int KnifeTool_OpData::prevmode

Definition at line 289 of file editmesh_knife.c.

Referenced by knifetool_modal().

◆ refs

BLI_mempool* KnifeTool_OpData::refs

Definition at line 268 of file editmesh_knife.c.

Referenced by knife_append_list(), knifetool_exit_ex(), and knifetool_init().

◆ region

ARegion* KnifeTool_OpData::region

◆ scene

Scene* KnifeTool_OpData::scene

◆ select_result

bool KnifeTool_OpData::select_result

Definition at line 278 of file editmesh_knife.c.

Referenced by knife_make_cuts(), knife_make_face_cuts(), and knifetool_init().

◆ show_dist_angle

bool KnifeTool_OpData::show_dist_angle

◆ snap_edge

int KnifeTool_OpData::snap_edge

Definition at line 305 of file editmesh_knife.c.

Referenced by knife_snap_angle_relative(), and knifetool_modal().

◆ snap_midpoints

bool KnifeTool_OpData::snap_midpoints

◆ snap_ref_edge

KnifeEdge* KnifeTool_OpData::snap_ref_edge

◆ snap_ref_edges_count

int KnifeTool_OpData::snap_ref_edges_count

Definition at line 304 of file editmesh_knife.c.

Referenced by knife_snap_update_from_mval(), and knifetool_modal().

◆ splitstack

BLI_Stack* KnifeTool_OpData::splitstack

◆ totkedge

int KnifeTool_OpData::totkedge

Definition at line 264 of file editmesh_knife.c.

Referenced by knifetool_draw(), and new_knife_edge().

◆ totkvert

int KnifeTool_OpData::totkvert

Definition at line 266 of file editmesh_knife.c.

Referenced by knifetool_draw(), knifetool_modal(), and new_knife_vert().

◆ totlinehit

int KnifeTool_OpData::totlinehit

◆ undo

KnifeUndoFrame* KnifeTool_OpData::undo

Definition at line 316 of file editmesh_knife.c.

Referenced by knife_add_cut(), knife_add_single_cut(), and knife_split_edge().

◆ undostack

BLI_Stack* KnifeTool_OpData::undostack

◆ vc

ViewContext KnifeTool_OpData::vc

◆ vthresh

float KnifeTool_OpData::vthresh

Definition at line 251 of file editmesh_knife.c.

Referenced by knife_find_closest_vert_of_edge(), and knifetool_init().


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