HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE > Struct Template Reference

#include <GEO_BVH.h>

Public Types

using InfoType = HitInfo
 

Public Member Functions

SYS_FORCE_INLINE SingleHitFunctor (HitInfo &hit_info) noexcept
 
SYS_FORCE_INLINE void noHit () noexcept
 
SYS_FORCE_INLINE void insertHit (const UT_Vector3 &hit_uvw, const float t, const uint index, float &limit_t) noexcept
 
SYS_FORCE_INLINE void setNestingArrayInto (HitInfo &hit_info) noexcept
 
SYS_FORCE_INLINE UT_Array
< exint > * 
nestingArray () noexcept
 
SYS_FORCE_INLINE exint nestingArrayBase () noexcept
 
SYS_FORCE_INLINE VectorType getNormal (const HitInfo &hit_info) const noexcept
 
SYS_FORCE_INLINE void setNormal (const VectorType &nml) noexcept
 
SYS_FORCE_INLINE void setNormal (HitInfo &hit_info, const VectorType &nml) const noexcept
 
SYS_FORCE_INLINE UT_Array
< HitInfo > * 
getHitArray () noexcept
 
SYS_FORCE_INLINE exint nestingArrayBase () const noexcept
 
SYS_FORCE_INLINE UT_Vector3lastUVW () noexcept
 

Public Attributes

HitInfomyHitInfo
 
exint myNestingArrayBase
 
float myTolerance
 

Static Public Attributes

static constexpr bool theAllHits = false
 
static constexpr bool theNeedsNormal = false
 
static constexpr bool theUseTolerance = USE_TOLERANCE
 

Detailed Description

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
struct GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >

Definition at line 130 of file GEO_BVH.h.

Member Typedef Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
using GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::InfoType = HitInfo

Definition at line 131 of file GEO_BVHImpl.h.

Constructor & Destructor Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::SingleHitFunctor ( HitInfo hit_info)
inlinenoexcept

Definition at line 82 of file GEO_BVHImpl.h.

Member Function Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Array<HitInfo>* GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::getHitArray ( )
inlinenoexcept

Definition at line 123 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE VectorType GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::getNormal ( const HitInfo hit_info) const
inlinenoexcept

Definition at line 119 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::insertHit ( const UT_Vector3 hit_uvw,
const float  t,
const uint  index,
float limit_t 
)
inlinenoexcept

Definition at line 93 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Vector3& GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::lastUVW ( )
inlinenoexcept

Definition at line 125 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Array<exint>* GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::nestingArray ( )
inlinenoexcept

Definition at line 111 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE exint GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::nestingArrayBase ( )
inlinenoexcept

Definition at line 115 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE exint GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::nestingArrayBase ( ) const
inlinenoexcept

Definition at line 124 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::noHit ( )
inlinenoexcept

Definition at line 87 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::setNestingArrayInto ( HitInfo hit_info)
inlinenoexcept

Definition at line 107 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::setNormal ( const VectorType nml)
inlinenoexcept

Definition at line 121 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::setNormal ( HitInfo hit_info,
const VectorType nml 
) const
inlinenoexcept

Definition at line 122 of file GEO_BVHImpl.h.

Member Data Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
HitInfo& GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::myHitInfo

Definition at line 133 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
exint GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::myNestingArrayBase

Definition at line 134 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
float GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::myTolerance

Definition at line 135 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::theAllHits = false
static

Definition at line 127 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::theNeedsNormal = false
static

Definition at line 128 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitFunctor< USE_TOLERANCE >::theUseTolerance = USE_TOLERANCE
static

Definition at line 129 of file GEO_BVHImpl.h.


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