HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TS_OctreeVoxel Class Reference

#include <TS_Octree.h>

Public Member Functions

 TS_OctreeVoxel ()
 
 ~TS_OctreeVoxel ()
 
int64 getMemoryUsage (bool inclusive) const
 Compute memory usage. More...
 
float xmin () const
 
float xmax () const
 
float ymin () const
 
float ymax () const
 
float zmin () const
 
float zmax () const
 
TS_OctreeVoxelleft ()
 
TS_OctreeVoxelright ()
 
void addThing (TS_MetaPrimitive *object)
 
void subdivide (const TS_ExpressionList &nodes, unsigned maxEntries, unsigned level)
 

Public Attributes

TS_OctreeVoxelmyKids [2]
 
TS_ExpressionList myList
 
unsigned myAxis
 
float myAvg
 
UT_BoundingBox myBBox
 

Detailed Description

Definition at line 30 of file TS_Octree.h.

Constructor & Destructor Documentation

TS_OctreeVoxel::TS_OctreeVoxel ( )
TS_OctreeVoxel::~TS_OctreeVoxel ( )

Member Function Documentation

void TS_OctreeVoxel::addThing ( TS_MetaPrimitive object)
int64 TS_OctreeVoxel::getMemoryUsage ( bool  inclusive) const

Compute memory usage.

TS_OctreeVoxel* TS_OctreeVoxel::left ( )
inline

Definition at line 51 of file TS_Octree.h.

TS_OctreeVoxel* TS_OctreeVoxel::right ( )
inline

Definition at line 52 of file TS_Octree.h.

void TS_OctreeVoxel::subdivide ( const TS_ExpressionList nodes,
unsigned  maxEntries,
unsigned  level 
)
float TS_OctreeVoxel::xmax ( ) const
inline

Definition at line 46 of file TS_Octree.h.

float TS_OctreeVoxel::xmin ( ) const
inline

Definition at line 45 of file TS_Octree.h.

float TS_OctreeVoxel::ymax ( ) const
inline

Definition at line 48 of file TS_Octree.h.

float TS_OctreeVoxel::ymin ( ) const
inline

Definition at line 47 of file TS_Octree.h.

float TS_OctreeVoxel::zmax ( ) const
inline

Definition at line 50 of file TS_Octree.h.

float TS_OctreeVoxel::zmin ( ) const
inline

Definition at line 49 of file TS_Octree.h.

Member Data Documentation

float TS_OctreeVoxel::myAvg

Definition at line 42 of file TS_Octree.h.

unsigned TS_OctreeVoxel::myAxis

Definition at line 41 of file TS_Octree.h.

UT_BoundingBox TS_OctreeVoxel::myBBox

Definition at line 43 of file TS_Octree.h.

TS_OctreeVoxel* TS_OctreeVoxel::myKids[2]

Definition at line 39 of file TS_Octree.h.

TS_ExpressionList TS_OctreeVoxel::myList

Definition at line 40 of file TS_Octree.h.


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