#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. | |
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 SMESH_Octree.~SMESH_Octree | ( | ) | [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 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.
virtual Bnd_B3d* SMESH_Octree.buildRootBox | ( | ) | [protected, pure virtual] |
Implemented in SMESH_OctreeNode.
virtual SMESH_Octree* SMESH_Octree.allocateOctreeChild | ( | ) | const [protected, pure virtual] |
Implemented in SMESH_OctreeNode.
virtual void SMESH_Octree.buildChildrenData | ( | ) | [protected, pure virtual] |
Implemented in SMESH_OctreeNode.
void SMESH_Octree.buildChildren | ( | ) | [private] |
SMESH_Octree** SMESH_Octree.myChildren [protected] |
Definition at line 91 of file SMESH_Octree.hxx.
SMESH_Octree* SMESH_Octree.myFather [protected] |
Definition at line 94 of file SMESH_Octree.hxx.
bool SMESH_Octree.myIsLeaf [protected] |
Definition at line 97 of file SMESH_Octree.hxx.
const Limit* SMESH_Octree.myLimit [protected] |
Definition at line 100 of file SMESH_Octree.hxx.
int SMESH_Octree.myLevel [private] |
Definition at line 107 of file SMESH_Octree.hxx.
Referenced by level().
Bnd_B3d* SMESH_Octree.myBox [private] |
Definition at line 109 of file SMESH_Octree.hxx.
Referenced by getBox().