Blender V4.3
BVHReference Class Reference

#include <params.h>

Public Member Functions

__forceinline BVHReference ()
 
__forceinline BVHReference (const BoundBox &bounds_, int prim_index_, int prim_object_, 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)
 

Protected Attributes

BoundBox rbounds
 
uint type
 
float time_from_
 
float time_to_
 

Detailed Description

Definition at line 188 of file params.h.

Constructor & Destructor Documentation

◆ BVHReference() [1/2]

__forceinline BVHReference::BVHReference ( )
inline

Definition at line 190 of file params.h.

◆ BVHReference() [2/2]

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

Definition at line 192 of file params.h.

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

Member Function Documentation

◆ bounds()

◆ operator=()

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

Definition at line 230 of file params.h.

◆ prim_index()

◆ prim_object()

◆ prim_type()

◆ time_from()

__forceinline float BVHReference::time_from ( ) const
inline

Definition at line 221 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 225 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 242 of file params.h.

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

◆ time_from_

float BVHReference::time_from_
protected

Definition at line 244 of file params.h.

Referenced by time_from().

◆ time_to_

float BVHReference::time_to_
protected

Definition at line 244 of file params.h.

Referenced by time_to().

◆ type

uint BVHReference::type
protected

Definition at line 243 of file params.h.

Referenced by prim_type().


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