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.RenderableInterface for an object that can be rendered by aContourPlot.Renderere.g. theContourPlot.GenericRenderer. It is intended for objects that contain openGL resources such as aVertexArrayfor example. For this reason the interface extends theAutoCloseableinterface for disposing of GL resources on#close(). Its state can be dirty (isDirty()) which means that the GL resources are not in sync with the object and implies that a call to the#updateGL(boolean)method is necessary before rendering. The#initGL()method has to be called once before the first rendering to allocate required GL resources.- Author:
- hageldave
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanintersects(java.awt.geom.Rectangle2D rect)tests if thisContourPlot.Renderableintersects or contains the specified rectangle.booleanisDirty()if true, indicates that a call to#updateGL(boolean)is necessary to sync this objects GL resources to its current state.default booleanisHidden()Indicates whether this Renderable is hidden i.e. will not be drawn.
 
- 
- 
- 
Method Detail- 
intersectsboolean intersects(java.awt.geom.Rectangle2D rect) tests if thisContourPlot.Renderableintersects or contains the specified rectangle.- Parameters:
- rect- rectangle to test
- Returns:
- true when intersecting
 
 - 
isHiddendefault boolean isHidden() Indicates whether this Renderable is hidden i.e. will not be drawn.- Returns:
- true when hidden
 
 - 
isDirtyboolean isDirty() if true, indicates that a call to#updateGL(boolean)is necessary to sync this objects GL resources to its current state.- Returns:
- true if dirty
 
 
- 
 
-