forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkReaderExecutive.h
57 lines (47 loc) · 2.1 KB
/
vtkReaderExecutive.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*=========================================================================
Program: Visualization Toolkit
Module: vtkReaderExecutive.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkReaderExecutive
* @brief Executive that works with vtkReaderAlgorithm and subclasses.
*
* @deprecated VTK 9.1.0. This is no longer needed. vtkReaderAlgorithm can now
* work with standard executive and hence this can be removed. Follows docs are
* no longer relevant and left for historical reasons.
*
* vtkReaderExecutive is an executive that supports simplified API readers
* that are written by subclassing from the vtkReaderAlgorithm hierarchy.
* Currently, its main functionality is to call the basic reader API instead
* if the standard ProcessRequest() method that other algorithms use.
* In time, this is likely to add functionality such as caching. See
* vtkReaderAlgorithm for the API.
*
* Note that this executive assumes that the reader has one output port.
*/
#ifndef vtkReaderExecutive_h
#define vtkReaderExecutive_h
#include "vtkCommonExecutionModelModule.h" // For export macro
#include "vtkDeprecation.h" // for deprecation macros
#include "vtkStreamingDemandDrivenPipeline.h"
VTK_DEPRECATED_IN_9_1_0("no longer needed")
class VTKCOMMONEXECUTIONMODEL_EXPORT vtkReaderExecutive : public vtkStreamingDemandDrivenPipeline
{
public:
static vtkReaderExecutive* New();
vtkTypeMacro(vtkReaderExecutive, vtkStreamingDemandDrivenPipeline);
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkReaderExecutive();
~vtkReaderExecutive() override;
private:
vtkReaderExecutive(const vtkReaderExecutive&) = delete;
void operator=(const vtkReaderExecutive&) = delete;
};
#endif