Neuro-VISOR  0.2.0
Visualize and interact with computational simulations using a virtual reality interface
C2M2.Utils.ReadGradient Class Reference

Can read a gradient from a text file. More...

Static Public Member Functions

static Gradient Read (string fileName, char delimiter=delimiter)
 

Static Private Attributes

const char delimiter = ' '
 

Detailed Description

Can read a gradient from a text file.

Gradient format is assumed to be as follows by default: r g b

optionally alphas can be given in the format r g b a

Member Function Documentation

◆ Read()

static Gradient C2M2.Utils.ReadGradient.Read ( string  fileName,
char  delimiter = delimiter 
)
static

"Merge" the extrema lists s.t. each color list contains it's value at its extrema AND it's color value at other colors' extremas

Member Data Documentation

◆ delimiter

const char C2M2.Utils.ReadGradient.delimiter = ' '
staticprivate

The documentation for this class was generated from the following file: