[−][src]Trait pbrt::core::sampler::Sampler
Required Methods
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
fn reseed(&mut self, seed: u64)
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
Provided Methods
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
Implementors
impl Sampler for MLTSampler
[src]
impl Sampler for MLTSampler
fn start_pixel(&mut self, p: &Point2i)
[src]
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
[src]
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
[src]
fn get_2d(&mut self) -> Point2f
fn reseed(&mut self, seed: u64)
[src]
fn reseed(&mut self, seed: u64)
fn request_2d_array(&mut self, n: i32)
[src]
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
[src]
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
[src]
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
[src]
fn start_next_sample(&mut self) -> bool
fn get_current_pixel(&self) -> Point2i
[src]
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
[src]
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
[src]
fn get_samples_per_pixel(&self) -> i64
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
[src]
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
impl Sampler for HaltonSampler
[src]
impl Sampler for HaltonSampler
fn start_pixel(&mut self, p: &Point2i)
[src]
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
[src]
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
[src]
fn get_2d(&mut self) -> Point2f
fn request_2d_array(&mut self, n: i32)
[src]
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
[src]
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
[src]
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
[src]
fn start_next_sample(&mut self) -> bool
fn reseed(&mut self, _seed: u64)
[src]
fn reseed(&mut self, _seed: u64)
fn get_current_pixel(&self) -> Point2i
[src]
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
[src]
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
[src]
fn get_samples_per_pixel(&self) -> i64
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
[src]
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
impl Sampler for RandomSampler
[src]
impl Sampler for RandomSampler
fn start_pixel(&mut self, p: &Point2i)
[src]
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
[src]
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
[src]
fn get_2d(&mut self) -> Point2f
fn reseed(&mut self, seed: u64)
[src]
fn reseed(&mut self, seed: u64)
fn request_2d_array(&mut self, n: i32)
[src]
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
[src]
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
[src]
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
[src]
fn start_next_sample(&mut self) -> bool
fn get_current_pixel(&self) -> Point2i
[src]
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
[src]
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
[src]
fn get_samples_per_pixel(&self) -> i64
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
[src]
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
impl Sampler for SobolSampler
[src]
impl Sampler for SobolSampler
fn start_pixel(&mut self, p: &Point2i)
[src]
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
[src]
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
[src]
fn get_2d(&mut self) -> Point2f
fn request_2d_array(&mut self, n: i32)
[src]
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
[src]
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
[src]
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
[src]
fn start_next_sample(&mut self) -> bool
fn reseed(&mut self, _seed: u64)
[src]
fn reseed(&mut self, _seed: u64)
fn get_current_pixel(&self) -> Point2i
[src]
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
[src]
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
[src]
fn get_samples_per_pixel(&self) -> i64
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
[src]
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
impl Sampler for ZeroTwoSequenceSampler
[src]
impl Sampler for ZeroTwoSequenceSampler
fn start_pixel(&mut self, p: &Point2i)
[src]
fn start_pixel(&mut self, p: &Point2i)
fn get_1d(&mut self) -> Float
[src]
fn get_1d(&mut self) -> Float
fn get_2d(&mut self) -> Point2f
[src]
fn get_2d(&mut self) -> Point2f
fn request_2d_array(&mut self, n: i32)
[src]
fn request_2d_array(&mut self, n: i32)
fn round_count(&self, count: i32) -> i32
[src]
fn round_count(&self, count: i32) -> i32
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
[src]
fn get_2d_array(&mut self, n: i32) -> Vec<Point2f>
fn start_next_sample(&mut self) -> bool
[src]
fn start_next_sample(&mut self) -> bool
fn reseed(&mut self, seed: u64)
[src]
fn reseed(&mut self, seed: u64)
fn get_current_pixel(&self) -> Point2i
[src]
fn get_current_pixel(&self) -> Point2i
fn get_current_sample_number(&self) -> i64
[src]
fn get_current_sample_number(&self) -> i64
fn get_samples_per_pixel(&self) -> i64
[src]
fn get_samples_per_pixel(&self) -> i64
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample
[src]
fn get_camera_sample(&mut self, p_raster: &Point2i) -> CameraSample