![]() |
OGS
|
Classes | |
| class | BoundaryCondition |
| class | ColorLookupTable |
| class | FemCondition |
| Base class for boundary conditions, initial conditions and source terms. More... | |
| struct | ProcessVariable |
| class | Project |
| class | SourceTerm |
| Managing data associated with a source term. More... | |
Typedefs | |
| using | Color = std::array<unsigned char, 4> |
Enumerations | |
| enum class | LUTType { NONE = 0 , LINEAR = 1 , EXPONENTIAL = 2 , SIGMOID = 3 } |
| Interpolation methods. More... | |
| enum class | BaseObjType { MESH = 0 , GEOMETRY = 1 } |
| enum class | ParameterType { NONE = 0 , CONSTANT , FUNCTION } |
Functions | |
| Color | createColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
| Color | getRandomColor () |
| Returns a random RGB colour. | |
| Color | getColor (const std::string &id, std::map< std::string, Color > &colors) |
| Color | getColor (const std::string &id, std::map< std::string, DataHolderLib::Color > &colors) |
| using DataHolderLib::Color = std::array<unsigned char, 4> |
|
strong |
| Enumerator | |
|---|---|
| MESH | |
| GEOMETRY | |
Definition at line 25 of file FemCondition.h.
|
strong |
Interpolation methods.
| Enumerator | |
|---|---|
| NONE | |
| LINEAR | |
| EXPONENTIAL | |
| SIGMOID | |
Definition at line 24 of file ColorLookupTable.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| CONSTANT | |
| FUNCTION | |
Definition at line 31 of file FemCondition.h.
| Color DataHolderLib::createColor | ( | unsigned char | r, |
| unsigned char | g, | ||
| unsigned char | b, | ||
| unsigned char | a ) |
Definition at line 21 of file Color.cpp.
Referenced by getRandomColor(), and FileIO::XmlLutReader::readFromFile().
Definition at line 36 of file Color.cpp.
References getRandomColor(), and WARN().
Referenced by StratBar::paint().
| Color DataHolderLib::getColor | ( | const std::string & | id, |
| std::map< std::string, DataHolderLib::Color > & | colors ) |
Uses a color-lookup-table (in form of a map) to return a colour for a specified name. If the name is not in the colortable a new entry is created with the new name and a random colour.
| Color DataHolderLib::getRandomColor | ( | ) |
Returns a random RGB colour.
Definition at line 29 of file Color.cpp.
References createColor().
Referenced by VtkPointsSource::VtkPointsSource(), VtkPolylinesSource::VtkPolylinesSource(), VtkStationSource::VtkStationSource(), VtkSurfacesSource::VtkSurfacesSource(), DetailWindow::addList(), and getColor().