Blender V5.0
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

References __forceinline.

Referenced by operator=().

◆ 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

Member Function Documentation

◆ bounds()

◆ operator=()

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

References BVHReference().

◆ prim_index()

◆ prim_object()

◆ prim_type()

◆ time_from()

__forceinline float BVHReference::time_from ( ) const
inline

◆ time_to()

__forceinline float BVHReference::time_to ( ) const
inline

Definition at line 224 of file params.h.

References __forceinline, and time_to_.

Referenced by BVHReference(), 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 BVHReference(), and time_from().

◆ time_to_

float BVHReference::time_to_
protected

Definition at line 234 of file params.h.

Referenced by BVHReference(), and 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: