MeshLib Documentation
Loading...
Searching...
No Matches
MR::IICPTreeIndexer Class Referenceabstract

structure to find leafs and groups of each in cascade mode More...

#include <MRMultiwayICP.h>

Public Member Functions

virtual ~IICPTreeIndexer ()=default
 
virtual bool fromSameNode (ICPLayer l, ICPElementId eI, ICPElementId eJ) const =0
 returns true if eI and eJ are from same node
 
virtual ObjBitSet getElementLeaves (ICPLayer l, ICPElementId eId) const =0
 returns bitset of leaves of given node
 
virtual ICPElementBitSet getElementNodes (ICPLayer l, ICPElementId eId) const =0
 
virtual size_t getNumElements (ICPLayer l) const =0
 
virtual size_t getNumLayers () const =0
 

Detailed Description

structure to find leafs and groups of each in cascade mode

Constructor & Destructor Documentation

◆ ~IICPTreeIndexer()

virtual MR::IICPTreeIndexer::~IICPTreeIndexer ( )
virtualdefault

Member Function Documentation

◆ fromSameNode()

virtual bool MR::IICPTreeIndexer::fromSameNode ( ICPLayer l,
ICPElementId eI,
ICPElementId eJ ) const
pure virtual

returns true if eI and eJ are from same node

◆ getElementLeaves()

virtual ObjBitSet MR::IICPTreeIndexer::getElementLeaves ( ICPLayer l,
ICPElementId eId ) const
pure virtual

returns bitset of leaves of given node

◆ getElementNodes()

virtual ICPElementBitSet MR::IICPTreeIndexer::getElementNodes ( ICPLayer l,
ICPElementId eId ) const
pure virtual

valid for l > 0, returns bitset of subnodes that is associated with eId should be valid for l == getNumLayers

◆ getNumElements()

virtual size_t MR::IICPTreeIndexer::getNumElements ( ICPLayer l) const
pure virtual

l == 0 - objs_.size() l == 1 - number of nodes one layer above objects l == 2 - number of nodes one layer above nodes lvl1 ... l == getNumLayers - 1

◆ getNumLayers()

virtual size_t MR::IICPTreeIndexer::getNumLayers ( ) const
pure virtual

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