TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.internal
Class DXYSurface

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DItem
      extended by org.eclipse.tptp.platform.report.chart.internal.DXYSurface
All Implemented Interfaces:
IXYSurface, IDItem, IDObject

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DXYSurface
extends DItem
implements IXYSurface

Implementation of IXYSurface that can be inserted as child of DGraphic object. All Z values are stored inside one dimensionnal double array.

See Also:
IXYSurface, DGraphic

Nested Class Summary
static class DXYSurface.Extension
          Deprecated.  
 
Field Summary
protected  int sizex_
          Deprecated.  
protected  int sizey_
          Deprecated.  
protected  double[] z_
          Deprecated.  
protected  double zmax_
          Deprecated.  
protected  double zmin_
          Deprecated.  
 
Constructor Summary
DXYSurface()
          Deprecated. Create an empty surface, use setZ() to set surface data.
DXYSurface(int sizex, int sizey)
          Deprecated. Create a surface, all z values are 0
DXYSurface(int sizex, int sizey, double[] z, double zmin, double zmax)
          Deprecated. Create a surface using external parameters, array is not copied.
 
Method Summary
 int getSizeX()
          Deprecated.  
 int getSizeY()
          Deprecated.  
 double getZ(int x, int y)
          Deprecated.  
 double getZMax()
          Deprecated.  
 double getZMin()
          Deprecated.  
 void setZ(int x, int y, double z)
          Deprecated. Change the value of one Z at given place zmiin and zmax aren't updated.
 void setZ(int sizex, int sizey, double[] z, double zmin, double zmax)
          Deprecated. Change surface parameters, array is taken "as is", must have sizex*sizey size and is not copyied.
 void updateZMinMax()
          Deprecated. Parse all Z array to setup zmin and zmax.
 
Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem
addChild, clear, getAppliedStyle, getChildCount, getChildPosition, getFirstChild, getIterator, getLastChild, getNext, getParent, getRoot, getStyle, insertChild, isContainer, removeChild, setNext, setParent, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sizex_

protected int sizex_
Deprecated. 

sizey_

protected int sizey_
Deprecated. 

z_

protected double[] z_
Deprecated. 

zmin_

protected double zmin_
Deprecated. 

zmax_

protected double zmax_
Deprecated. 
Constructor Detail

DXYSurface

public DXYSurface()
Deprecated. 
Create an empty surface, use setZ() to set surface data.


DXYSurface

public DXYSurface(int sizex,
                  int sizey)
Deprecated. 
Create a surface, all z values are 0


DXYSurface

public DXYSurface(int sizex,
                  int sizey,
                  double[] z,
                  double zmin,
                  double zmax)
Deprecated. 
Create a surface using external parameters, array is not copied.

Method Detail

setZ

public void setZ(int sizex,
                 int sizey,
                 double[] z,
                 double zmin,
                 double zmax)
Deprecated. 
Change surface parameters, array is taken "as is", must have sizex*sizey size and is not copyied. This method allows to set all Z value in a array before create surface.


setZ

public void setZ(int x,
                 int y,
                 double z)
Deprecated. 
Change the value of one Z at given place zmiin and zmax aren't updated.


getSizeX

public int getSizeX()
Deprecated. 
Specified by:
getSizeX in interface IXYSurface
Returns:
the number of points along X axis

getSizeY

public int getSizeY()
Deprecated. 
Specified by:
getSizeY in interface IXYSurface
Returns:
the number of points along Y axis

getZMin

public double getZMin()
Deprecated. 
Specified by:
getZMin in interface IXYSurface
Returns:
minimal value getZ() can return along Z axis

getZMax

public double getZMax()
Deprecated. 
Specified by:
getZMax in interface IXYSurface
Returns:
maximal value getZ() can return along Z axis

getZ

public double getZ(int x,
                   int y)
Deprecated. 
Specified by:
getZ in interface IXYSurface
Returns:
Z value for x, y points, x is from 0 to getSizeX()-1 y is from 0 to getSizeY()-1.

updateZMinMax

public void updateZMinMax()
Deprecated. 
Parse all Z array to setup zmin and zmax.


TPTP 4.6.0 Platform Project
Internal API Specification