XformedSurfaceWithMaterial class
#include <darts/surface.h>
A convenience subclass of Surface for simple surfaces with a Transform and a Material.
Explicitly stores a Transform which positions/orients the surface in the scene and pointer to a single Material which specifies the light reflectance properties.
Base classes
- class Surface
- This is the abstract superclass for all surfaces.
Derived classes
Public functions
- auto bounds() const -> Box3f override
- The world-space bounds: obtained by simply applying m_
xform to the result of local_ bounds() - auto local_bounds() const -> Box3f pure virtual
- Return the surface's local-space AABB.
- auto is_emissive() const -> bool override
- Return whether or not this Surface's Material is emissive.