blob: 18e2b3aca370764d30202abaef177df94b4a8a7a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Jul 23 15:58:48 CEST 2020 -->
<title>ColorMap</title>
<meta name="date" content="2020-07-23">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ColorMap";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ColorMap.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ByteArrayWrapper.html" title="class in org.eclipse.nebula.visualization.widgets.datadefinition"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html" target="_top">Frames</a></li>
<li><a href="ColorMap.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.nebula.visualization.widgets.datadefinition</div>
<h2 title="Class ColorMap" class="title">Class ColorMap</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.visualization.widgets.datadefinition.ColorMap</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ColorMap</span>
extends java.lang.Object</pre>
<div class="block">Color Map data type.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#ColorMap--">ColorMap</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#ColorMap-org.eclipse.nebula.visualization.widgets.datadefinition.ColorMap.PredefinedColorMap-boolean-boolean-">ColorMap</a></span>(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a>&nbsp;predefinedColorMap,
boolean&nbsp;autoScale,
boolean&nbsp;interpolate)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.ImageData</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#drawImage-double:A-int-int-double-double-">drawImage</a></span>(double[]&nbsp;dataArray,
int&nbsp;dataWidth,
int&nbsp;dataHeight,
double&nbsp;max,
double&nbsp;min)</code>
<div class="block">Calculate the image data from source data based on the color map.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.ImageData</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#drawImage-org.eclipse.nebula.visualization.widgets.datadefinition.IPrimaryArrayWrapper-int-int-double-double-org.eclipse.swt.graphics.ImageData-boolean-">drawImage</a></span>(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/IPrimaryArrayWrapper.html" title="interface in org.eclipse.nebula.visualization.widgets.datadefinition">IPrimaryArrayWrapper</a>&nbsp;dataArray,
int&nbsp;dataWidth,
int&nbsp;dataHeight,
double&nbsp;max,
double&nbsp;min,
org.eclipse.swt.graphics.ImageData&nbsp;imageData,
boolean&nbsp;shrink)</code>
<div class="block">Calculate the image data from source data based on the color map.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.RGB[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#getColorsLookupTable--">getColorsLookupTable</a></span>()</code>
<div class="block">Get a colors lookup table from 0 to 255.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.LinkedHashMap&lt;java.lang.Double,org.eclipse.swt.graphics.RGB&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#getMap--">getMap</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.PaletteData</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#getPalette--">getPalette</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#getPredefinedColorMap--">getPredefinedColorMap</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#getValueRGB-org.eclipse.nebula.visualization.widgets.datadefinition.ColorTuple:A-double:A-double-">getValueRGB</a></span>(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorTuple.html" title="class in org.eclipse.nebula.visualization.widgets.datadefinition">ColorTuple</a>[]&nbsp;colorTupleArray,
double[]&nbsp;keyArray,
double&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#isAutoScale--">isAutoScale</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#isInterpolate--">isInterpolate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#setAutoScale-boolean-">setAutoScale</a></span>(boolean&nbsp;autoScale)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#setColorMap-java.util.LinkedHashMap-">setColorMap</a></span>(java.util.LinkedHashMap&lt;java.lang.Double,org.eclipse.swt.graphics.RGB&gt;&nbsp;colorMap)</code>
<div class="block">Set a new map.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#setInterpolate-boolean-">setInterpolate</a></span>(boolean&nbsp;interpolate)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#setPredefinedColorMap-org.eclipse.nebula.visualization.widgets.datadefinition.ColorMap.PredefinedColorMap-">setPredefinedColorMap</a></span>(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a>&nbsp;predefinedColorMap)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ColorMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ColorMap</h4>
<pre>public&nbsp;ColorMap()</pre>
</li>
</ul>
<a name="ColorMap-org.eclipse.nebula.visualization.widgets.datadefinition.ColorMap.PredefinedColorMap-boolean-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ColorMap</h4>
<pre>public&nbsp;ColorMap(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a>&nbsp;predefinedColorMap,
boolean&nbsp;autoScale,
boolean&nbsp;interpolate)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMap</h4>
<pre>public&nbsp;java.util.LinkedHashMap&lt;java.lang.Double,org.eclipse.swt.graphics.RGB&gt;&nbsp;getMap()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the map which back up the ColorMap</dd>
</dl>
</li>
</ul>
<a name="setColorMap-java.util.LinkedHashMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColorMap</h4>
<pre>public&nbsp;void&nbsp;setColorMap(java.util.LinkedHashMap&lt;java.lang.Double,org.eclipse.swt.graphics.RGB&gt;&nbsp;colorMap)</pre>
<div class="block">Set a new map.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>colorMap</code> - the new map.</dd>
</dl>
</li>
</ul>
<a name="setAutoScale-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoScale</h4>
<pre>public&nbsp;void&nbsp;setAutoScale(boolean&nbsp;autoScale)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>autoScale</code> - the autoScale to set</dd>
</dl>
</li>
</ul>
<a name="isAutoScale--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoScale</h4>
<pre>public&nbsp;boolean&nbsp;isAutoScale()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the autoScale</dd>
</dl>
</li>
</ul>
<a name="setInterpolate-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInterpolate</h4>
<pre>public&nbsp;void&nbsp;setInterpolate(boolean&nbsp;interpolate)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>interpolate</code> - the interpolate to set</dd>
</dl>
</li>
</ul>
<a name="isInterpolate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInterpolate</h4>
<pre>public&nbsp;boolean&nbsp;isInterpolate()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the interpolate</dd>
</dl>
</li>
</ul>
<a name="setPredefinedColorMap-org.eclipse.nebula.visualization.widgets.datadefinition.ColorMap.PredefinedColorMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPredefinedColorMap</h4>
<pre>public&nbsp;void&nbsp;setPredefinedColorMap(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a>&nbsp;predefinedColorMap)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predefinedColorMap</code> - the predefinedColorMap to set</dd>
</dl>
</li>
</ul>
<a name="getPredefinedColorMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPredefinedColorMap</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition">ColorMap.PredefinedColorMap</a>&nbsp;getPredefinedColorMap()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the predefinedColorMap</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="drawImage-org.eclipse.nebula.visualization.widgets.datadefinition.IPrimaryArrayWrapper-int-int-double-double-org.eclipse.swt.graphics.ImageData-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.ImageData&nbsp;drawImage(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/IPrimaryArrayWrapper.html" title="interface in org.eclipse.nebula.visualization.widgets.datadefinition">IPrimaryArrayWrapper</a>&nbsp;dataArray,
int&nbsp;dataWidth,
int&nbsp;dataHeight,
double&nbsp;max,
double&nbsp;min,
org.eclipse.swt.graphics.ImageData&nbsp;imageData,
boolean&nbsp;shrink)</pre>
<div class="block">Calculate the image data from source data based on the color map.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dataArray</code> - the source data</dd>
<dd><code>dataWidth</code> - number of columns of dataArray; This will be the width of image data.</dd>
<dd><code>dataHeight</code> - number of rows of dataArray; This will be the height of image data.</dd>
<dd><code>max</code> - the upper limit of the data in dataArray</dd>
<dd><code>min</code> - the lower limit of the data in dataArray</dd>
<dd><code>imageData</code> - the imageData to be filled. null if a new instance should be created.</dd>
<dd><code>shrink</code> - true if area size of image data is smaller than dataWidth*dataHeight. If this is true, it will use
the nearest neighbor iamge scaling algorithm as described at http://tech-algorithm.com/articles/nearest-neighbor-image-scaling/.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the image data. null if dataWidth or dataHeight is less than 1.</dd>
</dl>
</li>
</ul>
<a name="drawImage-double:A-int-int-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.ImageData&nbsp;drawImage(double[]&nbsp;dataArray,
int&nbsp;dataWidth,
int&nbsp;dataHeight,
double&nbsp;max,
double&nbsp;min)</pre>
<div class="block">Calculate the image data from source data based on the color map.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dataArray</code> - the source data</dd>
<dd><code>dataWidth</code> - number of columns of dataArray; This will be the width of image data.</dd>
<dd><code>dataHeight</code> - number of rows of dataArray; This will be the height of image data.</dd>
<dd><code>max</code> - the upper limit of the data in dataArray</dd>
<dd><code>min</code> - the lower limit of the data in dataArray</dd>
<dd><code>imageData</code> - the imageData to be filled. null if a new instance should be created.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the image data. null if dataWidth or dataHeight is less than 1.</dd>
</dl>
</li>
</ul>
<a name="getValueRGB-org.eclipse.nebula.visualization.widgets.datadefinition.ColorTuple:A-double:A-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueRGB</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.RGB&nbsp;getValueRGB(<a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorTuple.html" title="class in org.eclipse.nebula.visualization.widgets.datadefinition">ColorTuple</a>[]&nbsp;colorTupleArray,
double[]&nbsp;keyArray,
double&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>colorTupleArray</code> - </dd>
<dd><code>keyArray</code> - </dd>
<dd><code>value</code> - the value which has been scaled or not based on the autoScale flag.</dd>
<dd><code>min</code> - </dd>
<dd><code>max</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="getColorsLookupTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColorsLookupTable</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.RGB[]&nbsp;getColorsLookupTable()</pre>
<div class="block">Get a colors lookup table from 0 to 255. This only works for autoScale is true;</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the colorsLookupTable a array of 256 colors corresponding to the value from min to max</dd>
</dl>
</li>
</ul>
<a name="getPalette--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getPalette</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.PaletteData&nbsp;getPalette()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ColorMap.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ByteArrayWrapper.html" title="class in org.eclipse.nebula.visualization.widgets.datadefinition"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.PredefinedColorMap.html" title="enum in org.eclipse.nebula.visualization.widgets.datadefinition"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/visualization/widgets/datadefinition/ColorMap.html" target="_top">Frames</a></li>
<li><a href="ColorMap.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>