vtkPVTextSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTextSource.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 =========================================================================*/
23 #ifndef vtkPVTextSource_h
24 #define vtkPVTextSource_h
25 
26 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
27 #include "vtkTableAlgorithm.h"
28 
30 {
31 public:
32  static vtkPVTextSource* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  vtkSetStringMacro(Text);
41  vtkGetStringMacro(Text);
43 
44 protected:
46  ~vtkPVTextSource() override;
47 
48  int FillInputPortInformation(int port, vtkInformation* info) override;
49  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
50  vtkInformationVector* outputVector) override;
51  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector) override;
53  char* Text;
54 
55 private:
56  vtkPVTextSource(const vtkPVTextSource&) = delete;
57  void operator=(const vtkPVTextSource&) = delete;
58 };
59 
60 #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 &)