Fermat
Public Methods | Public Members | List of all members
Path Struct Reference

Detailed description

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 VertexGeometryIdv_L (const uint32 i) const
 
FERMAT_HOST_DEVICE const VertexGeometryIdv_E (const uint32 i) const
 
FERMAT_HOST_DEVICE VertexGeometryIdv_L (const uint32 i)
 
FERMAT_HOST_DEVICE VertexGeometryIdv_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

VertexGeometryIdvertex_ids
 
uint32 n_vertices
 
uint32 stride
 

The documentation for this struct was generated from the following file: