vtkPVTextSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVTextSource_h
12 #define vtkPVTextSource_h
13 
14 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
15 #include "vtkTableAlgorithm.h"
16 
18 {
19 public:
20  static vtkPVTextSource* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
25 
28  vtkSetStringMacro(Text);
29  vtkGetStringMacro(Text);
31 
32 protected:
34  ~vtkPVTextSource() override;
35 
36  int FillInputPortInformation(int port, vtkInformation* info) override;
37  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
38  vtkInformationVector* outputVector) override;
39  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
40  vtkInformationVector* outputVector) override;
41  char* Text;
42 
43 private:
44  vtkPVTextSource(const vtkPVTextSource&) = delete;
45  void operator=(const vtkPVTextSource&) = delete;
46 };
47 
48 #endif
static vtkTableAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
source that generates a 1x1 vtkTable with a single string data.
void operator=(const vtkObjectBase &)