9 #include "imstkVisualModel.h" 10 #include "imstkColor.h" 17 using namespace imstk;
22 std::shared_ptr<AbstractDataArray> xVals;
23 std::shared_ptr<AbstractDataArray> yVals;
25 Color lineColor = Color::Red;
26 double lineWidth = 1.0;
40 void addPlot(
Plot2d plot) { m_plots.push_back(std::make_shared<Plot2d>(plot)); }
42 const std::vector<std::shared_ptr<Plot2d>>& getPlots()
const {
return m_plots; }
44 void setViewBounds(
const Vec4d& bounds) { m_viewBounds = bounds; }
45 Vec4d getViewBounds()
const {
return m_viewBounds; }
48 std::vector<std::shared_ptr<Plot2d>> m_plots;
This class serves as the base class of DataArray, for typeless use.
Class for graphing 2d charts, only supports 2d data.
Contains geometric, material, and render information.