FreeHEP API
Version current

org.freehep.j3d.plot
Class ZAxisBuilder

java.lang.Object
  extended byorg.freehep.j3d.plot.AxisBuilder
      extended byorg.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)
Source Code:
ZAxisBuilder.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.