lux::TaBRecKdAccelNode Struct Reference

#include <tabreckdtreeaccel.h>

List of all members.

Public Member Functions

void initLeaf (int *primNums, int np, Primitive **prims, MemoryArena &arena)
void initInterior (int axis, float s)
float SplitPos () const
int nPrimitives () const
int SplitAxis () const
bool IsLeaf () const

Public Attributes

union {
   u_int   flags
   float   split
   u_int   nPrims
}; 
union {
   u_int   aboveChild
   Primitive *   onePrimitive
   Primitive **   primitives
}; 


Detailed Description

Definition at line 34 of file tabreckdtreeaccel.h.


Member Function Documentation

void lux::TaBRecKdAccelNode::initInterior ( int  axis,
float  s 
) [inline]

Definition at line 61 of file tabreckdtreeaccel.h.

References flags, and split.

Referenced by lux::TaBRecKdTreeAccel::buildTree().

void lux::TaBRecKdAccelNode::initLeaf ( int *  primNums,
int  np,
Primitive **  prims,
MemoryArena arena 
) [inline]

bool lux::TaBRecKdAccelNode::IsLeaf (  )  const [inline]

Definition at line 71 of file tabreckdtreeaccel.h.

References flags.

Referenced by lux::TaBRecKdTreeAccel::Intersect(), and lux::TaBRecKdTreeAccel::IntersectP().

int lux::TaBRecKdAccelNode::nPrimitives (  )  const [inline]

Definition at line 69 of file tabreckdtreeaccel.h.

References nPrims.

Referenced by lux::TaBRecKdTreeAccel::Intersect(), and lux::TaBRecKdTreeAccel::IntersectP().

int lux::TaBRecKdAccelNode::SplitAxis (  )  const [inline]

Definition at line 70 of file tabreckdtreeaccel.h.

References flags.

Referenced by lux::TaBRecKdTreeAccel::Intersect(), and lux::TaBRecKdTreeAccel::IntersectP().

float lux::TaBRecKdAccelNode::SplitPos (  )  const [inline]

Definition at line 68 of file tabreckdtreeaccel.h.

References split.

Referenced by lux::TaBRecKdTreeAccel::Intersect(), and lux::TaBRecKdTreeAccel::IntersectP().


Member Data Documentation

union { ... }

union { ... }

Definition at line 83 of file tabreckdtreeaccel.h.

Referenced by initInterior(), initLeaf(), IsLeaf(), and SplitAxis().

Definition at line 85 of file tabreckdtreeaccel.h.

Referenced by initLeaf(), and nPrimitives().

Definition at line 84 of file tabreckdtreeaccel.h.

Referenced by initInterior(), and SplitPos().


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

Generated on Tue Nov 10 01:36:39 2009 for lux by  doxygen 1.5.9