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
 
bool just_edges = false
 
bool tet_surface = false
 

Detailed Description

Definition at line 276 of file GU_BVH.h.

Member Enumeration Documentation

Enumerator
NO_POINTS 
DISCONNECTED_POINTS 
ALL_POINTS 

Definition at line 278 of file GU_BVH.h.

Member Data Documentation

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

Definition at line 289 of file GU_BVH.h.

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

Definition at line 287 of file GU_BVH.h.

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

Definition at line 285 of file GU_BVH.h.

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

Definition at line 288 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 300 of file GU_BVH.h.


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