The spica renderer
|
#include <disk.h>
Public Member Functions | |
Disk (const Point3d ¢er, const Normal3d &normal, double radius, const Transform &objectToWorld=Transform()) | |
Disk (const Disk &disk) | |
Disk & | operator= (const Disk &disk) |
bool | intersect (const Ray &ray, double *tHit, SurfaceInteraction *isect) const override |
bool | intersect (const Ray &ray) const override |
Interaction | sample (const Point2d &rands) const override |
Bounds3d | objectBound () const override |
double | area () const override |
std::vector< Triangle > | triangulate () const override |
Point3d | center () const |
Normal3d | normal () const |
double | radius () const |
![]() | |
Shape (const Transform &objectToWorld, ShapeType type) | |
Shape (const Shape &s) | |
Shape & | operator= (const Shape &s) |
virtual Interaction | sample (const Interaction &isect, const Point2d &rands) const |
virtual double | pdf (const Interaction &pObj) const |
virtual double | pdf (const Interaction &pObj, const Vector3d &dir) const |
virtual Bounds3d | worldBound () const |
ShapeType | type () const |
Additional Inherited Members | |
![]() | |
Transform | objectToWorld_ |
Transform | worldToObject_ |
ShapeType | type_ |
Disk class.