VTK  9.3.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 "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPolyDataNormals : public vtkPolyDataNormals
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43  static vtkmPolyDataNormals* New();
44 
46 
52  vtkGetMacro(ForceVTKm, vtkTypeBool);
53  vtkSetMacro(ForceVTKm, vtkTypeBool);
54  vtkBooleanMacro(ForceVTKm, vtkTypeBool);
56 
57 protected:
59  ~vtkmPolyDataNormals() override;
60 
62 
63  vtkTypeBool ForceVTKm = false;
64 
65 private:
67  void operator=(const vtkmPolyDataNormals&) = delete;
68  vtkmInitializer Initializer;
69 };
70 
71 VTK_ABI_NAMESPACE_END
72 #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
int vtkTypeBool
Definition: vtkABI.h:64
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.