datavisualizer::XYTreeRenderer Class Reference

A renderer that draws a circle at each data point. More...

List of all members.

Public Member Functions

 XYTreeRenderer ()
 Constructs a new renderer.
void SetScaleFactor (double fScaleFactor)
 Sets the scale factor, which controls how large trees appear on the screen.
double GetScaleFactor ()
 Gets the scale factor, which controls how large trees appear on the screen.
void SetMinDbh (double fMinDbh)
 Set the value for minimum DBH.
double GetMinDbh ()
 Gets the current value for minimum DBH.
void drawItem (Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairInfo crosshairInfo, int pass)
 Draws the visual representation of a single data item.
Object clone () throws CloneNotSupportedException
 Returns a clone of the renderer, but not a good one.

Private Attributes

double m_fScaleFactor = 0.25
 Controls how large trees appear on the screen.
double m_fMinDbh = 0
 The minimum DBH (z) value to display.


Detailed Description

A renderer that draws a circle at each data point.

The renderer expects the dataset to be an XYZDataset.

Original author of XYBubbleRenderer, upon which this is based - David Gilbert

Title: Data Visualizer

Description:

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
May 9, 2006: Added support for a minimum display DBH (LEM)


Member Function Documentation

Object datavisualizer::XYTreeRenderer::clone (  )  throws CloneNotSupportedException [inline]

Returns a clone of the renderer, but not a good one.

Returns:
A clone.
Exceptions:
CloneNotSupportedException if the renderer cannot be cloned.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void datavisualizer::XYTreeRenderer::drawItem ( Graphics2D  g2,
Rectangle2D  dataArea,
PlotRenderingInfo  info,
XYPlot  plot,
ValueAxis  domainAxis,
ValueAxis  rangeAxis,
XYDataset  dataset,
int  series,
int  item,
CrosshairInfo  crosshairInfo,
int  pass 
) [inline]

Draws the visual representation of a single data item.

Parameters:
g2 the graphics device.
dataArea the area within which the data is being drawn.
info collects information about the drawing.
plot the plot (can be used to obtain standard color information etc).
domainAxis the domain (horizontal) axis.
rangeAxis the range (vertical) axis.
dataset the dataset.
series the series index (zero-based).
item the item index (zero-based).
crosshairInfo information about crosshairs on a plot.
pass the pass index.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

double datavisualizer::XYTreeRenderer::GetMinDbh (  )  [inline]

Gets the current value for minimum DBH.

Returns:
double The minimum DBH.

double datavisualizer::XYTreeRenderer::GetScaleFactor (  )  [inline]

Gets the scale factor, which controls how large trees appear on the screen.

Returns:
Scale factor.

void datavisualizer::XYTreeRenderer::SetMinDbh ( double  fMinDbh  )  [inline]

Set the value for minimum DBH.

Parameters:
fMinDbh double Value for minimum DBH.

void datavisualizer::XYTreeRenderer::SetScaleFactor ( double  fScaleFactor  )  [inline]

Sets the scale factor, which controls how large trees appear on the screen.

Parameters:
fScaleFactor double Scale factor.


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:02 2006 for SORTIE Java Interface by  doxygen 1.4.7