OMToolkit 1.0 The polygonal mesh processing tool.

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
OMToolkit::StackElement Class Reference

`#include <OMTriBSPTree.h>`

## Public Member Functions
| StackElement (int low, int high, int sort, OMTriBSPTree::ScalarT div, TreeElement *p, int id)

## Public Attributes
int | _id
int | lower
int | higher
int | sorted
TreeElement * | parent

## Detailed Description

Class used as stack element for bsp tree construction

## Constructor & Destructor Documentation

OMToolkit::StackElement::StackElement | ( | int | low,
|  | int | high,
|  | int | sort,
|  | OMTriBSPTree::ScalarT | div,
|  | TreeElement * | p,
|  | int | id
| ) |  |
| inline

Constructor - initializes variables

Parameters

  low | Lowest index
  high | End - first non valid item
  sort | Sorting axis
  div | Border between left and right after division
  p | Parent tree element

## Member Data Documentation

int OMToolkit::StackElement::_id

Lowest index

int OMToolkit::StackElement::higher

End - first non valid item

int OMToolkit::StackElement::lower

TreeElement* OMToolkit::StackElement::parent

Parent tree element

int OMToolkit::StackElement::sorted

Sorting axis

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

- trunk/include/OMToolkit/OMTriBSPTree.h