[ DockingLib | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
class | Node |
// Constructors | |
Node(const PointT* point, short level , float lowLevelRadius , unsigned int subtreeSize , unsigned int asNum ); | |
// Modifiers | |
void | incrementAsNum(unsigned int num) ; |
void | addChildren(const vector<const Node *>& children) ; |
// Queries | |
const PointT* | getPoint() const ; |
Vector3 | position() const ; |
short | getLevel() const ; |
float | getRadius() const ; |
unsigned int | getSubtreeSize() const ; |
unsigned int | getAsNum() const ; |
const vector< const Node *>& | getChildren() const ; |
protected: | |
const PointT* | point_; |
short | level_; |
float | lowLevelRadius_; |
unsigned int | subtreeSize_; |
unsigned int | asNum_; |
vector< const Node *> | lowLevelPointers_; |
typedef vector< Node> | Level; |
// Contructors | |
MultiResolution(const vector< PointT>& pointSet, float density , float gridMargins ); | |
MultiResolution(float density , float gridMargins ); | |
// Modifiers | |
void | setPointSet(const vector< PointT>& pointSet) ; |
void | buildTree(); |
void | buildTree(const vector< bool>& as); |
void | countActiveSitePoints(const vector< bool>& as); |
// Queries | |
Level& | getLevel(int num) ; |
unsigned int | size() const ; |
int | getAsPointsNumber() const ; |
void | printTree(ofstream& outFile); |
Back to the top of MultiResolution
Back to the top of MultiResolution
Back to the top of MultiResolution
Back to the top of MultiResolution
Back to the top of MultiResolution
Back to the top of MultiResolution
class Node
TreeNode
class Node {
Back to the top of MultiResolution
Node(const PointT* point, short level=0, float lowLevelRadius=0.0, //// unsigned int subtreeSize=1, unsigned int asNum=0);
Function is currently defined inline.
Back to the top of MultiResolution
void incrementAsNum(unsigned int num) ;
update asNum
void incrementAsNum(unsigned int num) ;
Function is currently defined inline.
Back to the top of MultiResolution
void addChildren(const vector<const Node *>& children) ;
add children to node
void addChildren(const vector<const Node *>& children) ;
Function is currently defined inline.
Back to the top of MultiResolution
const PointT* getPoint() const ;
return point pointer
const PointT* getPoint() const ;
Function is currently defined inline.
Back to the top of MultiResolution
Vector3 position() const ;
return point position
Vector3 position() const ;
Function is currently defined inline.
Back to the top of MultiResolution
short getLevel() const ;
get node level
short getLevel() const ;
Function is currently defined inline.
Back to the top of MultiResolution
float getRadius() const ;
get radius
float getRadius() const ;
Function is currently defined inline.
Back to the top of MultiResolution
unsigned int getSubtreeSize() const ;
get subtree size
unsigned int getSubtreeSize() const ;
Function is currently defined inline.
Back to the top of MultiResolution
unsigned int getAsNum() const ;
get number of active nodes in the subtree
unsigned int getAsNum() const ;
Function is currently defined inline.
Back to the top of MultiResolution
const vector< const Node *>& getChildren() const ;
get pointers to node children
const vector< const Node *>& getChildren() const ;
Function is currently defined inline.
Back to the top of MultiResolution
const PointT* point_;
point
const PointT* point_;
Back to the top of MultiResolution
short level_;
level
short level_;
Back to the top of MultiResolution
float lowLevelRadius_;
radius of lower level points
float lowLevelRadius_;
Back to the top of MultiResolution
unsigned int subtreeSize_;
number of subtree nodes
unsigned int subtreeSize_;
Back to the top of MultiResolution
unsigned int asNum_;
number of active site nodes
unsigned int asNum_;
Back to the top of MultiResolution
vector< const Node *> lowLevelPointers_;
pointers to lower level
vector< const Node *> lowLevelPointers_;
Back to the top of MultiResolution
typedef vector< Node> Level;
typedef vector< Node> Level;
Back to the top of MultiResolution
MultiResolution(const vector< PointT>& pointSet, float density , float gridMargins );
The initial bin size is computed based on density and number of tree
levels is computed based on the size of the grid margins
MultiResolution(const vector< PointT>& pointSet, float density=10.0, float gridMargins=6.0);
Back to the top of MultiResolution
MultiResolution(float density , float gridMargins );
MultiResolution(float density=10.0, float gridMargins=6.0);
Back to the top of MultiResolution
void setPointSet(const vector< PointT>& pointSet) ;
void setPointSet(const vector< PointT>& pointSet) ;
Function is currently defined inline.
Back to the top of MultiResolution
void buildTree();
Back to the top of MultiResolution
void buildTree(const vector< bool>& as);
void buildTree(const vector< bool>& as);
Back to the top of MultiResolution
void countActiveSitePoints(const vector< bool>& as);
void countActiveSitePoints(const vector< bool>& as);
Back to the top of MultiResolution
Level& getLevel(int num) ;
Function is currently defined inline.
Back to the top of MultiResolution
unsigned int size() const ;
Function is currently defined inline.
Back to the top of MultiResolution
int getAsPointsNumber() const ;
int getAsPointsNumber() const ;
Function is currently defined inline.
Back to the top of MultiResolution
void printTree(ofstream& outFile);
void printTree(ofstream& outFile);
Back to the top of MultiResolution
public: | ||
---|---|---|
class | Node | |
// Constructors | ||
Node(const PointT* point, short level , float lowLevelRadius , unsigned int subtreeSize , unsigned int asNum ); | ||
// Modifiers | ||
void | incrementAsNum(unsigned int num) ; | |
void | addChildren(const vector<const Node *>& children) ; | |
// Queries | ||
const PointT* | getPoint() const ; | |
Vector3 | position() const ; | |
short | getLevel() const ; | |
float | getRadius() const ; | |
unsigned int | getSubtreeSize() const ; | |
unsigned int | getAsNum() const ; | |
const vector< const Node *>& | getChildren() const ; | |
protected: | ||
const PointT* | point_; | |
short | level_; | |
float | lowLevelRadius_; | |
unsigned int | subtreeSize_; | |
unsigned int | asNum_; | |
vector< const Node *> | lowLevelPointers_; | |
typedef vector< Node> | Level; | |
// Modifiers | ||
void | setPointSet(const vector< PointT>& pointSet) ; | |
void | buildTree(); | |
void | buildTree(const vector< bool>& as); | |
void | countActiveSitePoints(const vector< bool>& as); | |
// Queries | ||
Level& | getLevel(int num) ; | |
unsigned int | size() const ; | |
int | getAsPointsNumber() const ; | |
void | printTree(ofstream& outFile); |
Back to the top of MultiResolution
Back to the top of MultiResolution
Back to the top of MultiResolution
Report problems to jkotula@unimax.com