GlobeEngine
geRaster::KPatchBintreeNode Class Reference

#include <KPatchBintreeNode.h>

Inheritance diagram for geRaster::KPatchBintreeNode:
geData::GeometricBalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE > geData::BalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE > geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >

Public Member Functions

 KPatchBintreeNode ()
 
 ~KPatchBintreeNode ()
 
void clear ()
 
void create ()
 
void create (int uid, KPatchBase::PatchOrientation type, vmml::Vector2d zeropoint, double _edgelength, int parent, KPatchBase::PatchMode mode, short _lod, bool _childOrder, std::bitset< 40 > _parentAdress)
 
void update ()
 
bool pointIsInside (const vmml::Vector3d &_pos)
 
void computeBound ()
 
GLubyte getColStepIndex () const
 
float getColStep () const
 
const double * getZeropoint () const
 
KPatchBase::PatchOrientation getType () const
 
void setType (KPatchBase::PatchOrientation _type)
 
int getMBlockReference () const
 
void setMBlockReference (int _refID)
 
short getRootID () const
 
void setRootID (short _rootID)
 
int getPatchSize () const
 
int getPatchSizeForMode (KPatchBase::PatchMode _mode) const
 
const ge::BoundingSpheregetBoundingSphere () const
 
void print ()
 
const std::bitset< 40 > getAdress () const
 
- Public Member Functions inherited from geData::GeometricBalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
 GeometricBalancedArrayTreeNode ()
 
 ~GeometricBalancedArrayTreeNode ()
 
virtual void printValue () const
 
const double * getBounds () const
 
void setBounds (vmml::Vector4d _bound)
 
void setBoundIndex (int _maxTreeDepth)
 
vmml::Vector2d getOrigin () const
 
vmml::Vector2d getMidpoint () const
 
bool inside (vmml::Vector2d _coord) const
 
int locateChildIDForCoordinates (vmml::Vector2d _coord) const
 
double getEdgelenght () const
 
void setEdgelenght (double _edgelength)
 
void setBoundsIndex (GLuint _min_x, GLuint _min_y)
 
const GLuint * getBoundsIndex () const
 
bool isVisible () const
 
void isVisible (bool _input)
 
void print ()
 
- Public Member Functions inherited from geData::BalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
 BalancedArrayTreeNode ()
 
 ~BalancedArrayTreeNode ()
 
short getBalance () const
 
void setBalance (short _balance)
 
void print ()
 
- Public Member Functions inherited from geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
 ArrayTreeNode (int _uid=-1, int _parent=-1)
 
 ArrayTreeNode (int _uid, std::shared_ptr< KEYTYPE > _key, int _parent)
 
 ArrayTreeNode (int _uid, short _lod, int _parent)
 
 ~ArrayTreeNode ()
 
void clear ()
 
void setArrayNodeProperties (int _uid, std::shared_ptr< KEYTYPE > _key, int _parent, bool _isParent)
 
void setArrayNodeProperties (int _uid, short _lod, int _parent, bool _isParent)
 
void setArrayNodeProperties (int _uid, int _parent, bool _isParent)
 
void setChildByKey (std::shared_ptr< KEYTYPE > const &_key, int _childid)
 
int locateKeyInChild (std::shared_ptr< KEYTYPE > const &_key)
 
void setLod (short _lod)
 
void setBasic (int _uid, int _parent)
 
std::shared_ptr< KEYTYPE > const & getKey () const
 
void setKey (std::shared_ptr< KEYTYPE > _key)
 
int getUID () const
 
void setUID (int _uid)
 
const int getChildIdx (short _childIdx) const
 
void setChildIdx (short _childIdx, int _idx)
 
void repairChildIdx (int _nodeid)
 
bool isParent () const
 
void isParent (bool _input)
 
void setParentID (int _parent)
 
int getParentID () const
 
const intgetChildren () const
 
void clearChildIndices ()
 
void print ()
 

Additional Inherited Members

- Protected Member Functions inherited from geData::GeometricBalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
void calculateMidpoint ()
 
- Protected Attributes inherited from geData::GeometricBalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
vmml::Vector4d bounds
 
GLuint boundsIdx [2]
 
vmml::Vector2d midPoint
 
double edgelength
 
bool visible
 
- Protected Attributes inherited from geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >
int children [TREESIZE]
 
std::shared_ptr< KEYTYPE > key
 

Constructor & Destructor Documentation

geRaster::KPatchBintreeNode::KPatchBintreeNode ( )
geRaster::KPatchBintreeNode::~KPatchBintreeNode ( )

Member Function Documentation

void geRaster::KPatchBintreeNode::clear ( )
void geRaster::KPatchBintreeNode::computeBound ( )
void geRaster::KPatchBintreeNode::create ( )
void geRaster::KPatchBintreeNode::create ( int  uid,
KPatchBase::PatchOrientation  type,
vmml::Vector2d  zeropoint,
double  _edgelength,
int  parent,
KPatchBase::PatchMode  mode,
short  _lod,
bool  _childOrder,
std::bitset< 40 >  _parentAdress 
)
const std::bitset< 40 > geRaster::KPatchBintreeNode::getAdress ( ) const
const ge::BoundingSphere * geRaster::KPatchBintreeNode::getBoundingSphere ( ) const
float geRaster::KPatchBintreeNode::getColStep ( ) const
inline
GLubyte geRaster::KPatchBintreeNode::getColStepIndex ( ) const
inline
int geRaster::KPatchBintreeNode::getMBlockReference ( ) const
int geRaster::KPatchBintreeNode::getPatchSize ( ) const
int geRaster::KPatchBintreeNode::getPatchSizeForMode ( KPatchBase::PatchMode  _mode) const
short geRaster::KPatchBintreeNode::getRootID ( ) const
KPatchBase::PatchOrientation geRaster::KPatchBintreeNode::getType ( ) const
const double* geRaster::KPatchBintreeNode::getZeropoint ( ) const
inline
bool geRaster::KPatchBintreeNode::pointIsInside ( const vmml::Vector3d &  _pos)
void geRaster::KPatchBintreeNode::print ( )
inline
void geRaster::KPatchBintreeNode::setMBlockReference ( int  _refID)
void geRaster::KPatchBintreeNode::setRootID ( short  _rootID)
void geRaster::KPatchBintreeNode::setType ( KPatchBase::PatchOrientation  _type)
void geRaster::KPatchBintreeNode::update ( )

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