vtkPVMetaSliceDataSet.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVMetaSliceDataSet_h
11 #define vtkPVMetaSliceDataSet_h
12 
14 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
15 #include "vtkParaViewDeprecation.h"
16 #include "vtkSmartPointer.h"
17 
19 class vtkInformation;
22 
23 class VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT vtkPVMetaSliceDataSet
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  static vtkPVMetaSliceDataSet* New();
31 
32  static const unsigned METASLICE_DATASET = 0;
33  static const unsigned METASLICE_HYPERTREEGRID = 1;
34 
38  void PreserveInputCells(int keepCellAsIs);
39 
43  vtkAlgorithm* SetActiveFilter(int index) override;
44 
45  void SetImplicitFunction(vtkImplicitFunction* func);
46 
50  void SetDataSetCutFunction(vtkImplicitFunction* func);
51 
55  void SetHyperTreeGridCutFunction(vtkImplicitFunction* func);
56 
57  // Only available for cut -------------
58 
62  void SetCutFunction(vtkImplicitFunction* func) { this->SetImplicitFunction(func); };
63 
67  void SetNumberOfContours(int nbContours);
68 
72  void SetValue(int index, double value);
73 
77  void SetGenerateTriangles(int status);
78 
87  "Use `vtkPVMetaSliceDataSet::SetLocator(vtkIncrementalPointLocator*)` instead")
88  void SetMergePoints(bool status);
89 
93  void SetDual(bool dual);
94 
95  int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
96 
98 
101  void SetLocator(vtkIncrementalPointLocator* locator);
102  vtkIncrementalPointLocator* GetLocator();
104 
105 protected:
107  ~vtkPVMetaSliceDataSet() override;
108 
109  vtkImplicitFunction* ImplicitFunctions[2];
110 
111 private:
113  void operator=(const vtkPVMetaSliceDataSet&) = delete;
114 
115  class vtkInternals;
116  vtkInternals* Internal;
118 };
119 
120 #endif
SetValue
void SetValue(vtkIdType valueIdx, ValueType value)
vtkPVMetaSliceDataSet
Definition: vtkPVMetaSliceDataSet.h:23
vtkAlgorithm
vtkInformationVector
vtkSmartPointer
vtkPVDataSetAlgorithmSelectorFilter::SetActiveFilter
virtual vtkAlgorithm * SetActiveFilter(int index)
Set the active filter based on the given index of the filters registration queue.
vtkImplicitFunction
vtkPVDataSetAlgorithmSelectorFilter::New
static vtkPVDataSetAlgorithmSelectorFilter * New()
vtkIndent
vtkSmartPointer.h
vtkIncrementalPointLocator
vtkParaViewDeprecation.h
vtkInformation
vtkPVDataSetAlgorithmSelectorFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVDataSetAlgorithmSelectorFilter
Definition: vtkPVDataSetAlgorithmSelectorFilter.h:23
vtkPVMetaSliceDataSet::SetCutFunction
void SetCutFunction(vtkImplicitFunction *func)
Expose method from vtkPVCutter.
Definition: vtkPVMetaSliceDataSet.h:62
vtkPVDataSetAlgorithmSelectorFilter.h
PARAVIEW_DEPRECATED_IN_5_12_0
#define PARAVIEW_DEPRECATED_IN_5_12_0(reason)
Definition: vtkParaViewDeprecation.h:100