Fem: add a scale() function to FemPostPipeline
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user