Class ContourPlot.Points

java.lang.Object
gov.nih.mipav.model.algorithms.ContourPlot.Points
All Implemented Interfaces:
ContourPlot.Renderable
Enclosing class:
ContourPlot

public class ContourPlot.Points extends Object implements ContourPlot.Renderable
The Points class is a collection of 2D points that are to be represented using the same ContourPlot.Glyph (the graphical representation of a point). A point instance in this collection has the following attributes.
  • position - the 2D location of the point
  • scaling - the scaling of the glyph it is represented with
  • rotation - the rotation of the glyph it is represented with
  • color - the color with wich the glyph it is renered
  • picking color - the picking color with which the glyph is rendered into the (invisible) picking color attachment of an
    invalid reference
    FBO
    . This color may serve as an identifier of the object that can be queried from a location of the rendering canvas. It may take on a value in range of 0xff000001 to 0xffffffff (16.777.214 possible values) or 0.
Apart from these per point attributes, this ContourPlot.Points class features a global scaling parameter by which all point instances of this collection will be scaled at rendering (
invalid reference
#setGlobalScaling(double)
). Also a global alpha multiplier which scales every points color alpha value, which can be used to introduce transparency for all points of this collection, which may come in handy to visualize density when plotting a huge amount of points.
Author:
hageldave
  • Field Details

    • glyph

      public ContourPlot.Glyph glyph
    • isDirty

      protected boolean isDirty
    • globalScaling

      protected DoubleSupplier globalScaling
    • globalAlphaMultiplier

      protected DoubleSupplier globalAlphaMultiplier
    • globalSaturationMultiplier

      protected DoubleSupplier globalSaturationMultiplier
    • points

    • hidden

      protected boolean hidden
    • useVertexRounding

      protected boolean useVertexRounding
    • isGLDoublePrecision

      protected boolean isGLDoublePrecision
  • Constructor Details

    • Points

      public Points()
      Creates a new ContourPlot.Points object which uses
      invalid reference
      DefaultGlyph#CIRCLE_F
      for displaying its points.
  • Method Details