PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
Composite.h File Reference

This file defines an SDF composition. More...

#include "BinaryNode.h"
#include "PhysicsBasedAnimationToolkitExport.h"
#include "Primitive.h"
#include "Transform.h"
#include "TypeDefs.h"
#include "UnaryNode.h"
#include "pbat/HostDevice.h"
#include <algorithm>
#include <array>
#include <span>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  pbat::geometry::sdf::Composite< TScalar >
 Composite signed distance function represented as a forest of SDFs. 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.
 

Typedefs

template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Node
 Variant type representing a node in the composite SDF forest.
 

Enumerations

enum class  pbat::geometry::sdf::ECompositeStatus { pbat::geometry::sdf::Valid , pbat::geometry::sdf::InvalidForest , pbat::geometry::sdf::UnexpectedNodeType }
 Status of the composite SDF. More...
 

Functions

auto pbat::geometry::sdf::FindRootsAndParents (std::span< std::pair< int, int > const > children) -> std::pair< std::vector< int >, std::vector< int > >
 Find the roots and parents of a composite SDF forest given its children.
 

Detailed Description

This file defines an SDF composition.

Author
Quoc-Minh Ton-That (tonth.nosp@m.at.q.nosp@m.uocmi.nosp@m.nh@g.nosp@m.mail..nosp@m.com)
Version
0.1
Date
2025-09-16