lt.monarch.chart.chart3D.series
Class AbstractVector3DStrategy<ChartProjector extends Projector>

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractVector3DStrategy<ChartProjector>
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Vector3DStrategy

public abstract class AbstractVector3DStrategy<ChartProjector extends Projector>
extends java.lang.Object
implements java.io.Serializable

Abstract vector 3d class. It defines what methods the vector 3d strategies should implement and implements common methods for all strategies in it.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
protected  java.lang.Object baseValue
          Base value of the series
protected  boolean dirty
          True, if dirty, otherwise -false
protected  boolean isConnected
          Shows if the data points are connected and whether they can be drawn as separate primitives
protected  PlaneMapper3D mapper
          Plane mapper
protected  MetaDataModel metaModel
          Meta data model
protected  java.util.Map<DataColumnType,MinMaxValues> minMaxValues
          Min Max values
protected  ArrayDataModel model
          Series data model
protected  PaintMode paintMode
          Paint mode of the series
protected  Point3D planePoint
          Template point for mapping plane
protected  Projector projector
          Point projector
protected  boolean showNullValues
          Boolean which determines if to show null values
protected  Style style
          Style of series
protected  GeneralPoint tempPoint
          Template point for projecting points
protected  AxisMapper xMapper
          X axis mapper
protected  AxisMapper yMapper
          Y axis mapper
protected  AxisMapper zMapper
          Z axis mapper
protected  double zoomMultiplier
          Zoom multiplier
 
Constructor Summary
Constructor and Description
AbstractVector3DStrategy()
           
 
Method Summary
Modifier and Type Method and Description
abstract  void dispose()
          Disposes the object
 void draw(AbstractGraphics g, Projector projector, PlaneMapper3D mapper, HotSpotMap hotMap, boolean showNullValues, Style style, java.lang.Object baseValue, Vector3DSeries series)
          Draws the series in the chart area.
protected  void finalize()
           
protected  java.util.Map<DataColumnType,MinMaxValues> getMinMaxValues()
          Gets the minMaxValues value
protected  Point3D projectPoint(Projector projector, GeneralPoint ptt, Point3D planePoint, double x, double y, double z)
          Projects the point
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xMapper

protected AxisMapper xMapper
X axis mapper


yMapper

protected AxisMapper yMapper
Y axis mapper


zMapper

protected AxisMapper zMapper
Z axis mapper


model

protected ArrayDataModel model
Series data model


metaModel

protected MetaDataModel metaModel
Meta data model


mapper

protected PlaneMapper3D mapper
Plane mapper


style

protected Style style
Style of series


zoomMultiplier

protected double zoomMultiplier
Zoom multiplier


tempPoint

protected GeneralPoint tempPoint
Template point for projecting points


planePoint

protected Point3D planePoint
Template point for mapping plane


baseValue

protected java.lang.Object baseValue
Base value of the series


projector

protected Projector projector
Point projector


paintMode

protected PaintMode paintMode
Paint mode of the series


isConnected

protected boolean isConnected
Shows if the data points are connected and whether they can be drawn as separate primitives


showNullValues

protected boolean showNullValues
Boolean which determines if to show null values


dirty

protected boolean dirty
True, if dirty, otherwise -false


minMaxValues

protected java.util.Map<DataColumnType,MinMaxValues> minMaxValues
Min Max values

Constructor Detail

AbstractVector3DStrategy

public AbstractVector3DStrategy()
Method Detail

draw

public void draw(AbstractGraphics g,
                 Projector projector,
                 PlaneMapper3D mapper,
                 HotSpotMap hotMap,
                 boolean showNullValues,
                 Style style,
                 java.lang.Object baseValue,
                 Vector3DSeries series)
Draws the series in the chart area.

Parameters:
g - graphics context
projector - projector instance
mapper - plane mapper
hotMap - hot spot map
showNullValues - boolean value indicating whether to show the null values
style - style object
baseValue - base value
series - scatter series instance

dispose

public abstract void dispose()
Disposes the object


finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

projectPoint

protected Point3D projectPoint(Projector projector,
                               GeneralPoint ptt,
                               Point3D planePoint,
                               double x,
                               double y,
                               double z)
Projects the point

Parameters:
projector - projector
ptt - template point
planePoint - template point to map plane coordinates
x - x coordinate to map
y - y coordinate to map
z - z coordinate to map

getMinMaxValues

protected java.util.Map<DataColumnType,MinMaxValues> getMinMaxValues()
Gets the minMaxValues value

Returns:
the minMaxValues value