Blender V5.0
multi.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7#include "bvh/bvh.h"
8#include "bvh/params.h"
9
10#include <util/unique_ptr.h>
11#include <util/vector.h>
12
14
15class BVHMulti : public BVH {
16 public:
18
22
23 protected:
25 const vector<Object *> &objects) override;
26};
27
void replace_geometry(const vector< Geometry * > &geometry, const vector< Object * > &objects) override
Definition multi.cpp:16
BVHMulti(const BVHParams &params, const vector< Geometry * > &geometry, const vector< Object * > &objects)
Definition multi.cpp:9
vector< unique_ptr< BVH > > sub_bvhs
Definition multi.h:17
vector< Geometry * > geometry
Definition bvh/bvh.h:70
BVH(const BVHParams &params, const vector< Geometry * > &geometry, const vector< Object * > &objects)
Definition bvh.cpp:90
BVHParams params
Definition bvh/bvh.h:69
vector< Object * > objects
Definition bvh/bvh.h:71
#define CCL_NAMESPACE_END