C# Class Trigrad.DataTypes.TrigradOptions

Options for the usage of the TrigradCompressor.
Show file Open project: ruarai/Trigrad Class Usage Examples

Public Properties

Property Type Description
FrequencyTable FrequencyTable
Iterations int
Random System.Random
Renderer IFill
ResampleColors bool
Resamples int
SampleCount int

Public Methods

Method Description
TrigradOptions ( ) : System

Constructs a TrigradOptions with a random seed.

TrigradOptions ( int seed ) : System

Constructs a TrigradOptions with a specified seed.

Method Details

TrigradOptions() public method

Constructs a TrigradOptions with a random seed.
public TrigradOptions ( ) : System
return System

TrigradOptions() public method

Constructs a TrigradOptions with a specified seed.
public TrigradOptions ( int seed ) : System
seed int
return System

Property Details

FrequencyTable public property

The frequency table providing the TrigradCompressor values regarding the chance a pixel will be sampled.
public FrequencyTable,Trigrad.DataTypes FrequencyTable
return FrequencyTable

Iterations public property

The number of iterations performed during minimisation.
public int Iterations
return int

Random public property

The random number generator to be used by the TrigradCompressor.
public Random,System Random
return System.Random

Renderer public property

public IFill Renderer
return IFill

ResampleColors public property

public bool ResampleColors
return bool

Resamples public property

The number of resamples.
public int Resamples
return int

SampleCount public property

The goal number of samples to be achieved.
public int SampleCount
return int