public interface Render extends Runnable, Disposable
| Modifier and Type | Method and Description |
|---|---|
void |
addVisualPropertyListener(VisualPropertyListener listener)
Asigna un listener a la lista que será informado cuando cambie una
propiedad visual en la renderización.
|
Buffer |
draw(Graphics2D g,
ViewPortData vp,
ICoordTrans coordTrans,
TaskStatus taskStatus)
Dibuja la extensión del viewport sobre el graphics aplicando la
transformación que recibe como parámetro.
|
Buffer |
draw(Graphics2D g,
ViewPortData vp,
TaskStatus taskStatus)
Dibuja el raster sobre el Graphics.
|
void |
drawThread(Graphics2D g,
ViewPortData vp)
This method throws the draw call in a Thread.
|
void |
drawTiledService(Graphics2D g,
ViewPortData vp,
Dimension2D viewDimension,
ICoordTrans coordTrans,
TaskStatus status)
Dibuja la extensión del viewport de forma teselada sobre el graphics
aplicando la
transformación que recibe como parámetro.
|
void |
drawTiledService(Graphics2D g,
ViewPortData vp,
Dimension2D viewDimension,
TaskStatus status)
Este método dibuja sobre el Graphics a partir de un Viewport sin ajustar.
|
boolean |
existColorTable()
Informa de si el raster tiene tabla de color asociada o no.
|
ColorTable |
getColorTable()
Gets the color table
|
RasterDataStore |
getDataStore()
Gets a data store
|
RasterFilterList |
getFilterList()
Obtiene las lista de filtros aplicados en la renderización
|
int |
getLastAlphaBandNumber()
Gets the last alpha band number
|
Buffer |
getLastRenderBuffer()
Draws the image with the parameters used in the last drawn.
|
ColorInterpretation |
getRenderColorInterpretation()
Gets the color interpretation to renderize this layer
|
Transparency |
getRenderingTransparency()
Obtiene el último objeto transparencia aplicado en la renderización
|
boolean |
isRenderingAsGray()
Devuelve si la asignacion de las bandas a renderizar representa una capa
en escala de grises
|
void |
setDataStore(RasterDataStore dataStore)
Sets a data store
|
void |
setFilterList(RasterFilterList filterList)
Asigna la lista de filtros que se usará en el renderizado
|
void |
setGraphicInfo(Graphics2D g,
ViewPortData vp)
Sets the view structures to draw
|
void |
setLastTransparency(Transparency lastTransparency)
Asigna el último estado de transparencia de la renderización.
|
void |
setReading(boolean reading) |
void |
setRenderColorInterpretation(ColorInterpretation ci)
Sets the color interpretation to renderize this layer
|
disposeRasterFilterList getFilterList()
void setFilterList(RasterFilterList filterList)
RasterFilterList - void setLastTransparency(Transparency lastTransparency)
lastTransparency - Transparency getRenderingTransparency()
int getLastAlphaBandNumber()
boolean existColorTable()
RasterDataStore getDataStore()
void setDataStore(RasterDataStore dataStore)
dataStore - ColorTable getColorTable()
void addVisualPropertyListener(VisualPropertyListener listener)
listener - VisualPropertyListenerboolean isRenderingAsGray()
void setRenderColorInterpretation(ColorInterpretation ci)
ci - ColorInterpretation getRenderColorInterpretation()
Buffer draw(Graphics2D g, ViewPortData vp, TaskStatus taskStatus) throws QueryException, ProcessInterruptedException
g - Graphics sobre el que se pintavp - ViewPort de la extensión a dibujartaskStatus - ProcessInterruptedExceptionQueryExceptionBuffer draw(Graphics2D g, ViewPortData vp, ICoordTrans coordTrans, TaskStatus taskStatus) throws QueryException, ProcessInterruptedException
g - Graphics sobre el que se pintavp - ViewPort de la extensión a dibujarcoordTrans - Transformación a aplicar sobre el buffer antes de ser
dibujado. La transformación será valida si tiene como
proyección fuente la proyección de la extensión del ViewPort y
como proyección destino la proyección de la fuente de datos.taskStatus - Objeto compartido para indicar el estado de la tareaQueryExceptionProcessInterruptedExceptionvoid drawTiledService(Graphics2D g, ViewPortData vp, Dimension2D viewDimension, TaskStatus status) throws QueryException, ProcessInterruptedException
g - vp - RasterDriverExceptionInvalidSetViewExceptionProcessInterruptedExceptionQueryExceptionvoid drawTiledService(Graphics2D g, ViewPortData vp, Dimension2D viewDimension, ICoordTrans coordTrans, TaskStatus status) throws QueryException, ProcessInterruptedException
g - Graphics sobre el que se pintavp - ViewPort de la extensión a dibujarviewDimension - Dimensión de la vistacoordTrans - Transformación a aplicar sobre el buffer antes de ser
dibujado. La transformación será valida si tiene como
proyección fuente la proyección de la extensión del ViewPort y
como proyección destino la proyección de la fuente de datos.status - Objeto compartido para indicar el estado de la tareaQueryExceptionProcessInterruptedExceptionvoid drawThread(Graphics2D g, ViewPortData vp)
This method throws the draw call in a Thread. This is useful to draw tiles.
Strategy:
drawBuffer getLastRenderBuffer() throws QueryException, ProcessInterruptedException
QueryExceptionProcessInterruptedExceptionvoid setGraphicInfo(Graphics2D g, ViewPortData vp)
g - vp - void setReading(boolean reading)