ENH: runTimePostProcessing - added option to clear/remove objects after use

This commit is contained in:
Andrew Heather
2016-12-15 15:45:02 +00:00
parent 83dab87568
commit 4ff1c7dca4
18 changed files with 370 additions and 75 deletions

View File

@ -36,7 +36,7 @@ SourceFiles
#define functionObjects_runTimePostPro_functionObjectLine_H
#include "pathline.H"
#include "fieldVisualisationBase.H"
#include "functionObjectBase.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -54,7 +54,7 @@ namespace runTimePostPro
class functionObjectLine
:
public pathline,
public fieldVisualisationBase
public functionObjectBase
{
private:
@ -71,9 +71,6 @@ protected:
// Protected data
//- Name of function object result to render
word functionObject_;
//- Actor
vtkSmartPointer<vtkActor> actor_;
@ -110,6 +107,9 @@ public:
//- Update actors
virtual void updateActors(const scalar position);
//- Clear files used to create the object(s)
virtual bool clear();
};