Class Vector3ColourMap

All Implemented Interfaces:
java.lang.Cloneable, InterfaceObject, NamedObject, TreeObject, CleanableObject, XMLObject, IconObject

public class Vector3ColourMap
extends ContinuousColourMap
Provides a colour mapping for a vector of size three, such that each element of the vector has a colour assignment, and the resulting colour is a weighting of these colours by x, y, z components: = x_red * x_component + y_red * y_component + z_red * z_component = x_green * x_component + y_green * y_component + z_green * z_component = x_blue * x_component + y_blue * y_component + z_blue * z_component

Andrew Reid
  • Field Details

  • Constructor Details

    • Vector3ColourMap

      public Vector3ColourMap()
    • Vector3ColourMap

      public Vector3ColourMap​(java.awt.Color x, java.awt.Color y, java.awt.Color z)
    • Vector3ColourMap

      public Vector3ColourMap​(Colour3f x, Colour3f y, Colour3f z)
  • Method Details

    • setColours

      public void setColours​(Colour3f x, Colour3f y, Colour3f z)
    • getColourForVector

      public Colour getColourForVector​(org.jogamp.vecmath.Vector3f v)