VTK
vtkForceTime.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkForceTime.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm 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=========================================================================*/
15
16#ifndef vtkForceTime_h
17#define vtkForceTime_h
18
19#include "vtkFiltersHybridModule.h" // For export macro
21
22class VTKFILTERSHYBRID_EXPORT vtkForceTime : public vtkPassInputTypeAlgorithm
23{
24public :
25 static vtkForceTime* New();
27 void PrintSelf(ostream& os, vtkIndent indent);
28
29 // Description:
30 // Replace the pipeline time by this one.
31 vtkSetMacro(ForcedTime, double);
32 vtkGetMacro(ForcedTime, double);
33
34 // Description:
35 // Use the ForcedTime. If disabled, use usual pipeline time.
36 vtkSetMacro(IgnorePipelineTime, bool);
37 vtkGetMacro(IgnorePipelineTime, bool);
38 vtkBooleanMacro(IgnorePipelineTime, bool);
39
40protected:
42 virtual ~vtkForceTime();
43
50
54
55private:
56 vtkForceTime(const vtkForceTime&) VTK_DELETE_FUNCTION;
57 void operator=(const vtkForceTime&) VTK_DELETE_FUNCTION;
58
59 double ForcedTime;
60 bool IgnorePipelineTime;
61 double PipelineTime;
62 bool PipelineTimeFlag;
63 vtkDataObject* Cache;
64};
65
66#endif //vtkForceTime_h
general representation of visualization data
Definition: vtkDataObject.h:65
static vtkForceTime * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
virtual ~vtkForceTime()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.