Blender  V3.3
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
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=NULL) const
 
BoundBox compute_aligned_boundbox (const BVHRange &range, const BVHReference *references, const Transform &aligned_space, BoundBox *cent_bounds=NULL) 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 17 of file unaligned.cpp.

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 = NULL 
) const

◆ compute_aligned_boundbox() [2/2]

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

◆ compute_aligned_prim_boundbox()

BoundBox BVHUnaligned::compute_aligned_prim_boundbox ( const BVHReference prim,
const Transform aligned_space 
) const

◆ 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]

bool BVHUnaligned::compute_aligned_space ( const BVHReference ref,
Transform aligned_space 
) const

◆ 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 compute_aligned_prim_boundbox(), and compute_aligned_space().


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