FemViewer::Octree< T > Class Template Reference

#include <MeshOctree.hpp>

Collaboration diagram for FemViewer::Octree< T >:
Collaboration graph
[legend]

List of all members.

Classes

class  Branch
class  INode
class  iterator
class  Leaf

Public Member Functions

template<typename Iter >
 Octree (const Iter &begin, const Iter &end, unsigned int min)
template<typename Iter >
 Octree (const Iter &begin, const Iter &end, unsigned int min, const WorldPoint &p0, const WorldPoint &p1, bool keepAll=false)
TGetObject (const WorldPoint &p)
const WorldPoint & GetMin () const
const WorldPoint & GetMax () const
unsigned int GetNumObjects () const
 Octree (const BBox3D &bbox, uint_t res)
 ~Octree ()
iterator begin () const
iterator end () const
iterator search (const OctPoint &X)
void setResolution (const uint_t res)
void setDimensions (const BBox3D &bbox)
void add (const OctElement &c, const BBox3D &elbb)
void insert (const OctElement &item, const BBox3D &itembb)
BBox3D genBBoxForNode (const Vec3D &cent, int level)
int getResolution (const T &size)

Static Public Member Functions

static int check (const OctPoint &pos, const CoordType size, const BBox3D &elem)

Protected Types

enum  eNode { leaf, branch }

template<typename T>
class FemViewer::Octree< T >


Member Enumeration Documentation

template<typename T>
enum FemViewer::Octree::eNode [protected]
Enumerator:
leaf 
branch 

Constructor & Destructor Documentation

template<typename T>
template<typename Iter >
FemViewer::Octree< T >::Octree ( const Iter &  begin,
const Iter &  end,
unsigned int  min 
) [inline]
template<typename T>
template<typename Iter >
FemViewer::Octree< T >::Octree ( const Iter &  begin,
const Iter &  end,
unsigned int  min,
const WorldPoint &  p0,
const WorldPoint &  p1,
bool  keepAll = false 
) [inline]
template<typename T>
FemViewer::Octree< T >::Octree ( const BBox3D bbox,
uint_t  res 
) [inline]

Here is the call graph for this function:

template<typename T>
FemViewer::Octree< T >::~Octree (  )  [inline]

Member Function Documentation

template<typename T>
void FemViewer::Octree< T >::add ( const OctElement &  c,
const BBox3D elbb 
) [inline]

Here is the call graph for this function:

template<typename T>
iterator FemViewer::Octree< T >::begin (  )  const [inline]

Here is the call graph for this function:

template<typename TObject , typename TContent >
int FemViewer::Octree< TObject, TContent >::check ( const OctPoint pos,
const CoordType  size,
const BBox3D elem 
) [inline, static]

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T>
iterator FemViewer::Octree< T >::end (  )  const [inline]

Here is the caller graph for this function:

template<typename T>
BBox3D FemViewer::Octree< T >::genBBoxForNode ( const Vec3D cent,
int  level 
) [inline]
template<typename T>
const WorldPoint& FemViewer::Octree< T >::GetMax (  )  const [inline]
template<typename T>
const WorldPoint& FemViewer::Octree< T >::GetMin (  )  const [inline]
template<typename T>
unsigned int FemViewer::Octree< T >::GetNumObjects (  )  const [inline]
template<typename T>
T* FemViewer::Octree< T >::GetObject ( const WorldPoint &  p  )  [inline]
template<typename T>
int FemViewer::Octree< T >::getResolution ( const T size  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T>
void FemViewer::Octree< T >::insert ( const OctElement &  item,
const BBox3D itembb 
) [inline]

Here is the call graph for this function:

template<typename T>
iterator FemViewer::Octree< T >::search ( const OctPoint X  )  [inline]

Here is the call graph for this function:

template<typename T>
void FemViewer::Octree< T >::setDimensions ( const BBox3D bbox  )  [inline]

Here is the call graph for this function:

template<typename T>
void FemViewer::Octree< T >::setResolution ( const uint_t  res  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1