walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT > Class Template Reference

#include <BranchNode.h>

+ Inheritance diagram for walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >:

Public Types

typedef Node< ContainmentOctreeT >::DistanceObject DistanceObject
 
typedef Node< ContainmentOctreeT >::Scalar Scalar
 
typedef Node< ContainmentOctreeT >::Point Point
 
typedef Node< ContainmentOctreeT >::AABB AABB
 
typedef Node< ContainmentOctreeT >::KahanAccumulator KahanAccumulator
 
- Public Types inherited from walberla::geometry::containment_octree::Node< ContainmentOctreeT >
typedef ContainmentOctreeT::Point Point
 
typedef ContainmentOctreeT::Scalar Scalar
 
typedef ContainmentOctreeT::AABB AABB
 
typedef ContainmentOctreeT::DistanceObject DistanceObject
 
typedef ContainmentOctreeT::KahanAccumulator KahanAccumulator
 

Public Member Functions

 BranchNode (const shared_ptr< const DistanceObject > &distanceObject, const AABB &aabb, const Scalar epsilon, const uint_t maxDepth, const Scalar minAABBVolume)
 
virtual ~BranchNode ()
 
virtual bool contains (const Point &p) const
 
virtual uint_t height () const
 
virtual uint_t numNodes () const
 
virtual void numNodes (uint_t &numInside, uint_t &numOutside, uint_t &numIndeterminate, uint_t &numBranch) const
 
virtual void volumes (KahanAccumulator &insideVolume, KahanAccumulator &outsideVolume, KahanAccumulator &indeterminateVolume, Scalar volume) const
 
virtual uint_t numChildren () const
 
const Pointcenter () const
 
virtual const Node< ContainmentOctreeT > * getChild (const uint_t idx) const
 
- Public Member Functions inherited from walberla::geometry::containment_octree::Node< ContainmentOctreeT >
virtual ~Node ()
 

Protected Attributes

const Node< ContainmentOctreeT > * children_ [8]
 
Point center_
 

Private Member Functions

 BranchNode (const BranchNode &other)
 
BranchNodeoperator= (const BranchNode &other)
 

Additional Inherited Members

- Static Public Member Functions inherited from walberla::geometry::containment_octree::Node< ContainmentOctreeT >
static Point toPoint (const Vector3< real_t > &p)
 
static Vector3< real_tfromPoint (const Point &p)
 
static Scalar toScalar (const real_t &x)
 
static real_t fromScalar (const Scalar &x)
 

Member Typedef Documentation

template<typename ContainmentOctreeT >
typedef Node<ContainmentOctreeT>::AABB walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::AABB
template<typename ContainmentOctreeT >
typedef Node<ContainmentOctreeT>::DistanceObject walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::DistanceObject
template<typename ContainmentOctreeT >
typedef Node<ContainmentOctreeT>::KahanAccumulator walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::KahanAccumulator
template<typename ContainmentOctreeT >
typedef Node<ContainmentOctreeT>::Point walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::Point
template<typename ContainmentOctreeT >
typedef Node<ContainmentOctreeT>::Scalar walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::Scalar

Constructor & Destructor Documentation

template<typename ContainmentOctreeT >
walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::BranchNode ( const shared_ptr< const DistanceObject > &  distanceObject,
const AABB aabb,
const Scalar  epsilon,
const uint_t  maxDepth,
const Scalar  minAABBVolume 
)
inline
template<typename ContainmentOctreeT >
virtual walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::~BranchNode ( )
inlinevirtual
template<typename ContainmentOctreeT >
walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::BranchNode ( const BranchNode< ContainmentOctreeT > &  other)
private

Member Function Documentation

template<typename ContainmentOctreeT >
const Point& walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::center ( ) const
inline
template<typename ContainmentOctreeT >
bool walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::contains ( const Point p) const
inlinevirtual
template<typename ContainmentOctreeT >
virtual const Node<ContainmentOctreeT>* walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::getChild ( const uint_t  idx) const
inlinevirtual
template<typename ContainmentOctreeT >
uint_t walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::height ( ) const
inlinevirtual
template<typename ContainmentOctreeT >
virtual uint_t walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::numChildren ( ) const
inlinevirtual
template<typename ContainmentOctreeT >
uint_t walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::numNodes ( ) const
inlinevirtual
template<typename ContainmentOctreeT >
void walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::numNodes ( uint_t numInside,
uint_t numOutside,
uint_t numIndeterminate,
uint_t numBranch 
) const
inlinevirtual
template<typename ContainmentOctreeT >
BranchNode& walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::operator= ( const BranchNode< ContainmentOctreeT > &  other)
private
template<typename ContainmentOctreeT >
void walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::volumes ( KahanAccumulator insideVolume,
KahanAccumulator outsideVolume,
KahanAccumulator indeterminateVolume,
Scalar  volume 
) const
virtual

Member Data Documentation

template<typename ContainmentOctreeT >
Point walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::center_
protected
template<typename ContainmentOctreeT >
const Node<ContainmentOctreeT>* walberla::geometry::containment_octree::BranchNode< ContainmentOctreeT >::children_[8]
protected

The documentation for this class was generated from the following file: