Instructions for developers

How to develop new plugin:

  1. Install your favorite IDK for .NetFramework programming
  2. Choose program language and create new Class Library Project
    (Assembly name must end with ".CTPlugIn")
  3. Add reference to CellToolDK.dll
    (Source code is avaliable in GitHub)
  4. Create public class with the following content (C# example):

  5. using CellToolDK;
    
    public class Main
    {
         private Transmiter t;
         private TifFileInfo fi;
            
         private void ApplyChanges()
         {
               //Apply changes and reload the image
               t.ReloadImage();
         }
            
         public void Input(TifFileInfo fi, Transmiter t)
         {
                this.t = t;
                this.fi = fi;
                //Main entrance
         }
    }

  6. Start programming by using CellToolDK_Guide.pdf
  7. Install your plugin .dll file to CellTool
    (Example plugin is avaliable in GitHub)