AvogadroLibs  1.96.0
Public Types | Public Member Functions | List of all members
VtkPlot Class Reference

Generate a plot using VTK.

#include <vtkplot.h>

Public Types

enum class  Axis {
  xAxis ,
  yAxis
}
 
enum class  LineStyle {
  noLine ,
  solidLine ,
  dashLine ,
  dotLine ,
  dashDotLine ,
  dashDotDotLine
}
 

Public Member Functions

void setData (const std::vector< std::vector< double >> &data)
 
void setWindowName (const char *windowName)
 
void setXTitle (const char *xTitle)
 
void setYTitle (const char *yTitle)
 
void setLineLabels (const std::vector< std::string > &labels)
 
void setLineColors (const std::vector< std::array< double, 4 >> &colors)
 
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)
 

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