Package gov.nih.mipav.model.algorithms
Interface ContourPlot.Renderable
- All Known Implementing Classes:
ContourPlot.Legend,ContourPlot.Lines,ContourPlot.Points,ContourPlot.Text,ContourPlot.Triangles
- Enclosing class:
ContourPlot
public static interface ContourPlot.Renderable
Interface for an object that can be rendered by a
for example.
For this reason the interface extends the
.
Its state can be dirty (
method is necessary before rendering.
The
method has to be called once before the first rendering to allocate required GL resources.
ContourPlot.Renderer e.g. the ContourPlot.GenericRenderer.
It is intended for objects that contain openGL resources such as a
invalid reference
VertexArray
AutoCloseable interface for disposing of GL resources
on
invalid reference
#close()
isDirty()) which means that the GL resources are not in sync with the object and implies that
a call to the
invalid reference
#updateGL(boolean)
invalid reference
#initGL()
- Author:
- hageldave
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintersects(Rectangle2D rect) tests if thisContourPlot.Renderableintersects or contains the specified rectangle.booleanisDirty()if true, indicates that a call tois necessary to sync this objects GL resources to its current state.invalid reference
#updateGL(boolean)default booleanisHidden()Indicates whether this Renderable is hidden i.e. will not be drawn.
-
Method Details
-
intersects
tests if thisContourPlot.Renderableintersects or contains the specified rectangle.- Parameters:
rect- rectangle to test- Returns:
- true when intersecting
-
isHidden
default boolean isHidden()Indicates whether this Renderable is hidden i.e. will not be drawn.- Returns:
- true when hidden
-
isDirty
boolean isDirty()if true, indicates that a call tois necessary to sync this objects GL resources to its current state.invalid reference
#updateGL(boolean)- Returns:
- true if dirty
-