#include <primitive.h>
Public Member Functions | |
virtual | ~Aggregate () |
virtual bool | CanIntersect () const |
virtual bool | CanSample () const |
virtual void | GetPrimitives (vector< boost::shared_ptr< Primitive > > &prims)=0 |
Definition at line 305 of file primitive.h.
virtual lux::Aggregate::~Aggregate | ( | ) | [inline, virtual] |
Definition at line 308 of file primitive.h.
virtual bool lux::Aggregate::CanIntersect | ( | ) | const [inline, virtual] |
Returns whether this primitive can be intersected.
Implements lux::Primitive.
Reimplemented in lux::BruteForceAccel, lux::BVHAccel, lux::GridAccel, lux::TaBRecKdTreeAccel, and lux::UnsafeKdTreeAccel.
Definition at line 309 of file primitive.h.
virtual bool lux::Aggregate::CanSample | ( | ) | const [inline, virtual] |
Returns whether this primitive can be sampled.
Implements lux::Primitive.
Definition at line 310 of file primitive.h.
virtual void lux::Aggregate::GetPrimitives | ( | vector< boost::shared_ptr< Primitive > > & | prims | ) | [pure virtual] |
Gives all primitives in this aggregate.
prims | The destination list for the primitives. |
Implemented in lux::BruteForceAccel, lux::BVHAccel, lux::GridAccel, lux::QBVHAccel, lux::TaBRecKdTreeAccel, and lux::UnsafeKdTreeAccel.