-// Copyright (C) 2016-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2016-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
public:
static const std::string TYPE_NAME;
+ static const std::string PROP_SCALE_FACTOR;
+ static const std::string PROP_CUSTOM_SCALE_FACTOR;
MEDPresentationVectorField(const MEDCALC::VectorFieldParameters& params, const MEDCALC::ViewModeType viewMode);
virtual ~MEDPresentationVectorField() {}
protected:
virtual void internalGeneratePipeline();
+ void updateScaleFactor(const double, const bool);
void autoScale();
-
+ void scale();
private:
MEDCALC::VectorFieldParameters _params;