VTK  9.2.6
vtkTemporalSnapToTimeStep.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTemporalSnapToTimeStep.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=========================================================================*/
31
32#ifndef vtkTemporalSnapToTimeStep_h
33#define vtkTemporalSnapToTimeStep_h
34
35#include "vtkFiltersHybridModule.h" // For export macro
37
38#include <vector> // used because I am a bad boy. So there.
39
40class VTKFILTERSHYBRID_EXPORT vtkTemporalSnapToTimeStep : public vtkPassInputTypeAlgorithm
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47 enum
48 {
52 };
53
54 vtkSetMacro(SnapMode, int);
55 vtkGetMacro(SnapMode, int);
59
60protected:
63
68 vtkInformationVector* outputVector) override;
69
71 vtkInformationVector* outputVector) override;
72
74 vtkInformationVector* outputVector) override;
75
76 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
77 vtkInformationVector* outputVector) override;
78
79 std::vector<double> InputTimeValues;
82
83private:
85 void operator=(const vtkTemporalSnapToTimeStep&) = delete;
86};
87
88#endif
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
virtual void SetSnapMode(int)
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkTemporalSnapToTimeStep() override
static vtkTemporalSnapToTimeStep * New()
std::vector< double > InputTimeValues
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks for Information.
int vtkTypeBool
Definition vtkABI.h:69