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 |
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.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 |
gridColor
java.awt.Color gridColor
- The main color of the grid
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.
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