// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
#ifndef SRC_MEDCALC_CMP_MEDPRESENTATION_DEFLECTIONSHAPE_HXX_
#define SRC_MEDCALC_CMP_MEDPRESENTATION_DEFLECTIONSHAPE_HXX_
class MEDCALC_EXPORT MEDPresentationDeflectionShape : public MEDPresentation
{
public:
- MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params) :
- MEDPresentation(params.fieldHandlerId, "MEDPresentationDeflectionShape")
- {}
+ 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);
+
+ 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;