Blender V5.0
BVHUnaligned Class Reference

#include <unaligned.h>

Public Member Functions

 BVHUnaligned (const vector< Object * > &objects)
Transform compute_aligned_space (const BVHObjectBinning &range, const BVHReference *references) const
Transform compute_aligned_space (const BVHRange &range, const BVHReference *references) const
bool compute_aligned_space (const BVHReference &ref, Transform *aligned_space) const
BoundBox compute_aligned_prim_boundbox (const BVHReference &prim, const Transform &aligned_space) const
BoundBox compute_aligned_boundbox (const BVHObjectBinning &range, const BVHReference *references, const Transform &aligned_space, BoundBox *cent_bounds=nullptr) const
BoundBox compute_aligned_boundbox (const BVHRange &range, const BVHReference *references, const Transform &aligned_space, BoundBox *cent_bounds=nullptr) const

Static Public Member Functions

static Transform compute_node_transform (const BoundBox &bounds, const Transform &aligned_space)

Protected Attributes

const vector< Object * > & objects_

Detailed Description

Definition at line 19 of file unaligned.h.

Constructor & Destructor Documentation

◆ BVHUnaligned()

CCL_NAMESPACE_BEGIN BVHUnaligned::BVHUnaligned ( const vector< Object * > & objects)

Definition at line 18 of file unaligned.cpp.

References objects_.

Member Function Documentation

◆ compute_aligned_boundbox() [1/2]

BoundBox BVHUnaligned::compute_aligned_boundbox ( const BVHObjectBinning & range,
const BVHReference * references,
const Transform & aligned_space,
BoundBox * cent_bounds = nullptr ) const

◆ compute_aligned_boundbox() [2/2]

BoundBox BVHUnaligned::compute_aligned_boundbox ( const BVHRange & range,
const BVHReference * references,
const Transform & aligned_space,
BoundBox * cent_bounds = nullptr ) const

◆ compute_aligned_prim_boundbox()

◆ compute_aligned_space() [1/3]

Transform BVHUnaligned::compute_aligned_space ( const BVHObjectBinning & range,
const BVHReference * references ) const

◆ compute_aligned_space() [2/3]

Transform BVHUnaligned::compute_aligned_space ( const BVHRange & range,
const BVHReference * references ) const

◆ compute_aligned_space() [3/3]

◆ compute_node_transform()

Transform BVHUnaligned::compute_node_transform ( const BoundBox & bounds,
const Transform & aligned_space )
static

Member Data Documentation

◆ objects_

const vector<Object *>& BVHUnaligned::objects_
protected

Definition at line 55 of file unaligned.h.

Referenced by BVHUnaligned(), compute_aligned_prim_boundbox(), and compute_aligned_space().


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