Blender  V2.93
Public Attributes | List of all members
BVHTreeFromMesh Struct Reference

#include <BKE_bvhutils.h>

Public Attributes

struct BVHTreetree
 
BVHTree_NearestPointCallback nearest_callback
 
BVHTree_RayCastCallback raycast_callback
 
const struct MVertvert
 
const struct MEdgeedge
 
const struct MFaceface
 
const struct MLooploop
 
const struct MLoopTrilooptri
 
bool vert_allocated
 
bool edge_allocated
 
bool face_allocated
 
bool loop_allocated
 
bool looptri_allocated
 
bool cached
 

Detailed Description

Struct that stores basic information about a BVHTree built from a mesh.

Definition at line 65 of file BKE_bvhutils.h.

Member Data Documentation

◆ cached

bool BVHTreeFromMesh::cached

Definition at line 85 of file BKE_bvhutils.h.

Referenced by raycastMesh(), and snapMesh().

◆ edge

const struct MEdge* BVHTreeFromMesh::edge

Definition at line 74 of file BKE_bvhutils.h.

Referenced by raycastMesh(), snap_mesh_polygon(), and snapMesh().

◆ edge_allocated

bool BVHTreeFromMesh::edge_allocated

Definition at line 79 of file BKE_bvhutils.h.

Referenced by snapMesh().

◆ face

const struct MFace* BVHTreeFromMesh::face

Definition at line 75 of file BKE_bvhutils.h.

◆ face_allocated

bool BVHTreeFromMesh::face_allocated

Definition at line 80 of file BKE_bvhutils.h.

◆ loop

const struct MLoop* BVHTreeFromMesh::loop

◆ loop_allocated

bool BVHTreeFromMesh::loop_allocated

Definition at line 81 of file BKE_bvhutils.h.

Referenced by raycastMesh(), and snapMesh().

◆ looptri

const struct MLoopTri* BVHTreeFromMesh::looptri

◆ looptri_allocated

bool BVHTreeFromMesh::looptri_allocated

Definition at line 82 of file BKE_bvhutils.h.

Referenced by raycastMesh(), and snapMesh().

◆ nearest_callback

BVHTree_NearestPointCallback BVHTreeFromMesh::nearest_callback

◆ raycast_callback

BVHTree_RayCastCallback BVHTreeFromMesh::raycast_callback

◆ tree

struct BVHTree* BVHTreeFromMesh::tree

◆ vert

const struct MVert* BVHTreeFromMesh::vert

◆ vert_allocated

bool BVHTreeFromMesh::vert_allocated

Definition at line 78 of file BKE_bvhutils.h.

Referenced by raycastMesh(), and snapMesh().


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