+ typedef std::pair<int, PyObject *> PyObjectId;
+ static int GeneratePythonId();
+
+ MEDPresentation(MEDPresentation::TypeID handlerId, const std::string& name,
+ const MEDCALC::ViewModeType viewMode,
+ const MEDCALC::ColorMapType colorMap,
+ const MEDCALC::ScalarBarRangeType sbRange);
+ std::string getRenderViewVar() const;
+
+ // The most common elements of the ParaView pipeline:
+ void setOrCreateRenderView();
+ void createSource();
+ void setTimestamp();
+ void selectFieldComponent();
+ void virtual showObject();
+ void virtual hideObject();
+ void colorBy();
+ virtual void showScalarBar();
+ virtual void hideScalarBar();
+ void scalarBarVisibility();
+ void rescaleTransferFunction();
+ void selectColorMap(const bool updateFieldComponent=true);
+ virtual void scalarBarTitle();
+ void resetCameraAndRender();
+ virtual void visibility();
+ void threshold();
+ void thresholdPresentation();
+ void unThresholdPresentation();
+ void thresholdValues();
+ virtual void additionalThresholdActions() {};
+ virtual std::string additionalThresholdVisualizationActions() { return ""; };
+ virtual std::string additionalThresholdInitializationActions() { return ""; };
+ virtual void additionalUnThresholdActions() {};
+ virtual std::string getFieldName() const;
+ virtual std::string getThresholdFieldName() const;
+
+ std::string getScriptCellType() const;
+ bool isThresoldActive() const;
+
+ virtual void internalGeneratePipeline();
+ virtual void internalGenerateThreshold();
+ const std::string& getDispVar();
+ const std::string& getLutVar();
+ PyObject* getPythonObjectFromMain(const char* var) const;
+ void execPyLine(const std::string & lin);
+ void pushAndExecPyLine(const std::string & lin);