135 static void constructTables();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for generating a colour table from node points.
vector value(const scalar x) const
Return the colour at x. The input is clipped to 0-1 range.
Ostream & writeDict(Ostream &os) const
Write as dictionary format.
static autoPtr< colourTable > New(Istream &is)
Read as dictionary content.
static const colourTable * ptr(const word &tableName)
Look up pointer to colourTable by name, or nullptr on failure.
Tuple2< scalar, vector > pair_type
The data lookup type.
static const Enum< interpolationType > interpolationTypeNames
Enumeration names for interpolationType.
List< Tuple2< scalar, vector > > table(const label nColours) const
Return a discrete lookup table of colours.
interpolationType
Internal interpolation type.
static const Enum< predefinedType > predefinedNames
Enumeration names for predefinedType.
predefinedType
Enumeration of commonly used colour tables.
@ GREYSCALE
greyscale - ParaView "Grayscale"
@ FIRE
"fire" - ParaView "Black-Body Radiation"
@ XRAY
"xray" - ParaView "X Ray"
static const HashPtrTable< colourTable > & tables()
Predefined tables.
virtual ~colourTable()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)