Interface IPipelineProvider
public interface IPipelineProvider
Manager interface for creating objects related to pipelines.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new context instance for the providedIMapDisplay
.
The display can be retrieved again by usingIPipelineContext.getDisplay()
.default IDrawingSpace
createDrawingSpace
(int width, int height, IDisplay display) Creates a drawing space for the given context and creates a new rgb buffer with the given width and height.default IDrawingSpace
createDrawingSpace
(IDisplay display) Creates a drawing space for the given map display.default IDrawingSpace
createDrawingSpace
(FullSpacedColorBuffer buffer, IDisplay display) Creates a drawing space for the given context and buffer.Creates a pipeline output forIHoldableDisplay
's.default ILayeredDrawingSpace
createLayeredDrawingSpace
(int width, int height, IDisplay display) Creates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.default ILayeredDrawingSpace
createLayeredDrawingSpace
(IDisplay display) Creates a layered drawing space for the given map display.default ILayeredDrawingSpace
createLayeredDrawingSpace
(FullSpacedColorBuffer buffer, IDisplay display) Creates a layered drawing space for the given context and buffer.Creates a pipeline output forIMapDisplay
's.createPipeline
(IPipelineOutput output, IPipelineStream... streams) Creates a new pipeline with the given output and the specified streams.default IPipeline
createPipeline
(IPipelineStream... streams) Creates a new pipeline with the given output and the specified streams.
The initial pipeline output is created usingoutput()
.default IPipelineContext
ctx
(IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.default IDrawingSpace
drawingSpace
(int width, int height, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateDrawingSpace(int, int, IDisplay)
insteaddefault IDrawingSpace
drawingSpace
(IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateDrawingSpace(IDisplay)
insteaddefault IDrawingSpace
drawingSpace
(IPipelineContext ctx, int width, int height) Creates a drawing space for the given context and creates a new rgb buffer with the given width and height.drawingSpace
(IPipelineContext ctx, FullSpacedColorBuffer buffer) Creates a drawing space for the given context and buffer.default IDrawingSpace
drawingSpace
(FullSpacedColorBuffer buffer, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.default ILayeredDrawingSpace
layeredDrawingSpace
(int width, int height, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateLayeredDrawingSpace(int, int, IDisplay)
insteaddefault ILayeredDrawingSpace
layeredDrawingSpace
(IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateLayeredDrawingSpace(IDisplay)
insteaddefault ILayeredDrawingSpace
layeredDrawingSpace
(IPipelineContext ctx, int width, int height) Creates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.layeredDrawingSpace
(IPipelineContext ctx, FullSpacedColorBuffer buffer) Creates a layered drawing space for the given context and buffer.default ILayeredDrawingSpace
layeredDrawingSpace
(FullSpacedColorBuffer buffer, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.default IPipelineOutput
output()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
createPipeline
Creates a new pipeline with the given output and the specified streams.
The initial pipeline output is created usingoutput()
.WARNING: This Pipeline can only be used with a
IMapDisplay
.- Parameters:
streams
- the initial streams to be set on the pipeline- Returns:
- a new pipeline
-
createPipeline
Creates a new pipeline with the given output and the specified streams.- Parameters:
output
- the initial output called to process every pipeline flushstreams
- the initial streams to be set on the pipeline- Returns:
- a new pipeline
-
output
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new pipeline output instance, which flushes the buffer to the map display of the context. WARNING: This creates a IPipelineOutput for a MapDisplay- Returns:
- a new default pipeline output instance
-
createMapOutput
IPipelineOutput createMapOutput()Creates a pipeline output forIMapDisplay
's.- Returns:
- a new default pipeline output instance
-
createHoldableOutput
IPipelineOutput createHoldableOutput()Creates a pipeline output forIHoldableDisplay
's.- Returns:
- a new default pipeline output instance
-
drawingSpace
Deprecated, for removal: This API element is subject to removal in a future version.usecreateDrawingSpace(IDisplay)
insteadCreates a drawing space for the given map display. The width and height is the total width and height of the specified map display. The context is the default for this map and is created usingctx(IMapDisplay)
.- Parameters:
display
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
createDrawingSpace
Creates a drawing space for the given map display. The width and height is the total width and height of the specified map display. The context is the default for this map and is created usingcreateCtx(IDisplay)
.- Parameters:
display
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
drawingSpace
@Deprecated(forRemoval=true) default IDrawingSpace drawingSpace(int width, int height, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateDrawingSpace(int, int, IDisplay)
insteadCreates a drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
width
- the width for the new drawing spaceheight
- the height for the new drawing spacedisplay
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
createDrawingSpace
Creates a drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
width
- the width for the new drawing spaceheight
- the height for the new drawing spacedisplay
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
drawingSpace
@Deprecated(forRemoval=true) default IDrawingSpace drawingSpace(FullSpacedColorBuffer buffer, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.Creates a drawing space for the given context and buffer.- Parameters:
buffer
- the buffer used for drawingdisplay
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
createDrawingSpace
Creates a drawing space for the given context and buffer.- Parameters:
buffer
- the buffer used for drawingdisplay
- the map display used for creating the drawing space- Returns:
- a new drawing space used for drawing shapes
-
drawingSpace
Creates a drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
ctx
- the context for this drawing spacewidth
- the width for the new drawing spaceheight
- the height for the new drawing space- Returns:
- a new drawing space used for drawing shapes
-
drawingSpace
Creates a drawing space for the given context and buffer.- Parameters:
ctx
- the context for this drawing spacebuffer
- the buffer used for drawing- Returns:
- a new drawing space used for drawing shapes
-
layeredDrawingSpace
Deprecated, for removal: This API element is subject to removal in a future version.usecreateLayeredDrawingSpace(IDisplay)
insteadCreates a layered drawing space for the given map display. The width and height is the total width and height of the specified map display. The context is the default for this map and is created usingctx(IMapDisplay)
.- Parameters:
display
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
createLayeredDrawingSpace
Creates a layered drawing space for the given map display. The width and height is the total width and height of the specified map display. The context is the default for this map and is created usingcreateCtx(IDisplay)
)}.- Parameters:
display
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
layeredDrawingSpace
@Deprecated(forRemoval=true) default ILayeredDrawingSpace layeredDrawingSpace(int width, int height, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.usecreateLayeredDrawingSpace(int, int, IDisplay)
insteadCreates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
width
- the width for the new layered drawing spaceheight
- the height for the new layered drawing spacedisplay
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
createLayeredDrawingSpace
Creates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
width
- the width for the new layered drawing spaceheight
- the height for the new layered drawing spacedisplay
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
layeredDrawingSpace
@Deprecated(forRemoval=true) default ILayeredDrawingSpace layeredDrawingSpace(FullSpacedColorBuffer buffer, IMapDisplay display) Deprecated, for removal: This API element is subject to removal in a future version.Creates a layered drawing space for the given context and buffer.- Parameters:
buffer
- the buffer used for layered drawingdisplay
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
createLayeredDrawingSpace
default ILayeredDrawingSpace createLayeredDrawingSpace(FullSpacedColorBuffer buffer, IDisplay display) Creates a layered drawing space for the given context and buffer.- Parameters:
buffer
- the buffer used for layered drawingdisplay
- the map display used for creating the layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
layeredDrawingSpace
Creates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.- Parameters:
ctx
- the context for this layered drawing spacewidth
- the width for the new layered drawing spaceheight
- the height for the new layered drawing space- Returns:
- a new layered drawing space used for drawing shapes
-
layeredDrawingSpace
Creates a layered drawing space for the given context and buffer.- Parameters:
ctx
- the context for this layered drawing spacebuffer
- the buffer used for layered drawing- Returns:
- a new layered drawing space used for drawing shapes
-
ctx
Deprecated, for removal: This API element is subject to removal in a future version.usecreateCtx(IDisplay)
insteadCreates a new context instance for the providedIMapDisplay
.
The display can be retrieved again by usingIPipelineContext.getDisplay()
.- Parameters:
display
- the display to create the context for- Returns:
- a new pipelining context
-
createCtx
Creates a new context instance for the providedIMapDisplay
.
The display can be retrieved again by usingIPipelineContext.getDisplay()
.- Parameters:
display
- the display to create the context for- Returns:
- a new pipelining context
-
createCtx(IDisplay)
instead