Blender V4.5
BVHReference Class Reference

#include <params.h>

Public Member Functions

__forceinline BVHReference ()=default
 
__forceinline BVHReference (const BoundBox &bounds_, const int prim_index_, const int prim_object_, const int prim_type, float time_from=0.0f, float time_to=1.0f)
 
__forceinline const BoundBoxbounds () const
 
__forceinline int prim_index () const
 
__forceinline int prim_object () const
 
__forceinline int prim_type () const
 
__forceinline float time_from () const
 
__forceinline float time_to () const
 
BVHReferenceoperator= (const BVHReference &arg)=default
 

Protected Attributes

BoundBox rbounds
 
uint type
 
float time_from_
 
float time_to_
 

Detailed Description

Definition at line 187 of file params.h.

Constructor & Destructor Documentation

◆ BVHReference() [1/2]

__forceinline BVHReference::BVHReference ( )
default

◆ BVHReference() [2/2]

__forceinline BVHReference::BVHReference ( const BoundBox & bounds_,
const int prim_index_,
const int prim_object_,
const int prim_type,
float time_from = 0.0f,
float time_to = 1.0f )
inline

Definition at line 191 of file params.h.

References __int_as_float, BoundBox::max, BoundBox::min, prim_type(), rbounds, and type.

Member Function Documentation

◆ bounds()

◆ operator=()

BVHReference & BVHReference::operator= ( const BVHReference & arg)
default

◆ prim_index()

◆ prim_object()

◆ prim_type()

◆ time_from()

__forceinline float BVHReference::time_from ( ) const
inline

Definition at line 220 of file params.h.

References time_from_.

Referenced by BVHBuild::create_leaf_node(), and BVHBuild::create_object_leaf_nodes().

◆ time_to()

__forceinline float BVHReference::time_to ( ) const
inline

Definition at line 224 of file params.h.

References time_to_.

Referenced by BVHBuild::create_leaf_node(), and BVHBuild::create_object_leaf_nodes().

Member Data Documentation

◆ rbounds

BoundBox BVHReference::rbounds
protected

Definition at line 232 of file params.h.

Referenced by bounds(), BVHReference(), prim_index(), and prim_object().

◆ time_from_

float BVHReference::time_from_
protected

Definition at line 234 of file params.h.

Referenced by time_from().

◆ time_to_

float BVHReference::time_to_
protected

Definition at line 234 of file params.h.

Referenced by time_to().

◆ type

uint BVHReference::type
protected

Definition at line 233 of file params.h.

Referenced by BVHReference(), and prim_type().


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