org.das2.graph.RGBImageRenderer
Renders RBG images stored in a QDataSet[m,n,3], etc.
RGBImageRenderer( )
PROP_NEARESTNEIGHBORINTERPOLATION
acceptContext
acceptContext( int x, int y ) → boolean
Parameters
x - an int
y - an int
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
acceptsData
acceptsData( QDataSet ds ) → boolean
accepts either rank2 data with grey scale 0-255, or rank3 (w,h,3 or 4)
Parameters
ds - the dataset
Returns:
true if the dataset is useful.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
doAutorange
doAutorange( QDataSet ds ) → QDataSet
autorange on the data, returning a rank 2 bounds for the dataset.
Parameters
ds - the dataset
Returns:
a bounding box
See Also:
org.das2.qds.examples.Schemes#boundingBox()
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getControl
getControl( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListIcon
getListIcon( ) → Icon
Returns:
javax.swing.Icon
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isNearestNeighborInterpolation
isNearestNeighborInterpolation( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
render
render( java.awt.Graphics2D g, org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis ) → void
Parameters
g - a Graphics2D
xAxis - a DasAxis
yAxis - a DasAxis
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
selectionArea
selectionArea( ) → Shape
Returns:
java.awt.Shape
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setControl
setControl( String s ) → void
Parameters
s - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDataSet
setDataSet( QDataSet ds ) → void
Parameters
ds - a QDataSet
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setNearestNeighborInterpolation
setNearestNeighborInterpolation( boolean nearestNeighborInterpolation ) → void
Parameters
nearestNeighborInterpolation - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
updatePlotImage
updatePlotImage( org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis, ProgressMonitor monitor ) → void
this actually can take a little while, I discovered when playing with the wave-at-cassini image.
Parameters
xAxis - a DasAxis
yAxis - a DasAxis
monitor - a ProgressMonitor
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]