VTK  9.3.0
vtkReverseSense.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
22#ifndef vtkReverseSense_h
23#define vtkReverseSense_h
24
25#include "vtkFiltersCoreModule.h" // For export macro
27
28VTK_ABI_NAMESPACE_BEGIN
29class VTKFILTERSCORE_EXPORT vtkReverseSense : public vtkPolyDataAlgorithm
30{
31public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
40
42
45 vtkSetMacro(ReverseCells, vtkTypeBool);
46 vtkGetMacro(ReverseCells, vtkTypeBool);
47 vtkBooleanMacro(ReverseCells, vtkTypeBool);
49
51
54 vtkSetMacro(ReverseNormals, vtkTypeBool);
55 vtkGetMacro(ReverseNormals, vtkTypeBool);
56 vtkBooleanMacro(ReverseNormals, vtkTypeBool);
58
59protected:
61 ~vtkReverseSense() override = default;
62
63 // Usual data generation method
65
68
69private:
70 vtkReverseSense(const vtkReverseSense&) = delete;
71 void operator=(const vtkReverseSense&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
reverse the ordering of polygonal cells and/or vertex normals
vtkTypeBool ReverseNormals
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkReverseSense() override=default
static vtkReverseSense * New()
Construct object so that behavior is to reverse cell ordering and leave normal orientation as is.
vtkTypeBool ReverseCells
int vtkTypeBool
Definition vtkABI.h:64