VTK  9.4.20241104
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
37VTK_ABI_NAMESPACE_BEGIN
38class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPolyDataNormals : public vtkPolyDataNormals
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
52 vtkGetMacro(ForceVTKm, vtkTypeBool);
53 vtkSetMacro(ForceVTKm, vtkTypeBool);
54 vtkBooleanMacro(ForceVTKm, vtkTypeBool);
56
57protected:
60
62
63 vtkTypeBool ForceVTKm = false;
64
65private:
67 void operator=(const vtkmPolyDataNormals&) = delete;
68 vtkmInitializer Initializer;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif // vtkmPolyDataNormals_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
compute normals for polygonal mesh
compute normals for polygonal mesh
static vtkmPolyDataNormals * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkmPolyDataNormals() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int vtkTypeBool
Definition vtkABI.h:64