SMESH_Octree Class Reference

#include <SMESH_Octree.hxx>

Inheritance diagram for SMESH_Octree:
Inheritance graph
Collaboration diagram for SMESH_Octree:
Collaboration graph

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_OctreeallocateOctreeChild () const =0
virtual void buildChildrenData ()=0

Protected Attributes

SMESH_Octree ** myChildren
SMESH_OctreemyFather
bool myIsLeaf
const LimitmyLimit

Private Member Functions

void buildChildren ()

Private Attributes

int myLevel
Bnd_B3d * myBox

Detailed Description

Definition at line 34 of file SMESH_Octree.hxx.


Constructor & Destructor Documentation

SMESH_Octree.SMESH_Octree ( Limit limit = 0  ) 
virtual SMESH_Octree.~SMESH_Octree (  )  [virtual]

Member Function Documentation

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]

Field Documentation

Definition at line 91 of file SMESH_Octree.hxx.

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.

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().


Generated on 17 May 2014 for SALOME - SMESH by  doxygen 1.6.1