Blender  V2.93
Public Member Functions | Protected Attributes | List of all members
BVHReference Class Reference

#include <bvh_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 161 of file bvh_params.h.

Constructor & Destructor Documentation

◆ BVHReference() [1/2]

__forceinline BVHReference::BVHReference ( )
inline

Definition at line 163 of file bvh_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 167 of file bvh_params.h.

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

Member Function Documentation

◆ bounds()

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

◆ operator=()

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

Definition at line 205 of file bvh_params.h.

◆ prim_index()

__forceinline int BVHReference::prim_index ( ) const
inline

◆ prim_object()

__forceinline int BVHReference::prim_object ( ) const
inline

◆ prim_type()

__forceinline int BVHReference::prim_type ( ) const
inline

◆ time_from()

__forceinline float BVHReference::time_from ( ) const
inline

Definition at line 196 of file bvh_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 200 of file bvh_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 217 of file bvh_params.h.

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

◆ time_from_

float BVHReference::time_from_
protected

Definition at line 219 of file bvh_params.h.

Referenced by time_from().

◆ time_to_

float BVHReference::time_to_
protected

Definition at line 219 of file bvh_params.h.

Referenced by time_to().

◆ type

uint BVHReference::type
protected

Definition at line 218 of file bvh_params.h.

Referenced by BVHReference(), and prim_type().


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