PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
This file defines unary nodes for SDF compositions. More...
#include "TypeDefs.h"
#include "pbat/HostDevice.h"
#include "pbat/common/Concepts.h"
#include "pbat/math/linalg/mini/BinaryOperations.h"
#include "pbat/math/linalg/mini/UnaryOperations.h"
#include <algorithm>
#include <cmath>
#include <numbers>
Go to the source code of this file.
Classes | |
struct | pbat::geometry::sdf::UnaryNode |
Base struct for all unary nodes. More... | |
struct | pbat::geometry::sdf::Scale< TScalar > |
Uniform scaling operation. More... | |
struct | pbat::geometry::sdf::Elongate< TScalar > |
Elongation operation along the axes. More... | |
struct | pbat::geometry::sdf::Round< TScalar > |
Rounding operation (i.e. positive offset surface) More... | |
struct | pbat::geometry::sdf::Onion< TScalar > |
Onion operation (i.e. carving interior) More... | |
struct | pbat::geometry::sdf::Symmetrize< TScalar > |
Symmetrization operation along the x axis. More... | |
struct | pbat::geometry::sdf::Repeat< TScalar > |
Grid-like repetition operation along the axes. More... | |
struct | pbat::geometry::sdf::RotationalRepeat< TScalar > |
Circular repetition operation around axe. More... | |
struct | pbat::geometry::sdf::Bump< TScalar > |
Wave-like bumpiness operation along the axes. More... | |
struct | pbat::geometry::sdf::Twist< TScalar > |
Twist operation around the y axis. More... | |
struct | pbat::geometry::sdf::Bend< TScalar > |
Bend operation around the z axis. More... | |
Namespaces | |
namespace | pbat |
The main namespace of the library. | |
namespace | pbat::geometry |
Geometric queries, quantities and data structures. | |
namespace | pbat::geometry::sdf |
Namespace for signed distance functions (SDFs) and related operations. | |
This file defines unary nodes for SDF compositions.
Credits go to https://iquilezles.org/articles/distfunctions/, thank you Inigo Quilez!