VTK  9.4.20241217
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
81#ifndef vtkReverseSense_h
82#define vtkReverseSense_h
83
84#include "vtkFiltersCoreModule.h" // For export macro
86
87VTK_ABI_NAMESPACE_BEGIN
88class VTKFILTERSCORE_EXPORT vtkReverseSense : public vtkPolyDataAlgorithm
89{
90public:
92 void PrintSelf(ostream& os, vtkIndent indent) override;
93
99
101
104 vtkSetMacro(ReverseCells, vtkTypeBool);
105 vtkGetMacro(ReverseCells, vtkTypeBool);
106 vtkBooleanMacro(ReverseCells, vtkTypeBool);
108
110
113 vtkSetMacro(ReverseNormals, vtkTypeBool);
114 vtkGetMacro(ReverseNormals, vtkTypeBool);
115 vtkBooleanMacro(ReverseNormals, vtkTypeBool);
117
118protected:
120 ~vtkReverseSense() override = default;
121
122 // Usual data generation method
124
127
128private:
129 vtkReverseSense(const vtkReverseSense&) = delete;
130 void operator=(const vtkReverseSense&) = delete;
131};
132
133VTK_ABI_NAMESPACE_END
134#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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