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

Public Attributes

Scenescene
 
int flag
 
Map< const Object *, std::unique_ptr< SnapData_Mesh > > mesh_caches
 
Map< const BMEditMesh *, std::unique_ptr< SnapData_EditMesh > > editmesh_caches
 
struct {
   struct {
      bool(*   test_vert_fn )(BMVert *, void *user_data)
 
      bool(*   test_edge_fn )(BMEdge *, void *user_data)
 
      bool(*   test_face_fn )(BMFace *, void *user_data)
 
      void *   user_data
 
   }   edit_mesh
 
callbacks
 
struct {
   Depsgraph *   depsgraph
 
   const ARegion *   region
 
   const View3D *   v3d
 
   float   mval [2]
 
   float   pmat [4][4]
 
   float   win_size [2]
 
   enum eViewProj   view_proj
 
   float   clip_plane [MAX_CLIPPLANE_LEN][4]
 
   short   clip_plane_len
 
   eSnapMode   snap_to_flag
 
   bool   has_occlusion_plane
 
runtime
 

Detailed Description

Definition at line 131 of file transform_snap_object.cc.

Member Data Documentation

◆ 

struct { ... } SnapObjectContext::callbacks

◆ clip_plane

float SnapObjectContext::clip_plane[MAX_CLIPPLANE_LEN][4]

◆ clip_plane_len

short SnapObjectContext::clip_plane_len

◆ depsgraph

Depsgraph* SnapObjectContext::depsgraph

◆ 

struct { ... } SnapObjectContext::edit_mesh

◆ editmesh_caches

Map<const BMEditMesh *, std::unique_ptr<SnapData_EditMesh> > SnapObjectContext::editmesh_caches

◆ flag

int SnapObjectContext::flag

Definition at line 134 of file transform_snap_object.cc.

Referenced by ED_transform_snap_object_context_create().

◆ has_occlusion_plane

bool SnapObjectContext::has_occlusion_plane

◆ mesh_caches

Map<const Object *, std::unique_ptr<SnapData_Mesh> > SnapObjectContext::mesh_caches

◆ mval

float SnapObjectContext::mval[2]

◆ pmat

float SnapObjectContext::pmat[4][4]

◆ region

const ARegion* SnapObjectContext::region

◆ 

struct { ... } SnapObjectContext::runtime

◆ scene

Scene* SnapObjectContext::scene

◆ snap_to_flag

eSnapMode SnapObjectContext::snap_to_flag

◆ test_edge_fn

bool(* SnapObjectContext::test_edge_fn) (BMEdge *, void *user_data)

Definition at line 143 of file transform_snap_object.cc.

◆ test_face_fn

bool(* SnapObjectContext::test_face_fn) (BMFace *, void *user_data)

Definition at line 144 of file transform_snap_object.cc.

◆ test_vert_fn

bool(* SnapObjectContext::test_vert_fn) (BMVert *, void *user_data)

Definition at line 142 of file transform_snap_object.cc.

◆ user_data

void* SnapObjectContext::user_data

Definition at line 145 of file transform_snap_object.cc.

◆ v3d

const View3D* SnapObjectContext::v3d

◆ view_proj

enum eViewProj SnapObjectContext::view_proj

◆ win_size

float SnapObjectContext::win_size[2]

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