Package gov.nih.mipav.model.algorithms
Class ContourPlot.TrianglesRenderer
java.lang.Object
gov.nih.mipav.model.algorithms.ContourPlot.GenericRenderer<ContourPlot.Triangles>
gov.nih.mipav.model.algorithms.ContourPlot.TrianglesRenderer
- All Implemented Interfaces:
ContourPlot.AdaptableView,ContourPlot.PDFRenderer,ContourPlot.Renderer
- Enclosing class:
ContourPlot
public class ContourPlot.TrianglesRenderer
extends ContourPlot.GenericRenderer<ContourPlot.Triangles>
The TrianglesRenderer is an implementation of the
Its fragment shader draws the picking color into the second render buffer alongside the 'visible' color that is drawn into the first render buffer.
ContourPlot.GenericRenderer
for ContourPlot.Triangles.
Its fragment shader draws the picking color into the second render buffer alongside the 'visible' color that is drawn into the first render buffer.
- Author:
- hageldave
-
Field Summary
Fields inherited from class gov.nih.mipav.model.algorithms.ContourPlot.GenericRenderer
isEnabled, itemsToRender, view -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderFallback(Graphics2D g, Graphics2D p, int w, int h) Renders thisContourPlot.Renderer's 'scene'.Methods inherited from class gov.nih.mipav.model.algorithms.ContourPlot.GenericRenderer
addItemToRender, getItemsToRender, isEnabled, removeItemToRender, setViewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.nih.mipav.model.algorithms.ContourPlot.PDFRenderer
renderPDF
-
Constructor Details
-
TrianglesRenderer
public TrianglesRenderer()
-
-
Method Details
-
renderFallback
Description copied from interface:ContourPlot.RendererRenders thisContourPlot.Renderer's 'scene'. This is the fallback path in case OpenGL based rendering throughis not available.invalid reference
#render(int, int, int, int)- Parameters:
g- main graphics object for drawing onto the framebufferp- graphics object for drawing onto the picking framebuffer (invisible but used for picking)w- width of the current viewport in pixelsh- height of the current viewport in pixels
-