core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
scene_builder.hpp File Reference
#include <cmath>
#include <cstddef>
#include <initializer_list>
#include <limits>
#include <set>
#include <stdexcept>
#include <string>
#include <tuple>
#include <vector>
#include "peclet/core/geom/scene.hpp"

Go to the source code of this file.

Classes

class  peclet::core::geom::SceneBuilder< Real >
 Owns a scene under construction and hands out a non-owning SceneView over it. More...
 

Namespaces

namespace  peclet
 
namespace  peclet::core
 
namespace  peclet::core::geom
 

Functions

template<class Real >
void peclet::core::geom::encodeNode (const ShapeNode< Real > &n, int *ints, Real *reals)
 
template<class Real >
ShapeNode< Real > peclet::core::geom::decodeNode (const int *ints, const Real *reals)
 
template<class Real >
void peclet::core::geom::encodeInstance (const Instance< Real > &v, int *ints, Real *reals)
 
template<class Real >
Instance< Real > peclet::core::geom::decodeInstance (const int *ints, const Real *reals, int stride=kInstanceRealStride)
 
template<class Real >
std::vector< Vec3< Real > > peclet::core::geom::surfacePoints (const SceneView< Real > &sc, int root, Real spacing, Vec3< Real > lo, Vec3< Real > hi, int projectIters=4)
 Sample points on the zero level set of a shape tree — the GENERAL surface-point generator.
 

Variables

constexpr int peclet::core::geom::kNodeIntStride = 3
 
constexpr int peclet::core::geom::kNodeRealStride = 16
 
constexpr int peclet::core::geom::kInstanceIntStride = 2
 
constexpr int peclet::core::geom::kInstanceRealStride = 18
 
constexpr int peclet::core::geom::kInstanceRealStrideLegacy