Fermat
|
A class to represent light paths in compact form, storing only the vertex ids.
#include <path.h>
Public Methods | |
FERMAT_HOST_DEVICE | Path (const uint32 _n_vertices, VertexGeometryId *_verts, const uint32 _stride) |
FERMAT_HOST_DEVICE const VertexGeometryId & | v_L (const uint32 i) const |
FERMAT_HOST_DEVICE const VertexGeometryId & | v_E (const uint32 i) const |
FERMAT_HOST_DEVICE VertexGeometryId & | v_L (const uint32 i) |
FERMAT_HOST_DEVICE VertexGeometryId & | v_E (const uint32 i) |
FERMAT_HOST_DEVICE float | G (const uint32 i, const RenderingContextView &renderer) const |
FERMAT_HOST_DEVICE cugar::Vector3f | edge_L (const uint32 i, const RenderingContextView &renderer) const |
FERMAT_HOST_DEVICE cugar::Vector3f | edge_E (const uint32 i, const RenderingContextView &renderer) const |
Public Members | |
VertexGeometryId * | vertex_ids |
uint32 | n_vertices |
uint32 | stride |