vtkInSituPipelinePython.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkInSituPipelinePython.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkInSituPipelinePython_h
25 #define vtkInSituPipelinePython_h
26 
27 #include "vtkInSituPipeline.h"
28 #include "vtkNew.h" // for vtkNew.
29 
31 
33 {
34 public:
35  static vtkInSituPipelinePython* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
44  vtkSetStringMacro(FileName);
45  vtkGetStringMacro(FileName);
47 
49 
52  bool Initialize() override;
53  bool Execute(int, double) override;
54  bool Finalize() override;
56 
57 protected:
60 
61 private:
63  void operator=(const vtkInSituPipelinePython&) = delete;
64 
66  char* FileName;
67 };
68 
69 #endif
virtual bool Initialize()
Initialize is called once before the first call to 'Execute'.
virtual bool Execute(int timestep, double time)=0
void PrintSelf(ostream &os, vtkIndent indent) override
an internal class encapsulating logic for Catalyst Python scripts.
#define VTKPVINSITU_EXPORT
subclass for Python in situ scripts.
abstract base class for all in situ pipelines.
static vtkObject * New()
virtual bool Finalize()
Called once before the in situ analysis is finalized.