48#ifndef vtkCriticalTime_h
49#define vtkCriticalTime_h
51#include "vtkFiltersTemporalModule.h"
59#define vtkPassInputTypeAlgorithm vtkTemporalAlgorithm<vtkPassInputTypeAlgorithm>
62VTK_ABI_NAMESPACE_BEGIN
76#undef vtkPassInputTypeAlgorithm
82#if defined(__VTK_WRAP__) || defined(__WRAP_GCCXML)
90 vtkGetMacro(LowerThreshold,
double);
91 vtkSetMacro(LowerThreshold,
double);
99 vtkGetMacro(UpperThreshold,
double);
100 vtkSetMacro(UpperThreshold,
double);
111 THRESHOLD_BETWEEN = 0,
123 vtkSetClampMacro(ThresholdCriterion,
int, THRESHOLD_BETWEEN, THRESHOLD_UPPER);
124 vtkGetMacro(ThresholdCriterion,
int);
137 COMPONENT_MODE_USE_SELECTED = 0,
139 COMPONENT_MODE_USE_ANY
152 vtkSetClampMacro(ComponentMode,
int, COMPONENT_MODE_USE_SELECTED, COMPONENT_MODE_USE_ANY);
153 vtkGetMacro(ComponentMode,
int);
172 vtkGetMacro(SelectedComponent,
int);
195 double LowerThreshold = -std::numeric_limits<double>::infinity();
196 double UpperThreshold = std::numeric_limits<double>::infinity();
197 int ThresholdCriterion = THRESHOLD_BETWEEN;
198 int ComponentMode = COMPONENT_MODE_USE_SELECTED;
199 int SelectedComponent = 0;
201 struct vtkCriticalTimeInternals;
202 std::unique_ptr<vtkCriticalTimeInternals> Internals;
abstract superclass for composite (multi-block or AMR) datasets
Compute time step at which a threshold value has been reached.
ThresholdType
Possible values for the threshold criterion:
void SetComponentModeToUseSelected()
Control how the decision of in / out is made with multi-component data.
static vtkCriticalTime * New()
Standard methods for instantiation, type information, and printing.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
void SetComponentModeToUseAny()
Control how the decision of in / out is made with multi-component data.
int Initialize(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void SetThresholdCriterionToLower()
Get/Set the threshold criterion, defining which threshold bounds to use.
int Execute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void SetComponentModeToUseAll()
Control how the decision of in / out is made with multi-component data.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
std::string GetComponentModeAsString() const
Return a string representation of the component mode.
std::string GetThresholdFunctionAsString() const
Return a string representation of the threshold criterion.
~vtkCriticalTime() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
void SetThresholdCriterionToBetween()
Get/Set the threshold criterion, defining which threshold bounds to use.
void SetThresholdCriterionToUpper()
Get/Set the threshold criterion, defining which threshold bounds to use.
int Finalize(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
abstract class to specify dataset behavior
represent and manipulate fields of data
a simple class to control print indentation
#define vtkCreateWrappedTemporalAlgorithmInterface()