VTK  9.3.20240423
vtkForceTime.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef vtkForceTime_h
5#define vtkForceTime_h
6
7#include "vtkFiltersHybridModule.h" // For export macro
9
10VTK_ABI_NAMESPACE_BEGIN
11class VTKFILTERSHYBRID_EXPORT vtkForceTime : public vtkPassInputTypeAlgorithm
12{
13public:
14 static vtkForceTime* New();
16 void PrintSelf(ostream& os, vtkIndent indent) override;
17
18 // Description:
19 // Replace the pipeline time by this one.
20 vtkSetMacro(ForcedTime, double);
21 vtkGetMacro(ForcedTime, double);
22
23 // Description:
24 // Use the ForcedTime. If disabled, use usual pipeline time.
25 vtkSetMacro(IgnorePipelineTime, bool);
26 vtkGetMacro(IgnorePipelineTime, bool);
27 vtkBooleanMacro(IgnorePipelineTime, bool);
28
29protected:
31 ~vtkForceTime() override;
32
35
37
38private:
39 vtkForceTime(const vtkForceTime&) = delete;
40 void operator=(const vtkForceTime&) = delete;
41
42 double ForcedTime;
43 bool IgnorePipelineTime;
44 double PipelineTime;
45 bool PipelineTimeFlag;
46 vtkDataObject* Cache;
47};
48
49VTK_ABI_NAMESPACE_END
50#endif // vtkForceTime_h
general representation of visualization data
static vtkForceTime * New()
~vtkForceTime() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.