Class Avogadro::VTK::VtkPlot#

class Avogadro::VTK::VtkPlot#

Generate a plot using VTK.

Public Types

enum class Axis#

Values:

enumerator xAxis#
enumerator yAxis#
enum class LineStyle#

Values:

enumerator noLine#
enumerator solidLine#
enumerator dashLine#
enumerator dotLine#
enumerator dashDotLine#
enumerator dashDotDotLine#

Public Functions

explicit VtkPlot()#
~VtkPlot()#
void setData(const std::vector<std::vector<double>> &data)#
void setWindowName(const char *windowName)#
void setXTitle(const char *xTitle)#
void setYTitle(const char *yTitle)#
inline void setLineLabels(const std::vector<std::string> &labels)#
inline void setLineColors(const std::vector<std::array<double, 4>> &colors)#
inline void setLineStyles(const std::vector<LineStyle> &styles)#
void show()#
void setCustomTickLabels(Axis axis, const std::vector<double> &customTickPositions, const std::vector<std::string> &customTickLabels)#
void setAxisLimits(Axis axis, double min, double max)#