The spica renderer
Public Member Functions | List of all members
spica::GeometricPrimitive Class Reference
Inheritance diagram for spica::GeometricPrimitive:
spica::Primitive spica::CObject

Public Member Functions

 GeometricPrimitive (const std::shared_ptr< Shape > &shape, const std::shared_ptr< Material > &material, const std::shared_ptr< Light > &areaLight=nullptr, const std::shared_ptr< MediumInterface > &mediumInterface=nullptr)
 
virtual Bounds3d worldBound () const override
 
virtual bool intersect (Ray &ray, SurfaceInteraction *isect) const override
 
virtual bool intersect (Ray &ray) const override
 
const Lightlight () const override
 
const Materialmaterial () const override
 
std::vector< Triangletriangulate () const override
 
void setScatterFuncs (SurfaceInteraction *intr, MemoryArena &arena) const override
 

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