ij.plugin
Class SurfacePlotter

java.lang.Object
  extended by ij.plugin.SurfacePlotter
All Implemented Interfaces:
PlugIn

public class SurfacePlotter
extends java.lang.Object
implements PlugIn


Field Summary
(package private)  double angle
           
(package private)  double angle2
           
(package private)  double angle2InDegrees
           
(package private)  double angleInDegrees
           
(package private) static boolean blackFill
           
(package private) static boolean firstTime
           
(package private)  ImagePlus img
           
(package private)  boolean invertedLut
           
(package private)  LookUpTable lut
           
(package private) static boolean oneToOne
           
(package private)  double p1x
           
(package private)  double p1y
           
(package private)  double p2x
           
(package private)  double p2y
           
(package private)  double p3x
           
(package private)  double p3y
           
(package private) static int plotWidth
           
(package private) static int polygonMultiplier
           
(package private) static boolean showAxis
           
(package private) static boolean showGrayscale
           
(package private) static boolean showWireframe
           
(package private) static boolean smooth
           
(package private) static boolean whiteBackground
           
(package private)  int[] x
           
(package private)  int[] y
           
(package private)  double yinc2
           
 
Constructor Summary
SurfacePlotter()
           
 
Method Summary
(package private)  void clearAboveProfile(ImageProcessor ipProfile, double[] profile, int width, double yinc2)
           
(package private)  void drawAndLabelAxis(ImageProcessor ip, ImageProcessor ip2, java.awt.Rectangle roi)
           
(package private)  void drawAxis(ImageProcessor ip, int x1, int y1, int x2, int y2, java.lang.String label, int offset, int offsetXDirection, int offsetYDirection, int labelSide)
           
(package private)  ImageProcessor drawString(ImageProcessor ip, java.lang.String s, int a)
           
(package private)  void fixLut(ImageProcessor ip)
           
 ImageProcessor makeSurfacePlot(ImageProcessor ip)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
(package private)  boolean showDialog()
           
(package private)  ImageProcessor trimPlot(ImageProcessor plot, int maxTrim)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plotWidth

static int plotWidth

polygonMultiplier

static int polygonMultiplier

oneToOne

static boolean oneToOne

firstTime

static boolean firstTime

showWireframe

static boolean showWireframe

showGrayscale

static boolean showGrayscale

showAxis

static boolean showAxis

whiteBackground

static boolean whiteBackground

blackFill

static boolean blackFill

smooth

static boolean smooth

img

ImagePlus img

x

int[] x

y

int[] y

invertedLut

boolean invertedLut

angleInDegrees

double angleInDegrees

angle

double angle

angle2InDegrees

double angle2InDegrees

angle2

double angle2

yinc2

double yinc2

p1x

double p1x

p1y

double p1y

p2x

double p2x

p2y

double p2y

p3x

double p3x

p3y

double p3y

lut

LookUpTable lut
Constructor Detail

SurfacePlotter

public SurfacePlotter()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

showDialog

boolean showDialog()

makeSurfacePlot

public ImageProcessor makeSurfacePlot(ImageProcessor ip)

drawAndLabelAxis

void drawAndLabelAxis(ImageProcessor ip,
                      ImageProcessor ip2,
                      java.awt.Rectangle roi)

drawAxis

void drawAxis(ImageProcessor ip,
              int x1,
              int y1,
              int x2,
              int y2,
              java.lang.String label,
              int offset,
              int offsetXDirection,
              int offsetYDirection,
              int labelSide)

drawString

ImageProcessor drawString(ImageProcessor ip,
                          java.lang.String s,
                          int a)

clearAboveProfile

void clearAboveProfile(ImageProcessor ipProfile,
                       double[] profile,
                       int width,
                       double yinc2)

trimPlot

ImageProcessor trimPlot(ImageProcessor plot,
                        int maxTrim)

fixLut

void fixLut(ImageProcessor ip)