VEE_VectorGridTree Class Reference

An oct-tree -like spatial subdivision system for vector grids. More...

#include <vee_grid_force.h>

Collaboration diagram for VEE_VectorGridTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Classes


Detailed Description

An oct-tree -like spatial subdivision system for vector grids.

Saves memory over VEE_VectorGrid.

Author:
Tommi Ilmonen


Constructor & Destructor Documentation

VEE_VectorGridTree::VEE_VectorGridTree  ) 
 

VEE_VectorGridTree::~VEE_VectorGridTree  ) 
 


Member Function Documentation

uint VEE_VectorGridTree::bytesUsed  )  const
 

Returns the number of bytes this object takes.

uint VEE_VectorGridTree::lowestVoxels  )  const
 

uint VEE_VectorGridTree::totalVoxelDim  )  const [inline]
 

float VEE_VectorGridTree::voxelSize  )  const [inline]
 

void VEE_VectorGridTree::build VEE_VectorGrid source,
uint  firstDivision = 8,
float  maximumVectorSpread = 0.2
 

Builds a plane tree out of homogenously sampled vector grid.

bool VEE_VectorGridTree::write const char *  filename  ) 
 

bool VEE_VectorGridTree::read const char *  filename  ) 
 

bool VEE_VectorGridTree::write GEE_Io  ) 
 

bool VEE_VectorGridTree::read GEE_Io  ) 
 

const VEE_Vector4 & VEE_VectorGridTree::getPlane const VEE_Vector3 loc  ) 
 

uint VEE_VectorGridTree::validLeafCount  )  const
 

void VEE_VectorGridTree::resize uint  firstDivision,
uint  secondDivision
[protected]
 


Member Data Documentation

MJ_Array3D<Branch> VEE_VectorGridTree::m_tree [protected]
 

Leaf VEE_VectorGridTree::m_zeroLeaf [protected]
 

float VEE_VectorGridTree::m_voxelSize [protected]
 

Size of an individual voxel (in the lowest-level).

uint VEE_VectorGridTree::m_totalVoxelDim [protected]
 

uint VEE_VectorGridTree::m_bottomDivision [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:44 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6