VTK
9.1.0
|
This class is the basic building block of the cell tree. More...
#include <vtkCellTreeLocator.h>
Public Member Functions | |
void | MakeNode (unsigned int left, unsigned int d, float b[2]) |
void | SetChildren (unsigned int left) |
bool | IsNode () const |
unsigned int | GetLeftChildIndex () const |
unsigned int | GetRightChildIndex () const |
unsigned int | GetDimension () const |
const float & | GetLeftMaxValue () const |
const float & | GetRightMinValue () const |
void | MakeLeaf (unsigned int start, unsigned int size) |
bool | IsLeaf () const |
unsigned int | Start () const |
unsigned int | Size () const |
Protected Attributes | |
unsigned int | Index |
float | LeftMax |
float | RightMin |
unsigned int | Sz |
unsigned int | St |
Friends | |
class | vtkCellTree |
class | vtkCellPointTraversal |
class | vtkCellTreeBuilder |
This class is the basic building block of the cell tree.
Nodes consist of two split planes, LeftMax and RightMin, one which holds all cells assigned to the left, one for the right. The planes may overlap in the box, but cells are only assigned to one side, so some searches must traverse both leaves until they have eliminated candidates. start is the location in the cell tree. e.g. for root node start is zero. size is the number of the nodes under the (sub-)tree
Definition at line 185 of file vtkCellTreeLocator.h.
void vtkCellTreeLocator::vtkCellTreeNode::MakeNode | ( | unsigned int | left, |
unsigned int | d, | ||
float | b[2] | ||
) |
void vtkCellTreeLocator::vtkCellTreeNode::SetChildren | ( | unsigned int | left | ) |
bool vtkCellTreeLocator::vtkCellTreeNode::IsNode | ( | ) | const |
unsigned int vtkCellTreeLocator::vtkCellTreeNode::GetLeftChildIndex | ( | ) | const |
unsigned int vtkCellTreeLocator::vtkCellTreeNode::GetRightChildIndex | ( | ) | const |
unsigned int vtkCellTreeLocator::vtkCellTreeNode::GetDimension | ( | ) | const |
const float & vtkCellTreeLocator::vtkCellTreeNode::GetLeftMaxValue | ( | ) | const |
const float & vtkCellTreeLocator::vtkCellTreeNode::GetRightMinValue | ( | ) | const |
void vtkCellTreeLocator::vtkCellTreeNode::MakeLeaf | ( | unsigned int | start, |
unsigned int | size | ||
) |
bool vtkCellTreeLocator::vtkCellTreeNode::IsLeaf | ( | ) | const |
unsigned int vtkCellTreeLocator::vtkCellTreeNode::Start | ( | ) | const |
unsigned int vtkCellTreeLocator::vtkCellTreeNode::Size | ( | ) | const |
|
friend |
Definition at line 196 of file vtkCellTreeLocator.h.
|
friend |
Definition at line 197 of file vtkCellTreeLocator.h.
|
friend |
Definition at line 198 of file vtkCellTreeLocator.h.
|
protected |
Definition at line 189 of file vtkCellTreeLocator.h.
|
protected |
Definition at line 190 of file vtkCellTreeLocator.h.
|
protected |
Definition at line 191 of file vtkCellTreeLocator.h.
|
protected |
Definition at line 193 of file vtkCellTreeLocator.h.
|
protected |
Definition at line 194 of file vtkCellTreeLocator.h.