MCPcopy Create free account
hub / github.com/arrayfire/forge / Plot

Method Plot

src/backend/common/chart_renderables.hpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39class Plot : public ChartRenderableBase<detail::plot_impl> {
40 public:
41 Plot(const unsigned pNumPoints, const forge::dtype pDataType,
42 const forge::PlotType pPlotType, const forge::MarkerType pMarkerType,
43 const forge::ChartType pChartType) {
44 if (pChartType == FG_CHART_2D) {
45 mShrdPtr = std::make_shared< detail::plot2d_impl >(pNumPoints, pDataType,
46 pPlotType, pMarkerType);
47 } else {
48 mShrdPtr = std::make_shared< detail::plot_impl >(pNumPoints, pDataType,
49 pPlotType, pMarkerType);
50 }
51 }
52
53 Plot(const fg_plot pOther)
54 : ChartRenderableBase<detail::plot_impl>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected