nl.kun.Engine3D
Class TOscilloscopeGrid

java.lang.Object
  |
  +--nl.kun.Engine3D.TVector3D
        |
        +--nl.kun.Engine3D.TCoordSys3D
              |
              +--nl.kun.Engine3D.TEntity3D
                    |
                    +--nl.kun.Engine3D.TEntityList3D
                          |
                          +--nl.kun.Engine3D.TOscilloscopeGrid

class TOscilloscopeGrid
extends TEntityList3D

Grid object. Just an object that draws the gridlines onto the oscilloscope canvas. Will be extended with more options soon.


Field Summary
(package private)  java.awt.Color gridColor
          The main color of the grid
 
Fields inherited from class nl.kun.Engine3D.TEntityList3D
depth, index, MaxBuf, MAXOBJECTS, ObjectList, size
 
Fields inherited from class nl.kun.Engine3D.TEntity3D
color, GlobalCords, ParentGlobalCords, Vissible
 
Fields inherited from class nl.kun.Engine3D.TCoordSys3D
Xaxis, Yaxis, Zaxis
 
Fields inherited from class nl.kun.Engine3D.TVector3D
DBSCIENTIFIC, DBSTANDARD, x, y, z
 
Constructor Summary
(package private) TOscilloscopeGrid(double _maxX, double _minY, double _maxY, java.awt.Color _cl1, java.awt.Color _cl2)
          Constructor.
 
Method Summary
 void setBoundaries(double _maxX, double _minY, double _maxY)
          (Re)sets the limits of the oscilloscope grid in physical coordinates
 
Methods inherited from class nl.kun.Engine3D.TEntityList3D
Append, Clear, Depth, Draw, InheritGlobalCords, Insert, Remove, Remove, Rotate, Sort, Translate, Translate
 
Methods inherited from class nl.kun.Engine3D.TEntity3D
Vector3D, Vector3D
 
Methods inherited from class nl.kun.Engine3D.TCoordSys3D
CoordSys3D, CoordSys3D, CoordSys3D, Global2Local, Global2Local, Global2Local, Local2Global, Local2Global, Local2Global, toString
 
Methods inherited from class nl.kun.Engine3D.TVector3D
Angle, Double2String, Double2String, Modulus, Modulus, Negate, Negate, Normalize, Normalize, NulVec, StdXaxis, StdYaxis, StdZaxis, String2Double, VAdd, VCrossProduct, VCrossProduct, VDotProduct, Vector3D, VPerpendicular, VPerpendicular, VScalarProduct, VScalarProduct, VScalarProduct, VSubstract, VSubstract
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gridColor

java.awt.Color gridColor
The main color of the grid
Constructor Detail

TOscilloscopeGrid

TOscilloscopeGrid(double _maxX,
                  double _minY,
                  double _maxY,
                  java.awt.Color _cl1,
                  java.awt.Color _cl2)
Constructor.
Parameters:
_maxX - Maximum X value to display in the oscilloscope / grid
_minY - Minimum Y value to display in the oscilloscope / grid
_maxY - Maximum Y value to display in the oscilloscope / grid
_cl1 - Main Color of the object. Thick lines get this color.
_cl1 - Second Color of the object. Thin lines get this color.
Method Detail

setBoundaries

public void setBoundaries(double _maxX,
                          double _minY,
                          double _maxY)
(Re)sets the limits of the oscilloscope grid in physical coordinates
Parameters:
_maxX - Maximum X value to display in the oscilloscope
_minY - Minimum Y value to display in the oscilloscope
_maxY - Maximum Y value to display in the oscilloscope