# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLPACS::IQuadNode Class Reference

#include <surface_quad.h>

Inheritance diagram for NLPACS::IQuadNode:

NLPACS::CQuadBranch NLPACS::CQuadLeaf List of all members.

Public Methods

virtual ~IQuadNode ()
virtual bool isLeaf () const=0
virtual float getMinHeight () const
virtual float getMaxHeight () const
virtual uint8 getLevel () const
virtual const IQuadNode * getChild (uint child) const=0
virtual void addVertex (const NLMISC::CVector &v)
virtual NLMISC::CAABBox getBBox () const
virtual void translate (const NLMISC::CVector &translation)
virtual bool check () const
virtual void serial (NLMISC::IStream &f)

Protected Methods

 IQuadNode (uint8 level=0)

Protected Attributes

float _MinHeight
float _MaxHeight
float _MaxThickness
uint8 _Level
float _XCenter
float _YCenter
float _HalfSize

Friends

class CSurfaceQuadTree
class CQuadLeaf
class CQuadBranch

Constructor & Destructor Documentation

NLPACS::IQuadNode::IQuadNode uint8    level = 0 [inline, protected]
 

Definition at line 49 of file surface_quad.h.

References _Level, and level.

Referenced by NLPACS::CQuadBranch::CQuadBranch, NLPACS::CQuadLeaf::CQuadLeaf, NLPACS::CQuadBranch::getChild, NLPACS::CQuadLeaf::getChild, NLPACS::CQuadBranch::reduceChildren, and NLPACS::CQuadBranch::setChild.

virtual NLPACS::IQuadNode::~IQuadNode   [inline, virtual]
 

Definition at line 51 of file surface_quad.h.


Member Function Documentation

virtual void NLPACS::IQuadNode::addVertex const NLMISC::CVector   v [inline, virtual]
 

Reimplemented in NLPACS::CQuadBranch.

Definition at line 57 of file surface_quad.h.

References _MaxHeight, _MinHeight, v, and NLMISC::CVector::z.

virtual bool NLPACS::IQuadNode::check   const [inline, virtual]
 

Reimplemented in NLPACS::CQuadLeaf.

Definition at line 78 of file surface_quad.h.

References _MaxHeight, and _MinHeight.

virtual NLMISC::CAABBox NLPACS::IQuadNode::getBBox   const [inline, virtual]
 

Definition at line 62 of file surface_quad.h.

References _HalfSize, _XCenter, _YCenter, NLMISC::CAABBox::setCenter, and NLMISC::CAABBox::setHalfSize.

virtual const IQuadNode* NLPACS::IQuadNode::getChild uint    child const [pure virtual]
 

Implemented in NLPACS::CQuadLeaf.

virtual uint8 NLPACS::IQuadNode::getLevel   const [inline, virtual]
 

Definition at line 55 of file surface_quad.h.

References _Level.

virtual float NLPACS::IQuadNode::getMaxHeight   const [inline, virtual]
 

Definition at line 54 of file surface_quad.h.

References _MaxHeight.

virtual float NLPACS::IQuadNode::getMinHeight   const [inline, virtual]
 

Definition at line 53 of file surface_quad.h.

References _MinHeight.

virtual bool NLPACS::IQuadNode::isLeaf   const [pure virtual]
 

Implemented in NLPACS::CQuadLeaf.

virtual void NLPACS::IQuadNode::serial NLMISC::IStream   f [inline, virtual]
 

Reimplemented in NLPACS::CQuadLeaf.

Definition at line 80 of file surface_quad.h.

References _HalfSize, _Level, _MaxHeight, _MaxThickness, _MinHeight, _XCenter, _YCenter, and NLMISC::IStream::serial.

virtual void NLPACS::IQuadNode::translate const NLMISC::CVector   translation [inline, virtual]
 

Reimplemented in NLPACS::CQuadBranch.

Definition at line 70 of file surface_quad.h.

References _MaxHeight, _MinHeight, _XCenter, _YCenter, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.


Friends And Related Function Documentation

friend class CQuadBranch [friend]
 

Definition at line 43 of file surface_quad.h.

friend class CQuadLeaf [friend]
 

Definition at line 42 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, NLPACS::CQuadBranch::operator=, NLPACS::CQuadBranch::reduceChildren, and NLPACS::CQuadBranch::serial.

friend class CSurfaceQuadTree [friend]
 

Reimplemented in NLPACS::CQuadBranch.

Definition at line 41 of file surface_quad.h.


Member Data Documentation

float NLPACS::IQuadNode::_HalfSize [protected]
 

Definition at line 48 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, getBBox, and serial.

uint8 NLPACS::IQuadNode::_Level [protected]
 

Definition at line 47 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, NLPACS::CQuadLeaf::check, getLevel, IQuadNode, and serial.

float NLPACS::IQuadNode::_MaxHeight [protected]
 

Definition at line 44 of file surface_quad.h.

Referenced by addVertex, NLPACS::CQuadLeaf::check, check, getMaxHeight, serial, and translate.

float NLPACS::IQuadNode::_MaxThickness [protected]
 

Definition at line 46 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, NLPACS::CQuadLeaf::check, NLPACS::CQuadBranch::reduceChildren, and serial.

float NLPACS::IQuadNode::_MinHeight [protected]
 

Definition at line 44 of file surface_quad.h.

Referenced by addVertex, NLPACS::CQuadLeaf::check, check, getMinHeight, serial, and translate.

float NLPACS::IQuadNode::_XCenter [protected]
 

Definition at line 48 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, getBBox, serial, and translate.

float NLPACS::IQuadNode::_YCenter [protected]
 

Definition at line 48 of file surface_quad.h.

Referenced by NLPACS::CQuadBranch::addVertex, getBBox, serial, and translate.


The documentation for this class was generated from the following file: