Fermat
Public Methods | Public Members | List of all members
BidirPath 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 BidirPath (const uint32 _l_vertices, const uint32 _e_vertices, VertexGeometryId *_l_verts, VertexGeometryId *_e_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

VertexGeometryIdl_vertex_ids
 
VertexGeometryIde_vertex_ids
 
uint32 l_vertices
 
uint32 e_vertices
 
uint32 n_vertices
 
uint32 stride
 

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