RectIter.finishedPixels
Code IndexAdd Codota to your IDE (free)

Best code snippets using javax.media.jai.iterator.RectIter.finishedPixels(Showing top 15 results out of 315)

origin: geotools/geotools

/**
 * Returns {@code true} if the right edge of the bounding rectangle has been passed.
 */
public boolean finishedPixels() {
  boolean check = src.finishedPixels();
  if (check == dst.finishedPixels()) {
    return check;
  }
  throw new RasterFormatException(ERROR);
}
origin: nroduit/Weasis

private void drawPickerColor(Graphics2D g2d) {
  if (rectIter != null) {
    int[] c = { 0, 0, 0 };
    rectIter.startBands();
    rectIter.startLines();
    int y = 0;
    while (!rectIter.finishedLines()) {
      rectIter.startPixels();
      int x = 0;
      while (!rectIter.finishedPixels()) {
        rectIter.getPixel(c);
        if (nbBand == 1) {
          g2d.setColor(new Color(c[0], c[0], c[0]));
        } else {
          g2d.setColor(new Color(c[0], c[1], c[2]));
        }
        g2d.fillRect(x * 7, y * 7, 7, 7);
        rectIter.nextPixel();
        x++;
      }
      rectIter.nextLine();
      y++;
    }
  }
}
origin: geotools/geotools

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);   
origin: nroduit/Weasis

it.startPixels();
int x = 0;
while (!it.finishedPixels()) {
  it.getPixel(c);
  for (int i = 0; i < imageData.getSampleModel().getNumBands(); i++) {
origin: geotools/geotools

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);
origin: geoserver/geoserver

while (!iterator.finishedLines()) {
  iterator.startPixels();
  while (!iterator.finishedPixels()) {
    switch (dataType) {
    case DataBuffer.TYPE_BYTE:
origin: it.geosolutions.imageio-ext/imageio-ext-arcgrid

double sample;
while (!iterator.finishedLines()) {
  while (!iterator.finishedPixels()) {
    sample = iterator.getSampleDouble();
    sampleString = Double.toString(sample);
    if (!iterator.finishedPixels())
      imageOS.write(32);
origin: org.geotools/gt-coverage

/**
 * Returns {@code true} if the right edge of the bounding rectangle has been passed.
 */
public boolean finishedPixels() {
  boolean check = src.finishedPixels();
  if (check == dst.finishedPixels()) {
    return check;
  }
  throw new RasterFormatException(ERROR);
}
origin: org.geotools/gt-coverage

/**
 * Returns {@code true} if the right edge of the bounding rectangle has been passed.
 */
public boolean finishedPixels() {
  boolean check = src.finishedPixels();
  if (check == dst.finishedPixels()) {
    return check;
  }
  throw new RasterFormatException(ERROR);
}
origin: org.geotools/gt-process-raster

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);   
origin: org.geotools/gt-process-raster

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);   
origin: org.geotools/gt-process-raster

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);
origin: org.geotools/gt-process-raster

if(iterator.finishedPixels()){
  throw new NoSuchElementException("Index beyond size:"+index+">"+size);
origin: org.geoserver/gs-wcs2_0

while (!iterator.finishedLines()) {
  iterator.startPixels();
  while (!iterator.finishedPixels()) {
    switch (dataType) {
    case DataBuffer.TYPE_BYTE:
origin: org.geoserver/gs-wcs2_0

while (!iterator.finishedLines()) {
  iterator.startPixels();
  while (!iterator.finishedPixels()) {
    switch (dataType) {
    case DataBuffer.TYPE_BYTE:
javax.media.jai.iteratorRectIterfinishedPixels

Popular methods of RectIter

  • startPixels
  • finishedLines
  • startLines
  • getPixel
  • getSampleDouble
  • nextLine
  • nextLineDone
  • nextPixel
  • nextPixelDone
  • getSample
  • getSampleFloat
  • startBands
  • getSampleFloat,
  • startBands,
  • finishedBands,
  • jumpLines,
  • jumpPixels,
  • nextBand,
  • nextBandDone

Popular classes and methods

  • putExtra (Intent)
  • findViewById (Activity)
  • getSystemService (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables us
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)