20 #if !defined(__MITSUBA_BIDIR_EDGE_H_)
21 #define __MITSUBA_BIDIR_EDGE_H_
176 EValue = EValueImp | EValueRad,
177 ECosine = ECosineImp | ECosineRad,
178 EValueCosineImp = EValueImp | ECosineImp,
179 EValueCosineRad = EValueRad | ECosineRad,
180 EInverseSquareFalloff = 0x10,
181 ETransmittance = 0x20,
182 EGeometricTerm = ECosine | EInverseSquareFalloff,
183 EGeneralizedGeometricTerm = EGeometricTerm | ETransmittance,
184 EEverything = EValue | EGeneralizedGeometricTerm
205 unsigned int what)
const;
360 static bool pathConnect(
const Scene *scene,
const PathEdge *predEdge,
409 bool pathConnectAndCollapse(
const Scene *scene,
const PathEdge *predEdge,
411 const PathEdge *succEdge,
int &interactions);
417 bool operator==(
const PathEdge &edge)
const;
421 return !operator==(edge);
425 std::string toString()
const;
Abstract participating medium.
Definition: medium.h:103
Bidirectional path vertex data structure.
Definition: vertex.h:48
EVertexType
What kind of vertex is this (e.g. medium, surface, emitter)?
Definition: vertex.h:67
Principal scene data structure.
Definition: scene.h:49
Base class of all sample generators.
Definition: sampler.h:66
Float length
Length of this edge in world-space distance units.
Definition: edge.h:67
Bidirectional path data structure.
Definition: path.h:46
ECachedValues
Evaluate cached quantities associated with this edge.
Definition: edge.h:171
const Medium * medium
Pointer to the medium that contains this edge (where NULL is vacuum)
Definition: edge.h:52
Specifies the number of supported transport modes.
Definition: common.h:42
Vector d
Normalized direction vector associated with this edge.
Definition: edge.h:59
Bidirectional path edge data structure.
Definition: edge.h:46
bool operator!=(const PathEdge &edge) const
Compare this edge against another edge.
Definition: edge.h:420
Discrete spectral power distribution based on a number of wavelength bins over the 360-830 nm range...
Definition: spectrum.h:663
ETransportMode
Specifies the transport mode when sampling or evaluating a scattering function.
Definition: common.h:33