VTK
vtkSMPContourGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSMPContourGrid.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 =========================================================================*/
23 #ifndef vtkSMPContourGrid_h
24 #define vtkSMPContourGrid_h
25 
26 #include "vtkFiltersSMPModule.h" // For export macro
27 #include "vtkContourGrid.h"
28 
29 class VTKFILTERSSMP_EXPORT vtkSMPContourGrid : public vtkContourGrid
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
34 
38  static vtkSMPContourGrid *New();
39 
41 
50  vtkSetMacro(MergePieces, bool);
51  vtkGetMacro(MergePieces, bool);
52  vtkBooleanMacro(MergePieces, bool);
54 
60  vtkInformationVector*) VTK_OVERRIDE;
61 
62 protected:
64  ~vtkSMPContourGrid() VTK_OVERRIDE;
65 
66  virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
67  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
68 
69  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
70 
71  bool MergePieces;
72 
73 private:
74  vtkSMPContourGrid(const vtkSMPContourGrid&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkSMPContourGrid&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
static vtkContourGrid * New()
Construct object with initial range (0,1) and single contour value of 0.0.
generate isosurfaces/isolines from scalar values (specialized for unstructured grids) ...
Store vtkAlgorithm input/output information.
a subclass of vtkContourGrid that works in parallel vtkSMPContourGrid performs the same functionaliy ...
a simple class to control print indentation
Definition: vtkIndent.h:33
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.