|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| std::vector< SampleResult > MayaFlux::Kinesis::generate_samples | ( | SpatialDistribution | distribution, |
| size_t | count, | ||
| const SamplerBounds & | bounds, | ||
| Kinesis::Stochastic::Stochastic & | rng | ||
| ) |
Generate a batch of spatially distributed samples.
| distribution | Spatial distribution algorithm to apply |
| count | Number of samples to generate |
| bounds | Spatial domain |
| rng | Stochastic engine (caller owns; enables reproducible sequences) |
All geometry is computed here. Callers convert SampleResult to their concrete vertex type via the projection helpers below.
Definition at line 328 of file VertexSampler.cpp.
References BROWNIAN_PATH, count, EMPTY, FIBONACCI_SPHERE, FIBONACCI_SPIRAL, generate_sample_at(), LISSAJOUS, PERLIN_FIELD, SPLINE_PATH, STRATIFIED_CUBE, and TORUS.
Referenced by MayaFlux::Nodes::Network::PointCloudNetwork::generate_initial_positions(), and MayaFlux::Nodes::Network::ParticleNetwork::generate_initial_vertices().
Here is the call graph for this function:
Here is the caller graph for this function: