VoxelFarm::OctreeNode Struct Reference

A node in the contouring octree. This octree is used to compress the polygonal output of the contouring stage. More...

#include <contour.h>

Public Attributes

unsigned int map
 Links the node to another node in the octree. This is set when the octree is compressed.
 
unsigned int index
 Pointer to the vertex information.
 
unsigned int children [8]
 Pointers to the eight children.
 
short targetLevel
 Octree can collapse below this specified level.
 
Algebra::Vector p
 A point inside the cell where the isosurface crosses.
 
int count
 Number of isosurface crossings.
 
bool leaf
 Indicates whether it is a end node in the octree.
 
bool boundary
 Indicates whether the node is in the world cell boundary.
 
double maxError
 Maximum simplification error allowed for the node.
 
Algebra::QEFMatrix qef
 Quadratic Error collected for the cell.
 
int material
 Material id for the node.
 
bool homogeneus
 Node is made of same material inside.
 

Detailed Description

A node in the contouring octree. This octree is used to compress the polygonal output of the contouring stage.

Definition at line 22 of file contour.h.


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