Blender V5.0
OctreeNode Struct Reference

#include <octree.h>

Inherited by OctreeInternalNode.

Public Member Functions

 OctreeNode ()
 OctreeNode (BoundBox bbox_, int depth_)
virtual ~OctreeNode ()=default
void visualize (std::string &str) const

Public Attributes

BoundBox bbox
int depth
Extrema< floatsigma = {0.0f, 0.0f}

Detailed Description

Definition at line 29 of file cycles/bvh/octree.h.

Constructor & Destructor Documentation

◆ OctreeNode() [1/2]

OctreeNode::OctreeNode ( )
inline

Definition at line 39 of file cycles/bvh/octree.h.

References bbox, and depth.

Referenced by OctreeInternalNode::OctreeInternalNode().

◆ OctreeNode() [2/2]

OctreeNode::OctreeNode ( BoundBox bbox_,
int depth_ )
inline

Definition at line 40 of file cycles/bvh/octree.h.

References bbox, and depth.

◆ ~OctreeNode()

virtual OctreeNode::~OctreeNode ( )
virtualdefault

References str.

Member Function Documentation

◆ visualize()

void OctreeNode::visualize ( std::string & str) const

Definition at line 404 of file cycles/bvh/octree.cpp.

References bbox, max, min, str, to_string(), float3::x, float3::y, and float3::z.

Member Data Documentation

◆ bbox

BoundBox OctreeNode::bbox

◆ depth

int OctreeNode::depth

◆ sigma

Extrema<float> OctreeNode::sigma = {0.0f, 0.0f}

Definition at line 37 of file cycles/bvh/octree.h.

Referenced by OctreeInternalNode::OctreeInternalNode().


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