VTK  9.7.1
vtkmPolyDataNormals.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
30 #ifndef vtkmPolyDataNormals_h
31 #define vtkmPolyDataNormals_h
32 
33 #include "vtkAcceleratorsVTKmFiltersModule.h" // for export macro
34 #include "vtkPolyDataNormals.h"
35 #include "vtkmAlgorithm.h" // For vtkmAlgorithm
36 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
37 
38 #ifndef __VTK_WRAP__
39 #define vtkPolyDataNormals vtkmAlgorithm<vtkPolyDataNormals>
40 #endif
41 
42 VTK_ABI_NAMESPACE_BEGIN
43 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPolyDataNormals : public vtkPolyDataNormals
44 {
45 public:
47 #ifndef __VTK_WRAP__
48 #undef vtkPolyDataNormals
49 #endif
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51  static vtkmPolyDataNormals* New();
52 
53 protected:
55  ~vtkmPolyDataNormals() override;
56 
58 
59 private:
61  void operator=(const vtkmPolyDataNormals&) = delete;
62  vtkmInitializer Initializer;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif // vtkmPolyDataNormals_h
static vtkPolyDataNormals * New()
Construct with feature angle=30, splitting and consistency turned on, flipNormals turned off...
Store vtkAlgorithm input/output information.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
compute normals for polygonal mesh
a simple class to control print indentation
Definition: vtkIndent.h:28
compute normals for polygonal mesh
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.