#include <BranchNode.h>
Classes | |
struct | ChildInfo |
Public Types | |
typedef Node< MeshType >::Point | Point |
typedef Node< MeshType >::Normal | Normal |
typedef Node< MeshType >::Scalar | Scalar |
typedef Node< MeshType >::FaceHandle | FaceHandle |
typedef Node< MeshType >::AABB | AABB |
Public Types inherited from walberla::mesh::distance_octree::Node< MeshType > | |
typedef MeshType::Point | Point |
typedef MeshType::Normal | Normal |
typedef MeshType::Scalar | Scalar |
typedef MeshType::FaceHandle | FaceHandle |
typedef math::GenericAABB< Scalar > | AABB |
Public Member Functions | |
template<typename InputIterator > | |
BranchNode (const shared_ptr< TriangleDistance< MeshType > > &triDistance, InputIterator beginFh, InputIterator endFh, uint_t maxDepth, uint_t minNumTriangles) | |
virtual | ~BranchNode () |
virtual Scalar | sqSignedDistance (const Point &p) const |
virtual Scalar | sqSignedDistance (const Point &p, FaceHandle &closestTriangle) const |
virtual Scalar | sqSignedDistance (const Point &p, Point &closestPoint) const |
virtual Scalar | sqSignedDistance (const Point &p, Point &closestPoint, Normal &normal) const |
virtual Scalar | sqDistance (const Point &p) const |
virtual Scalar | sqDistance (const Point &p, FaceHandle &closestTriangle) const |
virtual Scalar | sqDistance (const Point &p, Point &closestPoint) const |
virtual Scalar | sqDistance (const Point &p, Point &closestPoint, Normal &normal) const |
uint_t | numTriangles () const |
void | numTrianglesToStream (std::ostream &os, const uint_t level) const |
virtual uint_t | height () const |
virtual uint_t | numChildren () const |
virtual const Node< MeshType > * | getChild (const uint_t idx) const |
Public Member Functions inherited from walberla::mesh::distance_octree::Node< MeshType > | |
template<typename InputIterator > | |
Node (const MeshType &mesh, InputIterator beginFh, InputIterator endFh) | |
virtual | ~Node () |
const AABB & | getAABB () const |
virtual Scalar | sqSignedDistance (const Point &p, Point &closestPoint, Point &normal) const =0 |
virtual Scalar | sqDistance (const Point &p, Point &closestPoint, Point &normal) const =0 |
Protected Attributes | |
const Node< MeshType > * | children_ [8] |
Protected Attributes inherited from walberla::mesh::distance_octree::Node< MeshType > | |
AABB | aabb_ |
Private Member Functions | |
BranchNode (const BranchNode &other) | |
BranchNode & | operator= (const BranchNode &other) |
typedef Node<MeshType>::AABB walberla::mesh::distance_octree::BranchNode< MeshType >::AABB |
typedef Node<MeshType>::FaceHandle walberla::mesh::distance_octree::BranchNode< MeshType >::FaceHandle |
typedef Node<MeshType>::Normal walberla::mesh::distance_octree::BranchNode< MeshType >::Normal |
typedef Node<MeshType>::Point walberla::mesh::distance_octree::BranchNode< MeshType >::Point |
typedef Node<MeshType>::Scalar walberla::mesh::distance_octree::BranchNode< MeshType >::Scalar |
walberla::mesh::distance_octree::BranchNode< MeshType >::BranchNode | ( | const shared_ptr< TriangleDistance< MeshType > > & | triDistance, |
InputIterator | beginFh, | ||
InputIterator | endFh, | ||
uint_t | maxDepth, | ||
uint_t | minNumTriangles | ||
) |
|
inlinevirtual |
|
private |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
private |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |