Fem: add a scale() function to FemPostPipeline

This commit is contained in:
wmayer
2022-04-15 12:08:47 +02:00
parent e9e04221c4
commit f00a3f59c4
6 changed files with 73 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ public:
/** @name Getter/setter */
//@{
/// Scale the point coordinates of the data set with factor \a s
void scale(double s);
/// set the dataset
void setValue(const vtkSmartPointer<vtkDataObject>&);
/// get the part shape
@@ -79,6 +81,9 @@ public:
/// Get valid paths for this property; used by auto completer
virtual void getPaths(std::vector<App::ObjectIdentifier> & paths) const;
private:
static void scaleDataObject(vtkDataObject*, double s);
protected:
void createDataObjectByExternalType(vtkSmartPointer<vtkDataObject> ex);
vtkSmartPointer<vtkDataObject> m_dataObject;