PageRenderTime 45ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/DynamicDataDisplay.Maps/Charts/ColorMaps/ColorMapBuilder.cs

#
C# | 34 lines | 30 code | 4 blank | 0 comment | 0 complexity | 5518681086deb724c6736be453c50089 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Microsoft.Research.DynamicDataDisplay.DataSources;
  6. using Microsoft.Research.DynamicDataDisplay.Common.Palettes;
  7. namespace Microsoft.Research.DynamicDataDisplay.Maps.Charts.ColorMaps
  8. {
  9. public sealed class ColorMapBuilder
  10. {
  11. private IDataSource2D<double> dataSource;
  12. private DataRect visible;
  13. private IPalette palette;
  14. public IPalette Palette
  15. {
  16. get { return palette; }
  17. set { palette = value; }
  18. }
  19. public DataRect Visible
  20. {
  21. get { return visible; }
  22. set { visible = value; }
  23. }
  24. public IDataSource2D<double> DataSource
  25. {
  26. get { return dataSource; }
  27. set { dataSource = value; }
  28. }
  29. }
  30. }