/** * @return * @uml.property name="name" */ public String getName() { initColorModel(); return this.name; }
/** * @return * @uml.property name="name" */ public String getName() { initColorModel(); return this.name; }
/** * Returns a color model for this category list. This method builds up the color model from each category's colors (as returned by * {@link #getColors} ). * * @param visibleBand The band to be made visible (usually 0). All other bands, if any will be ignored. * @param numBands The number of bands for the color model (usually 1). The returned color model will renderer only the {@code visibleBand} and * ignore the others, but the existence of all {@code numBands} will be at least tolerated. Supplemental bands, even invisible, are useful * for processing with Java Advanced Imaging. * @return The requested color model, suitable for {@link RenderedImage} objects with values in the <code> {@link #getRange} </code> * range. * @uml.property name="colorModel" */ public IndexColorModel getColorModel() { initColorModel(); return colorModel; }
/** * Returns a color model for this category list. This method builds up the color model from each category's colors (as returned by * {@link #getColors} ). * * @param visibleBand The band to be made visible (usually 0). All other bands, if any will be ignored. * @param numBands The number of bands for the color model (usually 1). The returned color model will renderer only the {@code visibleBand} and * ignore the others, but the existence of all {@code numBands} will be at least tolerated. Supplemental bands, even invisible, are useful * for processing with Java Advanced Imaging. * @return The requested color model, suitable for {@link RenderedImage} objects with values in the <code> {@link #getRange} </code> * range. * @uml.property name="colorModel" */ public IndexColorModel getColorModel() { initColorModel(); return colorModel; }
public Range getApproximateDomainRange() { initColorModel(); return this.piecewise.getApproximateDomainRange(); }
public boolean hasGaps() { initColorModel(); return this.piecewise.hasGaps(); }
public boolean hasDefaultValue() { initColorModel(); return this.piecewise.hasDefaultValue(); }
public Range getApproximateDomainRange() { initColorModel(); return this.piecewise.getApproximateDomainRange(); }
public double getDefaultValue() { initColorModel(); return this.piecewise.getDefaultValue(); }
public boolean hasDefaultValue() { initColorModel(); return this.piecewise.hasDefaultValue(); }
public boolean hasGaps() { initColorModel(); return this.piecewise.hasGaps(); }
public double getDefaultValue() { initColorModel(); return this.piecewise.getDefaultValue(); }
public LinearColorMapElement findDomainElement(double sample) { initColorModel(); final boolean prefiltering = this.preFilteringElements != null; LinearColorMapElement retValue = null; if (prefiltering) retValue = preFilteringPiecewise.findDomainElement(sample); if (retValue == null) retValue = piecewise.findDomainElement(sample); return retValue; }
public LinearColorMapElement findDomainElement(double sample) { initColorModel(); final boolean prefiltering = this.preFilteringElements != null; LinearColorMapElement retValue = null; if (prefiltering) retValue = preFilteringPiecewise.findDomainElement(sample); if (retValue == null) retValue = piecewise.findDomainElement(sample); return retValue; }
public double transform(double value) throws TransformationException { initColorModel(); PiecewiseTransform1DElement transform = (PiecewiseTransform1DElement) findDomainElement(value); if (transform != null) return transform.transform(value); return this.preFilteringPiecewise.transform(value); }
public double transform(double value) throws TransformationException { initColorModel(); PiecewiseTransform1DElement transform = (PiecewiseTransform1DElement) findDomainElement(value); if (transform != null) return transform.transform(value); return this.preFilteringPiecewise.transform(value); }