public final class BitRaster extends Object
Constructor and Description |
---|
BitRaster(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
clear(int pixelIndex) |
byte[] |
createBytePackedBitmaskRasterData()
Creates a byte-packed bitmask as array of bytes.
|
int |
getBytePackedBitmaskRasterWidth()
Gets the width of this raster in byte-packed form
|
int |
getHeight() |
int |
getWidth() |
boolean |
isSet(int pixelIndex) |
boolean |
isSet(int x,
int y) |
void |
set(int pixelIndex) |
void |
set(int pixelIndex,
boolean value) |
void |
set(int x,
int y,
boolean value) |
public int getWidth()
public int getHeight()
public void set(int x, int y, boolean value)
public void set(int pixelIndex, boolean value)
public boolean isSet(int x, int y)
public boolean isSet(int pixelIndex)
public void set(int pixelIndex)
public void clear(int pixelIndex)
public byte[] createBytePackedBitmaskRasterData()
This method is used to provide backward API compatibility with BEAM versions prior 4.1. Its use is discouraged.
getBytePackedBitmaskRasterWidth()
*
getHeight()
getBytePackedBitmaskRasterWidth()
public final int getBytePackedBitmaskRasterWidth()
This method is used to provide backward API compatibility with BEAM versions prior 4.1. Its use is discouraged.
createBytePackedBitmaskRasterData()
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.