lux::Aggregate Class Reference

#include <primitive.h>

Inheritance diagram for lux::Aggregate:
[legend]
Collaboration diagram for lux::Aggregate:
[legend]

List of all members.

Public Member Functions

virtual ~Aggregate ()
virtual bool CanIntersect () const
virtual bool CanSample () const
virtual void GetPrimitives (vector< boost::shared_ptr< Primitive > > &prims)=0

Detailed Description

Definition at line 305 of file primitive.h.


Constructor & Destructor Documentation

virtual lux::Aggregate::~Aggregate (  )  [inline, virtual]

Definition at line 308 of file primitive.h.


Member Function Documentation

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.

Parameters:
prims The destination list for the primitives.

Implemented in lux::BruteForceAccel, lux::BVHAccel, lux::GridAccel, lux::QBVHAccel, lux::TaBRecKdTreeAccel, and lux::UnsafeKdTreeAccel.


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208