Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Node Struct Reference

Structure for the nodes of the octree for fast classification. More...

#include <octree.h>

Collaboration diagram for Node:

Collaboration graph
[legend]
List of all members.

Public Attributes

byte min
 The minimum value of all voxels in this subtree.
byte max
 The maximum value of all voxels in this subtree.
int maxX
 The maximum x-coordinate of the subcube.
int maxY
 The maximum y-coordinate of the subcube.
int maxZ
 The maximum z-coordinate of the subcube.
int minX
 The minimum x-coordinate of the subcube.
int minY
 The minimum y-coordinate of the subcube.
int minZ
 The minimum z-coordinate of the subcube.
byte classification
 The result of a classification.
Nodechildren [8]
 The children of the node.
int noChildren
 Are there no children?

Detailed Description

Structure for the nodes of the octree for fast classification.

One instance of this structure represents one node in the octree.

Definition at line 45 of file octree.h.


Member Data Documentation

Node* Node::children[8]
 

The children of the node.

Definition at line 70 of file octree.h.

Referenced by Octree::build(), Octree::classify(), Octree::remove(), and Octree::skip().

byte Node::classification
 

The result of a classification.

0 = all voxels in this subcube are transparent 1 = some voxels in this subcube are non-transparent and some are transparent

Definition at line 68 of file octree.h.

Referenced by Octree::classify(), and Octree::skip().

byte Node::max
 

The maximum value of all voxels in this subtree.

Definition at line 49 of file octree.h.

Referenced by Octree::build(), and Octree::classify().

int Node::maxX
 

The maximum x-coordinate of the subcube.

Definition at line 51 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

int Node::maxY
 

The maximum y-coordinate of the subcube.

Definition at line 53 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

int Node::maxZ
 

The maximum z-coordinate of the subcube.

Definition at line 55 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

byte Node::min
 

The minimum value of all voxels in this subtree.

Definition at line 47 of file octree.h.

Referenced by Octree::build(), and Octree::classify().

int Node::minX
 

The minimum x-coordinate of the subcube.

Definition at line 57 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

int Node::minY
 

The minimum y-coordinate of the subcube.

Definition at line 59 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

int Node::minZ
 

The minimum z-coordinate of the subcube.

Definition at line 61 of file octree.h.

Referenced by Octree::build(), and Octree::skip().

int Node::noChildren
 

Are there no children?

Definition at line 72 of file octree.h.

Referenced by Octree::build().


The documentation for this struct was generated from the following file:
Generated on Wed Dec 15 21:20:58 2004 for vuVolume by  doxygen 1.3.9.1