Blender V5.0
KnifeTool_OpData Struct Reference

Public Attributes

ARegionregion
void * draw_handle
ViewContext vc
Scenescene
Vector< Object * > objects
Array< 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
Vector< KnifeLineHitlinehits
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 KnifeMode 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 224 of file editmesh_knife.cc.

Member Data Documentation

◆ angle

float KnifeTool_OpData::angle

Definition at line 311 of file editmesh_knife.cc.

Referenced by knife_snap_update_from_mval(), and knife_update_header().

◆ angle_snapping

bool KnifeTool_OpData::angle_snapping

◆ angle_snapping_increment

float KnifeTool_OpData::angle_snapping_increment

◆ angle_snapping_mode

◆ arena

MemArena* KnifeTool_OpData::arena

◆ axis_constrained

◆ axis_string

char KnifeTool_OpData::axis_string[2]

Definition at line 320 of file editmesh_knife.cc.

Referenced by knifetool_init(), and knifetool_modal().

◆ bvh

◆ clipend

float KnifeTool_OpData::clipend

Definition at line 294 of file editmesh_knife.cc.

Referenced by knife_recalc_ortho().

◆ clipsta

float KnifeTool_OpData::clipsta

Definition at line 294 of file editmesh_knife.cc.

Referenced by knife_recalc_ortho().

◆ colors

KnifeColors KnifeTool_OpData::colors

◆ constrain_axis

◆ constrain_axis_mode

short KnifeTool_OpData::constrain_axis_mode

◆ 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 322 of file editmesh_knife.cc.

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

◆ draw_handle

void* KnifeTool_OpData::draw_handle

Definition at line 226 of file editmesh_knife.cc.

Referenced by knifetool_exit_ex(), and knifetool_init().

◆ edge_visit

GSet* KnifeTool_OpData::edge_visit

Definition at line 242 of file editmesh_knife.cc.

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

◆ [struct]

struct { ... } KnifeTool_OpData::edgenet

◆ ethresh

float KnifeTool_OpData::ethresh

Definition at line 263 of file editmesh_knife.cc.

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 271 of file editmesh_knife.cc.

Referenced by knifetool_modal().

◆ is_angle_snapping

◆ is_drag_hold

bool KnifeTool_OpData::is_drag_hold

Definition at line 297 of file editmesh_knife.cc.

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

◆ is_drag_undo

bool KnifeTool_OpData::is_drag_undo

Definition at line 327 of file editmesh_knife.cc.

Referenced by knife_add_cut(), and knifetool_modal().

◆ is_interactive

◆ is_ortho

bool KnifeTool_OpData::is_ortho

◆ kedgefacemap

GHash* KnifeTool_OpData::kedgefacemap

Definition at line 250 of file editmesh_knife.cc.

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

◆ mdata

KnifeMeasureData KnifeTool_OpData::mdata

◆ mode

◆ no_cuts

bool KnifeTool_OpData::no_cuts

Definition at line 257 of file editmesh_knife.cc.

Referenced by knifetool_init(), and knifetool_modal().

◆ num

NumInput KnifeTool_OpData::num

◆ objects

◆ objects_info

Array<KnifeObjectInfo> KnifeTool_OpData::objects_info

Array objects_len length of additional per-object data.

Definition at line 235 of file editmesh_knife.cc.

Referenced by calc_ortho_extent(), get_bm_knife_vert(), knife_bm_tri_cagecos_get(), knife_bm_tri_index_get(), knifetool_init(), and knifetool_init_obinfo().

◆ only_select

bool KnifeTool_OpData::only_select

◆ origedgemap

GHash* KnifeTool_OpData::origedgemap

Definition at line 249 of file editmesh_knife.cc.

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

◆ origvertmap

GHash* KnifeTool_OpData::origvertmap

Definition at line 248 of file editmesh_knife.cc.

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

◆ ortho_extent

float KnifeTool_OpData::ortho_extent

Definition at line 291 of file editmesh_knife.cc.

Referenced by calc_ortho_extent(), and knife_find_line_hits().

◆ ortho_extent_center

float KnifeTool_OpData::ortho_extent_center[3]

Definition at line 292 of file editmesh_knife.cc.

Referenced by calc_ortho_extent(), and knife_find_line_hits().

◆ prev

◆ prevmode

int KnifeTool_OpData::prevmode

Definition at line 299 of file editmesh_knife.cc.

Referenced by knifetool_modal().

◆ refs

BLI_mempool* KnifeTool_OpData::refs

Definition at line 278 of file editmesh_knife.cc.

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

◆ region

◆ scene

◆ select_result

bool KnifeTool_OpData::select_result

Definition at line 288 of file editmesh_knife.cc.

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 315 of file editmesh_knife.cc.

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 314 of file editmesh_knife.cc.

Referenced by knife_snap_update_from_mval(), and knifetool_modal().

◆ splitstack

BLI_Stack* KnifeTool_OpData::splitstack

◆ totkedge

int KnifeTool_OpData::totkedge

Definition at line 274 of file editmesh_knife.cc.

Referenced by knifetool_draw(), and new_knife_edge().

◆ totkvert

int KnifeTool_OpData::totkvert

Definition at line 276 of file editmesh_knife.cc.

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

◆ undo

KnifeUndoFrame* KnifeTool_OpData::undo

Definition at line 326 of file editmesh_knife.cc.

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

◆ undostack

BLI_Stack* KnifeTool_OpData::undostack

◆ vc

◆ vthresh

float KnifeTool_OpData::vthresh

Definition at line 262 of file editmesh_knife.cc.

Referenced by knife_find_closest_vert_of_edge(), and knifetool_init().


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