Uses of Class
mgui.util.Colour
Package | Description |
---|---|
mgui.interfaces.graphics.util |
Utility classes operating on 2D and 3D graphics objects.
|
mgui.interfaces.maps |
Provides a set a maps for use by ModelGUI objects.
|
mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
mgui.io.domestic.maps | |
mgui.util |
-
Uses of Colour in mgui.interfaces.graphics.util
Method parameters in mgui.interfaces.graphics.util with type arguments of type Colour Modifier and Type Method Description void
DrawingEngine. drawPointSet2D(java.awt.Graphics2D g, PointSet2D point_set, float size, NodeShape shape, java.util.ArrayList<Colour> colours, float alpha)
Draws a PointSet3D with the specified parametersvoid
DrawingEngine. drawPointSet2D(java.awt.Graphics2D g, PointSet2D point_set, float size, NodeShape shape, java.util.ArrayList<Colour> colours, float alpha, java.util.ArrayList<java.lang.String> labels)
Draws a PointSet3D with the specified parameters -
Uses of Colour in mgui.interfaces.maps
Fields in mgui.interfaces.maps declared as Colour Modifier and Type Field Description Colour
ContinuousColourMap.Anchor. colour
Colour
ColourMap. nullColour
Fields in mgui.interfaces.maps with type parameters of type Colour Modifier and Type Field Description java.util.HashMap<java.lang.Integer,Colour>
DiscreteColourMap. colours
Methods in mgui.interfaces.maps that return Colour Modifier and Type Method Description Colour
ColourMap. getColour(double d)
Get colour for the specified value, for the current limits.Colour
ColourMap. getColour(double d, double min, double max)
Get colour for the specified value, given the specified limits.Colour
ColourMap. getColour(int i)
Colour
ColourMap. getColour(java.lang.Comparable<?> o)
Colour
ContinuousColourMap. getColour(double d, double min, double max)
Colour
ContinuousColourMap. getColour(int i)
Colour
ContinuousColourMap. getColour(java.lang.Comparable o)
Colour
DiscreteColourMap. getColour(int i)
Colour
DiscreteColourMap. getColour(java.lang.Comparable<?> o)
Colour
DiscreteColourMap. getColour(java.lang.String value)
protected Colour
ContinuousColourMap. getColourAtValue(double n)
protected Colour
ContinuousColourMap. getColourAtValue(double n, double min, double max)
protected Colour
ContinuousColourMap. getColourAtValue(MguiNumber n)
protected Colour
ContinuousColourMap. getColourAtValue(MguiNumber n, double min, double max)
Methods in mgui.interfaces.maps with parameters of type Colour Modifier and Type Method Description int
ContinuousColourMap. addAnchor(double value, Colour colour)
int
ContinuousColourMap. addAnchor(MguiNumber value, Colour colour)
void
DiscreteColourMap. setColour(int i, java.lang.String n, Colour c)
void
DiscreteColourMap. setColour(int i, Colour c)
void
DiscreteColourMap. setColour(java.lang.String name, Colour c)
Constructors in mgui.interfaces.maps with parameters of type Colour Constructor Description Anchor(MguiNumber v, Colour c)
-
Uses of Colour in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes with type parameters of type Colour Modifier and Type Field Description java.util.ArrayList<Colour>
Mesh2DInt. colours
Method parameters in mgui.interfaces.shapes with type arguments of type Colour Modifier and Type Method Description void
Mesh2DInt. setColours(java.util.ArrayList<Colour> c)
-
Uses of Colour in mgui.io.domestic.maps
Methods in mgui.io.domestic.maps that return Colour Modifier and Type Method Description Colour
Vector3ColourMap. getColourForVector(org.jogamp.vecmath.Vector3f v)
-
Uses of Colour in mgui.util
Subclasses of Colour in mgui.util Modifier and Type Class Description class
Colour1f
class
Colour2f
class
Colour3f
class
Colour4f
Methods in mgui.util that return Colour Modifier and Type Method Description Colour
Colour. getColour(java.lang.Object o)
static Colour
Colours. getColourNf(Colour c, int dims)
static Colour
Colours. getSimplestColour(Colour c1, Colour c2)
static Colour
Colours. interpolate(Colour c1, Colour c2, double iVal)
Interpolate a colour between c1 and c2, and point iVal (0.0 to 1.0)static Colour
Colours. parse(java.lang.String s)
Parses a space-delimited list of numbers, and returns a colour of the appropriate sizestatic Colour
Colours. parse(java.lang.String s, int n)
Parses a space-delimited list of numbers, and returns a colour of size nMethods in mgui.util with parameters of type Colour Modifier and Type Method Description static Colour
Colours. getColourNf(Colour c, int dims)
static Colour
Colours. getSimplestColour(Colour c1, Colour c2)
static Colour
Colours. interpolate(Colour c1, Colour c2, double iVal)
Interpolate a colour between c1 and c2, and point iVal (0.0 to 1.0)static void
Colours. toBytes(Colour c, byte[] sample)