VTK  9.3.1
vtkDiscreteMarchingCubes.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 // .SECTION Thanks
4 // Jim Miller at GE Research implemented the original version of this
5 // filter.
6 // This work was supported by PHS Research Grant No. 1 P41 RR13218-01
7 // from the National Center for Research Resources and supported by a
8 // grant from the DARPA, executed by the U.S. Army Medical Research
9 // and Materiel Command/TATRC Cooperative Agreement,
10 // Contract # W81XWH-04-2-0012.
72 #ifndef vtkDiscreteMarchingCubes_h
73 #define vtkDiscreteMarchingCubes_h
74 
75 #include "vtkFiltersGeneralModule.h" // For export macro
76 #include "vtkMarchingCubes.h"
77 
78 VTK_ABI_NAMESPACE_BEGIN
79 class VTKFILTERSGENERAL_EXPORT vtkDiscreteMarchingCubes : public vtkMarchingCubes
80 {
81 public:
83 
87  static vtkDiscreteMarchingCubes* New();
89  void PrintSelf(ostream& os, vtkIndent indent) override;
91 
93 
96  vtkSetMacro(ComputeAdjacentScalars, vtkTypeBool);
97  vtkGetMacro(ComputeAdjacentScalars, vtkTypeBool);
98  vtkBooleanMacro(ComputeAdjacentScalars, vtkTypeBool);
100 
101 protected:
103  ~vtkDiscreteMarchingCubes() override;
104 
107 
108 private:
110  void operator=(const vtkDiscreteMarchingCubes&) = delete;
111 };
112 
113 VTK_ABI_NAMESPACE_END
114 #endif
Store vtkAlgorithm input/output information.
generate object boundaries from labelled volumes
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:64
static vtkMarchingCubes * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
generate isosurface(s) from volume
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Store zero or more vtkInformation instances.