|
SALOME - SMESH
|
#include <SMESH_OctreeNode.hxx>


Public Member Functions | |
| SMESH_OctreeNode (const std::set< const SMDS_MeshNode * > &theNodes, const int maxLevel=-1, const int maxNbNodes=5, const double minBoxSize=0.) | |
| virtual | ~SMESH_OctreeNode () |
| Empty destructor. More... | |
| virtual const bool | isLeaf () |
| virtual const bool | isInside (const SMDS_MeshNode *Node, const double precision=0.) |
| void | NodesAround (const SMDS_MeshNode *Node, std::list< const SMDS_MeshNode * > *Result, const double precision=0.) |
| void | FindCoincidentNodes (std::set< const SMDS_MeshNode * > *nodes, const double theTolerance, std::list< std::list< const SMDS_MeshNode * > > *theGroupsOfNodes) |
| SMESH_OctreeNodeIteratorPtr | GetChildrenIterator () |
| Return iterator over children. More... | |
| SMDS_NodeIteratorPtr | GetNodeIterator () |
| Return nodes iterator. More... | |
| int | NbNodes () const |
| Return nb nodes in a tree. More... | |
| void | Compute () |
| void | setMaxLevel (const int maxLevel) |
| void | setMinBoxSize (const double minBoxSize) |
| void | setBox (const Bnd_B3d *box) |
| void | getBox (Bnd_B3d &box) |
| int | level () const |
Static Public Member Functions | |
| static void | FindCoincidentNodes (std::set< const SMDS_MeshNode * > nodes, std::list< std::list< const SMDS_MeshNode * > > *theGroupsOfNodes, const double theTolerance=0.00001, const int maxLevel=-1, const int maxNbNodes=5) |
| static double | maxSize (const Bnd_B3d *box) |
Protected Member Functions | |
| SMESH_OctreeNode () | |
| Empty constructor. More... | |
| virtual void | buildChildrenData () |
| void | computeBoxForFather () |
| virtual SMESH_Octree * | allocateOctreeChild () |
| void | FindCoincidentNodes (const SMDS_MeshNode *Node, std::set< const SMDS_MeshNode * > *SetOfNodes, std::list< const SMDS_MeshNode * > *Result, const double precision) |
| void | buildChildren () |
Protected Attributes | |
| int | myMaxNbNodes |
| std::set< const SMDS_MeshNode * > | myNodes |
| int | myNbNodes |
| Bnd_B3d * | myBox |
| SMESH_Octree ** | myChildren |
| SMESH_Octree * | myFather |
| int | myLevel |
| int | myMaxLevel |
| double | myMinBoxSize |
| int | myIsLeaf |
Definition at line 47 of file SMESH_OctreeNode.hxx.
| SMESH_OctreeNode::SMESH_OctreeNode | ( | const std::set< const SMDS_MeshNode * > & | theNodes, |
| const int | maxLevel = -1, |
||
| const int | maxNbNodes = 5, |
||
| const double | minBoxSize = 0. |
||
| ) |
|
virtual |
Empty destructor.
Definition at line 60 of file SMESH_OctreeNode.hxx.
|
protected |
Empty constructor.
Definition at line 105 of file SMESH_OctreeNode.hxx.
|
virtual |
Implements SMESH_Octree.
|
virtual |
| void SMESH_OctreeNode::NodesAround | ( | const SMDS_MeshNode * | Node, |
| std::list< const SMDS_MeshNode * > * | Result, | ||
| const double | precision = 0. |
||
| ) |
| void SMESH_OctreeNode::FindCoincidentNodes | ( | std::set< const SMDS_MeshNode * > * | nodes, |
| const double | theTolerance, | ||
| std::list< std::list< const SMDS_MeshNode * > > * | theGroupsOfNodes | ||
| ) |
|
static |
| SMESH_OctreeNodeIteratorPtr SMESH_OctreeNode::GetChildrenIterator | ( | ) |
Return iterator over children.
| SMDS_NodeIteratorPtr SMESH_OctreeNode::GetNodeIterator | ( | ) |
Return nodes iterator.
| int SMESH_OctreeNode::NbNodes | ( | ) | const |
Return nb nodes in a tree.
Definition at line 96 of file SMESH_OctreeNode.hxx.
References myNbNodes.
|
protectedvirtual |
Implements SMESH_Octree.
|
protected |
|
protectedvirtual |
Implements SMESH_Octree.
|
protected |
|
inherited |
|
inherited |
|
inherited |
Definition at line 52 of file SMESH_Octree.hxx.
References SMESH_Octree::myMinBoxSize.
|
inherited |
|
inherited |
|
staticinherited |
|
inherited |
Definition at line 64 of file SMESH_Octree.hxx.
References SMESH_Octree::myLevel.
|
protectedinherited |
|
protected |
Definition at line 123 of file SMESH_OctreeNode.hxx.
|
protected |
Definition at line 126 of file SMESH_OctreeNode.hxx.
|
protected |
Definition at line 129 of file SMESH_OctreeNode.hxx.
Referenced by NbNodes().
|
protectedinherited |
Definition at line 79 of file SMESH_Octree.hxx.
|
protectedinherited |
Definition at line 82 of file SMESH_Octree.hxx.
|
protectedinherited |
Definition at line 85 of file SMESH_Octree.hxx.
|
protectedinherited |
Definition at line 88 of file SMESH_Octree.hxx.
Referenced by SMESH_Octree::level().
|
protectedinherited |
Definition at line 91 of file SMESH_Octree.hxx.
|
protectedinherited |
Definition at line 94 of file SMESH_Octree.hxx.
Referenced by SMESH_Octree::setMinBoxSize().
|
protectedinherited |
Definition at line 97 of file SMESH_Octree.hxx.