Tabnine Logo
ValueTransformer
Code IndexAdd Tabnine to your IDE (free)

How to use
ValueTransformer
in
com.oculusinfo.tile.rendering.transformations.value

Best Java code snippets using com.oculusinfo.tile.rendering.transformations.value.ValueTransformer (Showing top 3 results out of 315)

origin: unchartedsoftware/aperture-tiles

for (int i = 0; i < width; i++){
  double v = ((double)(i+1)/(double)width) * levelMax;
  int colorInt = colorRamp.getRGB(t.transform(v));		
  g.setColor(new Color(colorInt, true));
  g.drawLine(i, 0, i, height);
for(int i = 0; i <= height; i++){
  double v = ((double)(i+1)/(double)height) * levelMax;
  int colorInt = colorRamp.getRGB(t.transform(v));		
  g.setColor(new Color(colorInt, true));
  int y = height-i;
origin: unchartedsoftware/aperture-tiles

double transformedValue = t.transform( binCount ).doubleValue();
double transformedValue = t.transform( binCount ).doubleValue();
origin: unchartedsoftware/aperture-tiles

double alpha = 1;
double transformedValue = t.transform( binCount ).doubleValue();
  alpha = alphaTransformer.transform(sumBinContents(alphaBinContents)).doubleValue();
com.oculusinfo.tile.rendering.transformations.valueValueTransformer

Javadoc

Transforms a value to another value between 0 and 1.

Most used methods

  • transform
    Transform generic type of data

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now