vtkInSituPipelineIO.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkInSituPipelineIO.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 vtkInSituPipelineIO_h
25 #define vtkInSituPipelineIO_h
26 
27 #include "vtkInSituPipeline.h"
28 #include "vtkPVInSituModule.h" // for exports
29 #include "vtkSmartPointer.h" // for vtkSmartPointer
30 
31 #include <string> // for std::string
32 
33 class vtkSMSourceProxy;
34 
36 {
37 public:
38  static vtkInSituPipelineIO* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkSetStringMacro(FileName);
47  vtkGetStringMacro(FileName);
49 
51 
54  vtkSetStringMacro(ChannelName);
55  vtkGetStringMacro(ChannelName);
57 
59 
62  bool Initialize() override;
63  bool Execute(int timestep, double time) override;
64  bool Finalize() override;
66 
71  virtual std::string GetCurrentFileName(const char* fname, int timestep, double time);
72 
73 protected:
76 
77 private:
79  void operator=(const vtkInSituPipelineIO&) = delete;
80 
81  char* FileName;
82  char* ChannelName;
84 };
85 
86 #endif
virtual bool Initialize()
Initialize is called once before the first call to &#39;Execute&#39;.
virtual bool Execute(int timestep, double time)=0
void PrintSelf(ostream &os, vtkIndent indent) override
proxy for a VTK source on a server
#define VTKPVINSITU_EXPORT
insitu pipeline for IO
abstract base class for all in situ pipelines.
static vtkObject * New()
virtual bool Finalize()
Called once before the in situ analysis is finalized.