ParaView
vtkPVMetaSliceDataSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPVMetaSliceDataSet.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 =========================================================================*/
21 #ifndef vtkPVMetaSliceDataSet_h
22 #define vtkPVMetaSliceDataSet_h
23 
25 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
26 
27 class vtkImplicitFunction;
28 
29 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVMetaSliceDataSet
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36  static vtkPVMetaSliceDataSet* New();
37 
41  void PreserveInputCells(int keepCellAsIs);
42 
46  virtual vtkAlgorithm* SetActiveFilter(int index);
47 
48  void SetImplicitFunction(vtkImplicitFunction* func);
49 
50  // Only available for cut -------------
51 
55  void SetCutFunction(vtkImplicitFunction* func) { this->SetImplicitFunction(func); };
56 
60  void SetNumberOfContours(int nbContours);
61 
65  void SetValue(int index, double value);
66 
70  void SetGenerateTriangles(int status);
71 
72 protected:
75 
76 private:
77  vtkPVMetaSliceDataSet(const vtkPVMetaSliceDataSet&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkPVMetaSliceDataSet&) VTK_DELETE_FUNCTION;
79 
80  class vtkInternals;
81  vtkInternals* Internal;
82 };
83 
84 #endif
Meta class for slice filter that will allow the user to switch between a regular cutter filter or an ...
static vtkPVDataSetAlgorithmSelectorFilter * New()
is a generic vtkAlgorithm that allow the user to register several vtkAlgorithm to it and be able to s...
virtual vtkAlgorithm * SetActiveFilter(int index)
Set the active filter based on the given index of the filters registration queue. ...
void PrintSelf(ostream &os, vtkIndent indent)
void SetCutFunction(vtkImplicitFunction *func)
Expose method from vtkCutter.