Class SkyDensityPlotter.SkyDenseStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.SkyDensityPlotter.SkyDenseStyle
-
- All Implemented Interfaces:
Style
- Enclosing class:
- SkyDensityPlotter
public static class SkyDensityPlotter.SkyDenseStyle extends java.lang.Object implements Style
Style for configuring with the sky density plot.
-
-
Constructor Summary
Constructors Constructor Description SkyDenseStyle(int level, Scaling scaling, Subrange dataclip, Shader shader, Combiner combiner, SolidAngleUnit unit)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.swing.IcongetLegendIcon()Returns an icon suitable for displaying in a legend for this style.inthashCode()
-
-
-
Constructor Detail
-
SkyDenseStyle
public SkyDenseStyle(int level, Scaling scaling, Subrange dataclip, Shader shader, Combiner combiner, SolidAngleUnit unit)Constructor.- Parameters:
level- HEALPix level defining the requested map resolution; note the actual resolution at which the densities are calculated may be different from this, in particular if the screen pixel grid is coarser than that defined by this levelscaling- scaling function for mapping densities to colour map entriesdataclip- scaling function adjustment subrangeshader- colour mapcombiner- value combination mode for bin calculationunit- solid angle unit for density combinations
-
-
Method Detail
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-