public PlotRenderer(string inputDirectory, string inputFilename, int width, int height) { _inputInputDirectory = inputDirectory; _inputFilename = inputFilename; _resolution = new Size(width, height); _hitPlot = new HitPlot4x4(_resolution); _log = LogManager.GetLogger(GetType()); }
public NebulaPointRenderer(string inputDirectory, string inputFilenameRed, string inputFilenameGreen, string inputFilenameBlue, int width, int height) { _inputInputDirectory = inputDirectory; _inputFilenameRed = inputFilenameRed; _inputFilenameGreen = inputFilenameGreen; _inputFilenameBlue = inputFilenameBlue; _resolution = new Size(width, height); _hitPlotRed = new HitPlot4x4(_resolution); _hitPlotGreen = new HitPlot4x4(_resolution); _hitPlotBlue = new HitPlot4x4(_resolution); _log = LogManager.GetLogger(GetType()); }
public TrajectoryPlotter(string inputDirectory, string inputFilenamePattern, string outputDirectory, string outputFilename, int width, int height, uint bailout) { _inputDirectory = inputDirectory; _inputFilenamePattern = inputFilenamePattern; _outputDirectory = outputDirectory; _outputFilename = outputFilename; _resolution = new Size(width, height); _bailout = bailout; _log = LogManager.GetLogger(GetType()); if (width % 4 != 0) { _log.Warn("The width should be evenly divisible by 4"); } if (height % 4 != 0) { _log.Warn("The height should be evenly divisible by 4"); } _hitPlot = new HitPlot4x4(_resolution); }