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 "vtkSmartPointer.h"
16 
18 class vtkInformation;
21 
24 {
25 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  static vtkPVMetaSliceDataSet* New();
30 
31  static const unsigned METASLICE_DATASET = 0;
32  static const unsigned METASLICE_HYPERTREEGRID = 1;
33 
37  void PreserveInputCells(int keepCellAsIs);
38 
39  void SetImplicitFunction(vtkImplicitFunction* func);
40 
44  void SetDataSetCutFunction(vtkImplicitFunction* func);
45 
49  void SetHyperTreeGridCutFunction(vtkImplicitFunction* func);
50 
51  // Only available for cut -------------
52 
56  void SetCutFunction(vtkImplicitFunction* func) { this->SetImplicitFunction(func); };
57 
61  void SetNumberOfContours(int nbContours);
62 
66  void SetValue(int index, double value);
67 
71  void SetGenerateTriangles(int status);
72 
76  void SetDual(bool dual);
77 
79 
81 
84  void SetLocator(vtkIncrementalPointLocator* locator);
85  vtkIncrementalPointLocator* GetLocator();
87 
92  vtkMTimeType GetMTime() override;
93 
94 protected:
96  ~vtkPVMetaSliceDataSet() override;
97 
98  vtkImplicitFunction* ImplicitFunctions[2];
99 
100 private:
102  void operator=(const vtkPVMetaSliceDataSet&) = delete;
103 
104  class vtkInternals;
105  vtkInternals* Internal;
107 };
108 
109 #endif
void SetValue(vtkIdType valueIdx, ValueType value)
Meta class for slice filter that will allow the user to switch between a regular cutter filter or an ...
static vtkPVDataSetAlgorithmSelectorFilter * New()
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector)
vtkTypeUInt64 vtkMTimeType
is a generic vtkAlgorithm that allow the user to register several vtkAlgorithm to it and be able to s...
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
value
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to other filters to do the real work.
index
void SetCutFunction(vtkImplicitFunction *func)
Expose method from vtkPVCutter.