FreeHEP API
Version v1.2.2

org.freehep.j3d.plot
Class ZAxisBuilder

java.lang.Object
  |
  +--org.freehep.j3d.plot.AxisBuilder
        |
        +--org.freehep.j3d.plot.ZAxisBuilder

public class ZAxisBuilder
extends AxisBuilder

Version:
$Id: ZAxisBuilder.java,v 1.3 2002/06/12 23:15:15 duns Exp $
Author:
Joy Kyriakopulos (joyk@fnal.gov)

Field Summary
 
Fields inherited from class org.freehep.j3d.plot.AxisBuilder
labelOffSet, major, minor, scale, tickOffSet
 
Constructor Summary
ZAxisBuilder()
           
ZAxisBuilder(String label, String[] tickLabels, double[] tickLocations)
           
 
Method Summary
 void createLabelsNTicks(double min, double max, boolean logZscaling)
          createLabelsNTicks method is overridden here to support z axis log scaling.
 javax.media.j3d.Node getNode()
          Returns the node representing this Axis Subclasses can override this method to transform this axis to make it into an X,Y,Z axis.
 
Methods inherited from class org.freehep.j3d.plot.AxisBuilder
apply, createLabelsNTicks, getLabel, getLabelFont, getTickFont, getTickLabels, getTickLocations, setLabel, setLabelFont, setTickFont, setTickLabels, setTickLocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZAxisBuilder

public ZAxisBuilder()

ZAxisBuilder

public ZAxisBuilder(String label,
                    String[] tickLabels,
                    double[] tickLocations)
Method Detail

getNode

public javax.media.j3d.Node getNode()
Description copied from class: AxisBuilder
Returns the node representing this Axis Subclasses can override this method to transform this axis to make it into an X,Y,Z axis.

Overrides:
getNode in class AxisBuilder

createLabelsNTicks

public void createLabelsNTicks(double min,
                               double max,
                               boolean logZscaling)
createLabelsNTicks method is overridden here to support z axis log scaling.

Todo::
z axis log scaling needs to be implemented in Axis labels and ticks this implementation is a minimal hack.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.