HDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU::BVH::Options Struct Reference

#include <GU_BVH.h>

Public Types

enum  PointStyle { NO_POINTS, DISCONNECTED_POINTS, ALL_POINTS }
 

Public Attributes

PointStyle points = NO_POINTS
 
const GA_Rangepoint_range = nullptr
 
const GA_Rangeprim_range = nullptr
 
DataIdCombo prim_range_data_ids
 
bool just_edges = false
 
bool tet_surface = false
 

Detailed Description

Definition at line 300 of file GU_BVH.h.

Member Enumeration Documentation

Enumerator
NO_POINTS 
DISCONNECTED_POINTS 
ALL_POINTS 

Definition at line 302 of file GU_BVH.h.

Member Data Documentation

bool GU::BVH::Options::just_edges = false

Definition at line 322 of file GU_BVH.h.

const GA_Range* GU::BVH::Options::point_range = nullptr

Definition at line 311 of file GU_BVH.h.

PointStyle GU::BVH::Options::points = NO_POINTS

Definition at line 309 of file GU_BVH.h.

const GA_Range* GU::BVH::Options::prim_range = nullptr

Definition at line 312 of file GU_BVH.h.

DataIdCombo GU::BVH::Options::prim_range_data_ids

Definition at line 320 of file GU_BVH.h.

bool GU::BVH::Options::tet_surface = false

If true, only triangles on the unshared surface of tetrahedra will be added, not the solid tetrahedra themselves. findClosest will find the closest surface point, and sendRay will only intersect the surface.

If false, only the solid tetrahedra will be added. findClosest will find the current point if it's inside a tetrahedron, else the closest surface point, and sendRay will intersect the current point if it's inside a tetrahedron, else the first surface intersected.

Definition at line 333 of file GU_BVH.h.


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