|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| SampleResult MayaFlux::Kinesis::generate_sample_at | ( | SpatialDistribution | distribution, |
| size_t | index, | ||
| size_t | total, | ||
| const SamplerBounds & | bounds, | ||
| Kinesis::Stochastic::Stochastic & | rng | ||
| ) |
Generate a single sample at a specific index (for indexed/sequential modes).
| distribution | Spatial distribution algorithm |
| index | Sample index within the total sequence |
| total | Total number of samples in the sequence |
| bounds | Spatial domain |
| rng | Stochastic engine |
Useful for ParticleNetwork's per-index generation pattern.
Definition at line 367 of file VertexSampler.cpp.
References GRID, RANDOM_CUBE, RANDOM_SPHERE, RANDOM_SURFACE, RANDOM_VOLUME, SPHERE_SURFACE, SPHERE_VOLUME, and UNIFORM_GRID.
Referenced by generate_samples(), and MayaFlux::Nodes::Network::ParticleNetwork::generate_single_vertex().
Here is the caller graph for this function: