Updating GraphingInterfaces to use Graphing Engine 2.0 (#561)

* Updated Graphing Interfaces to version 2.0.1
This commit is contained in:
Stephanie Anderl
2019-06-21 13:17:39 -07:00
committed by GitHub
parent 5ffe1bc858
commit c3c001af28
6 changed files with 80 additions and 7 deletions

View File

@@ -3,6 +3,8 @@
#include "Common.h"
#include "IGraphingOptions.h"
#include "IGraphRenderer.h"
#include "IEquation.h"
#include <optional>
namespace Graphing
{
@@ -10,10 +12,12 @@ namespace Graphing
{
virtual ~IGraph() = default;
virtual bool TryInitialize(const IExpression* graphingExp) = 0;
virtual std::optional<std::vector<std::shared_ptr<IEquation>>> TryInitialize(const IExpression* graphingExp) = 0;
virtual IGraphingOptions& GetOptions() = 0;
virtual std::shared_ptr< Renderer::IGraphRenderer > GetRenderer() const = 0;
virtual bool TryResetSelection() = 0;
};
}