SALOME - SMESH
|
#include <SMESH_Octree.hxx>
Data Structures | |
struct | Limit |
Public Member Functions | |
SMESH_Octree (Limit *limit=0) | |
virtual | ~SMESH_Octree () |
void | compute () |
bool | isLeaf () const |
int | level () const |
const Bnd_B3d & | getBox () const |
double | maxSize () const |
int | getChildIndex (double x, double y, double z, const gp_XYZ &boxMiddle) const |
Return index of a child the given point is in. More... | |
Protected Member Functions | |
virtual Bnd_B3d * | buildRootBox ()=0 |
virtual SMESH_Octree * | allocateOctreeChild () const =0 |
virtual void | buildChildrenData ()=0 |
Protected Attributes | |
SMESH_Octree ** | myChildren |
SMESH_Octree * | myFather |
bool | myIsLeaf |
const Limit * | myLimit |
Private Member Functions | |
void | buildChildren () |
Private Attributes | |
int | myLevel |
Bnd_B3d * | myBox |
Definition at line 34 of file SMESH_Octree.hxx.
SMESH_Octree::SMESH_Octree | ( | Limit * | limit = 0 | ) |
|
virtual |
void SMESH_Octree::compute | ( | ) |
bool SMESH_Octree::isLeaf | ( | ) | const |
int SMESH_Octree::level | ( | ) | const |
Definition at line 67 of file SMESH_Octree.hxx.
References myLevel.
const Bnd_B3d& SMESH_Octree::getBox | ( | ) | const |
Definition at line 70 of file SMESH_Octree.hxx.
References allocateOctreeChild(), buildChildrenData(), buildRootBox(), getChildIndex(), maxSize(), and myBox.
double SMESH_Octree::maxSize | ( | ) | const |
int SMESH_Octree::getChildIndex | ( | double | x, |
double | y, | ||
double | z, | ||
const gp_XYZ & | boxMiddle | ||
) | const |
Return index of a child the given point is in.
Definition at line 118 of file SMESH_Octree.hxx.
Referenced by getBox().
|
protectedpure virtual |
Implemented in SMESH_OctreeNode.
Referenced by getBox().
|
protectedpure virtual |
Implemented in SMESH_OctreeNode.
Referenced by getBox().
|
protectedpure virtual |
Implemented in SMESH_OctreeNode.
Referenced by getBox().
|
private |
|
protected |
Definition at line 91 of file SMESH_Octree.hxx.
|
protected |
Definition at line 94 of file SMESH_Octree.hxx.
|
protected |
Definition at line 97 of file SMESH_Octree.hxx.
|
protected |
Definition at line 100 of file SMESH_Octree.hxx.
|
private |
Definition at line 107 of file SMESH_Octree.hxx.
Referenced by level().
|
private |
Definition at line 109 of file SMESH_Octree.hxx.
Referenced by getBox().