class MEDCALC_EXPORT MEDPresentationDeflectionShape : public MEDPresentation
{
public:
- MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params) :
- MEDPresentation(params.fieldHandlerId, "MEDPresentationDeflectionShape"), _params(params)
- {}
+ static const std::string TYPE_NAME;
+
+ MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params, const MEDCALC::ViewModeType viewMode);
virtual ~MEDPresentationDeflectionShape() {}
+ virtual void initFieldMeshInfos();
+
void updatePipeline(const MEDCALC::DeflectionShapeParameters& params);
- MEDCALC::ViewModeType getViewMode() { return _params.viewMode; }
+
+ void getParameters(MEDCALC::DeflectionShapeParameters & params) const { params = _params; } ;
+ void setParameters(const MEDCALC::DeflectionShapeParameters & params) { _params = params; } ;
protected:
virtual void internalGeneratePipeline();
+ void autoScale();
private:
MEDCALC::DeflectionShapeParameters _params;