Blender V4.3
BVHRange Class Reference

#include <params.h>

Inherited by BVHObjectBinning.

Public Member Functions

__forceinline BVHRange ()
 
__forceinline BVHRange (const BoundBox &bounds_, int start_, int size_)
 
__forceinline BVHRange (const BoundBox &bounds_, const BoundBox &cbounds_, int start_, int size_)
 
__forceinline void set_start (int start_)
 
__forceinline const BoundBoxbounds () const
 
__forceinline const BoundBoxcent_bounds () const
 
__forceinline int start () const
 
__forceinline int size () const
 
__forceinline int end () const
 

Protected Attributes

BoundBox rbounds
 
BoundBox cbounds
 

Detailed Description

Definition at line 253 of file params.h.

Constructor & Destructor Documentation

◆ BVHRange() [1/3]

__forceinline BVHRange::BVHRange ( )
inline

Definition at line 255 of file params.h.

References __int_as_float, BoundBox::max, BoundBox::min, and rbounds.

Referenced by BVHObjectBinning::split().

◆ BVHRange() [2/3]

__forceinline BVHRange::BVHRange ( const BoundBox & bounds_,
int start_,
int size_ )
inline

Definition at line 261 of file params.h.

References __int_as_float, BoundBox::max, BoundBox::min, and rbounds.

◆ BVHRange() [3/3]

__forceinline BVHRange::BVHRange ( const BoundBox & bounds_,
const BoundBox & cbounds_,
int start_,
int size_ )
inline

Definition at line 267 of file params.h.

References __int_as_float, BoundBox::max, BoundBox::min, and rbounds.

Member Function Documentation

◆ bounds()

__forceinline const BoundBox & BVHRange::bounds ( ) const
inline

Definition at line 279 of file params.h.

References rbounds.

Referenced by BVHObjectBinning::BVHObjectBinning(), BVHBuild::run(), and BVHObjectBinning::split().

◆ cent_bounds()

__forceinline const BoundBox & BVHRange::cent_bounds ( ) const
inline

Definition at line 283 of file params.h.

References cbounds.

Referenced by BVHObjectBinning::BVHObjectBinning().

◆ end()

__forceinline int BVHRange::end ( ) const
inline

Definition at line 295 of file params.h.

References size(), and start().

◆ set_start()

__forceinline void BVHRange::set_start ( int start_)
inline

Definition at line 274 of file params.h.

References __int_as_float, BoundBox::min, and rbounds.

◆ size()

__forceinline int BVHRange::size ( ) const
inline

Definition at line 291 of file params.h.

References __float_as_int, BoundBox::max, and rbounds.

Referenced by BVHObjectBinning::BVHObjectBinning(), end(), and BVHObjectBinning::split().

◆ start()

__forceinline int BVHRange::start ( ) const
inline

Definition at line 287 of file params.h.

References __float_as_int, BoundBox::min, and rbounds.

Referenced by BVHObjectBinning::BVHObjectBinning(), end(), and BVHObjectBinning::split().

Member Data Documentation

◆ cbounds

BoundBox BVHRange::cbounds
protected

Definition at line 302 of file params.h.

Referenced by cent_bounds().

◆ rbounds

BoundBox BVHRange::rbounds
protected

Definition at line 301 of file params.h.

Referenced by bounds(), BVHRange(), BVHRange(), BVHRange(), set_start(), size(), and start().


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