19 #if !defined(__NORI_CAMERA_H) 
   20 #define __NORI_CAMERA_H 
   22 #include <nori/object.h> 
   59         const Point2f &apertureSample) 
const = 0;
 
   71     virtual EClassType 
getClassType()
 const override { 
return ECamera; }
 
Generic camera interface.
const Vector2i & getOutputSize() const
Return the size of the output image in pixels.
virtual Color3f sampleRay(Ray3f &ray, const Point2f &samplePosition, const Point2f &apertureSample) const =0
Importance sample a ray according to the camera's response function.
virtual EClassType getClassType() const override
Return the type of object (i.e. Mesh/Camera/etc.) provided by this instance.
const ReconstructionFilter * getReconstructionFilter() const
Return the camera's reconstruction filter in image space.
Base class of all objects.
Generic radially symmetric image reconstruction filter.
Represents a linear RGB color value.