entttree 0.1.0
Hierarchical entity management for EnTT
Loading...
Searching...
No Matches
hierarchy_types.h File Reference

ECS components and node types used by the hierarchy, transform, and bounds systems. More...

#include <geomc/linalg/AffineTransform.h>
#include <geomc/Hash.h>
#include <entttree/defs.h>
#include <entttree/position.h>
#include <entttree/traverse.h>

Go to the source code of this file.

Classes

struct  entttree::ParentConnection< HTag >
 ECS component storing an entity's parent and sibling position. More...
 
struct  entttree::LocalTransform< HTag, T, N, XTag >
 ECS component storing an entity's local (child-to-parent) affine transform. More...
 
struct  entttree::IntrinsicBounds< HTag, T, N, BTag >
 ECS component storing an entity's own (intrinsic) bounding box. More...
 
struct  entttree::NodeEntry
 A node handle yielded by hierarchy traversals and queries. More...
 
struct  entttree::ChildEntry
 Internal representation of a child in the sorted children cache. More...
 
struct  entttree::TreePath
 A path from a root entity down to a descendant. More...
 
struct  entttree::TransformedNode< Node, T, N >
 A traversal node augmented with a cumulative affine transform. More...
 
struct  entttree::BoundedNode< Node, T, N >
 A traversal node augmented with transform and bounding information. More...
 
struct  entttree::PointSearchNode< Node, T, N >
 A bounded node augmented with a point transformed into local coordinates. More...
 
struct  entttree::RaySearchNode< Node, T, N >
 A bounded node augmented with a ray and hit interval in local coordinates. More...
 

Concepts

concept  entttree::TransformedTraversal
 Concept satisfied by traversals whose node type is TransformedNode<...,T,N>.
 
concept  entttree::BoundedTraversal
 Concept satisfied by traversals whose node type is BoundedNode<...,T,N>.
 

Typedefs

using entttree::ChildList = std::vector< ChildEntry >
 Sorted list of children for a single parent.
 

Detailed Description

ECS components and node types used by the hierarchy, transform, and bounds systems.

Definition in file hierarchy_types.h.

Typedef Documentation

◆ ChildList

using entttree::ChildList = typedef std::vector<ChildEntry>

Sorted list of children for a single parent.

Definition at line 123 of file hierarchy_types.h.