[][src]Struct pbrt::samplers::sobol::SobolSampler

pub struct SobolSampler {
    pub samples_per_pixel: i64,
    // some fields omitted
}

Fields

samples_per_pixel: i64

Implementations

impl SobolSampler[src]

pub fn new(samples_per_pixel: i64, sample_bounds: &Bounds2i) -> Self[src]

pub fn clone_with_seed(&self, _seed: u64) -> Box<Sampler>[src]

pub fn create(params: &ParamSet, sample_bounds: &Bounds2i) -> Box<Sampler>[src]

pub fn get_index_for_sample(&self, sample_num: u64) -> u64[src]

pub fn sample_dimension(&self, index: u64, dim: i64) -> Float[src]

pub fn start_pixel(&mut self, p: Point2i)[src]

pub fn get_1d(&mut self) -> Float[src]

pub fn get_2d(&mut self) -> Point2f[src]

pub fn get_2d_sample(&self, array_idx: usize, idx: usize) -> Point2f[src]

pub fn request_2d_array(&mut self, n: i32)[src]

pub fn round_count(&self, count: i32) -> i32[src]

pub fn get_2d_array(&mut self, n: i32) -> Option<&[Point2f]>[src]

pub fn get_2d_array_idxs(&mut self, n: i32) -> (bool, usize, usize)[src]

pub fn start_next_sample(&mut self) -> bool[src]

pub fn reseed(&mut self, _seed: u64)[src]

pub fn get_current_pixel(&self) -> Point2i[src]

pub fn get_current_sample_number(&self) -> i64[src]

pub fn get_samples_per_pixel(&self) -> i64[src]

pub fn set_sample_number(&mut self, sample_num: i64) -> bool[src]

Auto Trait Implementations

impl RefUnwindSafe for SobolSampler

impl Send for SobolSampler

impl Sync for SobolSampler

impl Unpin for SobolSampler

impl UnwindSafe for SobolSampler

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.