gov.sns.tools.plot
Class Data3DFactory

java.lang.Object
  |
  +--gov.sns.tools.plot.Data3DFactory

public class Data3DFactory
extends java.lang.Object

This class is a 3D data factory class for colored surface data used in the FunctionGraphsJPanel class. By default it returns the SmoothData3D instance.


Method Summary
static ColorSurfaceData getData3D(int nx, int ny, java.lang.String dataName)
          Returns the 3d data instance defined by name.
static ColorSurfaceData getDefaultData3D(int nx, int ny)
          Returns the SmoothData3D instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultData3D

public static ColorSurfaceData getDefaultData3D(int nx,
                                                int ny)
Returns the SmoothData3D instance.


getData3D

public static ColorSurfaceData getData3D(int nx,
                                         int ny,
                                         java.lang.String dataName)
Returns the 3d data instance defined by name. The name could be "smooth", "linear", "point like", and "black&white".