#2965 Implement option (on by default) to follow time step in 3D view.

This commit is contained in:
Gaute Lindkvist
2018-06-20 10:31:03 +02:00
parent 5fc795a24a
commit a0f5db5d7e
8 changed files with 125 additions and 33 deletions

View File

@@ -66,7 +66,10 @@ public:
cvf::Color3f color() const;
bool isShowingCurve() const;
virtual bool followAnimationTimeStep() const { return false; }
virtual void curveValuesAndMds(std::vector<double>* values, std::vector<double>* measuredDepthValues) const = 0;
virtual void curveValuesAndMdsAtTimeStep(std::vector<double>* values, std::vector<double>* measuredDepthValues, int timeStep) const;
virtual std::pair<double,double> findCurveValueRange();
void setColor(const cvf::Color3f& color);