FreeHEP API
Version current

org.freehep.j3d.plot
Interface Binned2DData


public interface Binned2DData

A data source for binned 2D data which is used by the both the lego and the surface plot. Any class which implements this interface can be used to provide Data for a lego or surface plot.

Version:
$Id: Binned2DData.java,v 1.1 2001/05/19 00:11:53 tonyj Exp $
Author:
Joy Kyriakopulos (joyk@fnal.gov)
Source Code:
Binned2DData.java

Method Summary
 javax.vecmath.Color3b colorAt(int xIndex, int yIndex)
          Get the Color at the specified bin
 int xBins()
          Number of bins on the X axis
 float xMax()
          Axis maximum on the X Axis
 float xMin()
          Axis minimum on the X Axis
 int yBins()
          Number of bins on the Y axis
 float yMax()
          Axis maximum on the Y Axis
 float yMin()
          Axis minimum on the Y Axis
 float zAt(int xIndex, int yIndex)
          Get Z value at the specified bin
 float zMax()
          Maximum data value on the Z Axis
 float zMin()
          Minimum data value on the Z Axis
 

Method Detail

xBins

public int xBins()
Number of bins on the X axis


yBins

public int yBins()
Number of bins on the Y axis


xMin

public float xMin()
Axis minimum on the X Axis


xMax

public float xMax()
Axis maximum on the X Axis


yMin

public float yMin()
Axis minimum on the Y Axis


yMax

public float yMax()
Axis maximum on the Y Axis


zAt

public float zAt(int xIndex,
                 int yIndex)
Get Z value at the specified bin


colorAt

public javax.vecmath.Color3b colorAt(int xIndex,
                                     int yIndex)
Get the Color at the specified bin


zMin

public float zMin()
Minimum data value on the Z Axis


zMax

public float zMax()
Maximum data value on the Z Axis


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.