Ejemplo n.º 1
0
 //
 //**********************************************************************************************
 //
 // Class TPlotToShow
 //   Part of  : TDRFree
 //   Function : Indicates which plot to show
 //   Author   : Jan G. Wesseling
 //   Date     : April 9th, 2013
 //
 //**********************************************************************************************
 //
 public TPlotToShow()
 {
     PlotId = -1;
       ItemToVisualize = TItemToVisualize.Nothing;
 }
Ejemplo n.º 2
0
 //
 //**********************************************************************************************
 //
 public void PrepareAndDrawGrid(TItemToVisualize aItem)
 {
     CorrectTop();
       if (aItem == TItemToVisualize.MoistureContent)
       {
     MoistureDrawing.Scale(Top, Right, Bottom, Left);
     MoistureDrawing.DrawContours();
     MoistureDrawing.DrawElements(Element);
     MoistureDrawing.DrawNodes(Node);
       }
       else
       {
     DerivedDrawing.Scale(Top, Right, Bottom, Left);
     DerivedDrawing.DrawContours();
     DerivedDrawing.DrawElements(Element);
     DerivedDrawing.DrawNodes(Node);
       }
       FindNumberOfNodes();
 }
Ejemplo n.º 3
0
        //
        //**********************************************************************************************
        //
        public void ProcessTheta(Double[] aTheta, ProgressBar brPoints, List<TMoistureClass> aMoistureClass, 
      List<TDerivedClass> aDerivedClass, TItemToVisualize aItem)
        {
            ComputeVirtualTheta(aTheta);

              if (aItem == TItemToVisualize.MoistureContent)
              {
            MoistureDrawing.DrawMoistureContents(Top, brPoints, Element, aMoistureClass, aTheta);
              }
              else
              {
            DerivedDrawing.DrawDerivedData(Top, brPoints, Element, aDerivedClass, aTheta, ValuesForDerivation, DerivationLimits);
              }
              //        MyDrawing.DrawElements(Element);
              //        MyDrawing.DrawNodes(Node);
        }
Ejemplo n.º 4
0
 //
 //**********************************************************************************************
 //
 public Bitmap GetBitmap(TItemToVisualize aItem)
 {
     Bitmap MyBitmap;
       if (aItem == TItemToVisualize.MoistureContent)
       {
     MyBitmap = GetMoistureBitmap(false);
       }
       else
       {
     MyBitmap = GetDerivedBitmap(false);
       }
       return MyBitmap;
 }