Description

Classes

   
class MinSG::AGVS::AdaptiveGlobalVisibilitySampling
class MinSG::AGVS::MutationCandidate
class MinSG::AGVS::MutationCandidates
Manager for mutation candidates needed by mutation-based distributions.
class MinSG::AGVS::Sample
class MinSG::AGVS::SampleDistributions
Class for generating samples based on different distributions.

Typedefs

   
   
typedef std::tuple< uint16_t, uint16_t, uint16_t > contribution_t

Functions

   
   
void splitViewCell( ValuatedRegionNode * viewCell)
Split the view cell recursively until no further split is possible.
   
contribution_t updateWithSample( ValuatedRegionNode * rootViewCell, const Sample < float > & sample, const ValuatedRegionNode * originCell)

Documentation

typedef
MinSG::AGVS::contribution_t

public
 
 
typedef std::tuple< uint16_t, uint16_t, uint16_t > contribution_t

Pair used to store the contribution of a sample.

  • First entry: Number of times that the sample’sforwardResulthas been added to view cells

  • Second entry: Number of times that the sample’sbackwardResulthas been added to view cells

  • Third entry: Number of entries that have been added to the view cell containing the sample’s origin.

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/Definitions.h:35


function
MinSG::AGVS::splitViewCell

public
     
     
void splitViewCell( ValuatedRegionNode * viewCell )

Split the view cell recursively until no further split is possible.

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/ViewCells.h:23


function
MinSG::AGVS::updateWithSample

public
     
     
contribution_t updateWithSample( ValuatedRegionNode * rootViewCell,
  const Sample < float > & sample,
  const ValuatedRegionNode * originCell
)    

Update the view cell hierarchy with a sample. The contribution of the given sample will be returned.

Parameters

rootViewCell
The root node of the view space subdivision
sample
New sample used to update the view cells
originCell
View cell containing the origin of the sample

Returns

Pair of forward and backward contribution of the sample

Defined in MinSG/Ext/AdaptiveGlobalVisibilitySampling/ViewCells.h:34