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

#include <GEO_BVH.h>

Public Types

using InfoType = HitInfo
 NOTE: Intentionally not the array type. See use in GU_BVH::intersectPrim. More...
 

Public Member Functions

SYS_FORCE_INLINE AllHitsFunctor (UT_Array< HitInfo > &hit_info, UT_Array< exint > *nesting_temp_array) 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 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

UT_Array< HitInfo > & myHitInfo
 
UT_Array< exint > *const myNestingTempArray
 
float myTolerance
 

Static Public Attributes

static constexpr bool theAllHits = true
 
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 >::AllHitsFunctor< USE_TOLERANCE >

Definition at line 134 of file GEO_BVH.h.

Member Typedef Documentation

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

NOTE: Intentionally not the array type. See use in GU_BVH::intersectPrim.

Definition at line 262 of file GEO_BVHImpl.h.

Constructor & Destructor Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE GEO::BVHBase< NAXES, SUBCLASS >::AllHitsFunctor< USE_TOLERANCE >::AllHitsFunctor ( UT_Array< HitInfo > &  hit_info,
UT_Array< exint > *  nesting_temp_array 
)
inlinenoexcept

Definition at line 204 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 >::AllHitsFunctor< USE_TOLERANCE >::getHitArray ( )
inlinenoexcept

Definition at line 253 of file GEO_BVHImpl.h.

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

Definition at line 249 of file GEO_BVHImpl.h.

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

Definition at line 214 of file GEO_BVHImpl.h.

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

Definition at line 255 of file GEO_BVHImpl.h.

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

Definition at line 245 of file GEO_BVHImpl.h.

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

Definition at line 254 of file GEO_BVHImpl.h.

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

Definition at line 210 of file GEO_BVHImpl.h.

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

Definition at line 244 of file GEO_BVHImpl.h.

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

Definition at line 251 of file GEO_BVHImpl.h.

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

Definition at line 252 of file GEO_BVHImpl.h.

Member Data Documentation

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

Definition at line 264 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
UT_Array<exint>* const GEO::BVHBase< NAXES, SUBCLASS >::AllHitsFunctor< USE_TOLERANCE >::myNestingTempArray

Definition at line 265 of file GEO_BVHImpl.h.

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

Definition at line 266 of file GEO_BVHImpl.h.

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

Definition at line 257 of file GEO_BVHImpl.h.

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

Definition at line 258 of file GEO_BVHImpl.h.

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

Definition at line 259 of file GEO_BVHImpl.h.


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