##// END OF EJS Templates
Handles QCustomPlot plottables for vectors (1)...
Handles QCustomPlot plottables for vectors (1) - Uses a map that associate a component index to a plottable. - Replaces the current structure by the map in VisualizationGraphHelper For example: - for a scalar, there is a QCPGraph at index 0 - for a vector, there is three QCPGraph at indexes 0, 1 and 2

File last commit:

r327:87af69bdce8a
r581:098cadc4596c
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
Alexandre Leroux
Creates a interface that defines a variable container...
r209 #ifndef SCIQLOP_IVARIABLECONTAINER_H
#define SCIQLOP_IVARIABLECONTAINER_H
class Variable;
/**
* @brief The IVariableContainer interface represents an UI object that can accommodate a variable
*/
class IVariableContainer {
public:
virtual ~IVariableContainer() = default;
/// Checks if the container can handle the variable passed in parameter
virtual bool canDrop(const Variable &variable) const = 0;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r327
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
Alexandre Leroux
Creates a interface that defines a variable container...
r209 };
#endif // SCIQLOP_IVARIABLECONTAINER_H