VTK  9.5.20250910
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
87
88VTK_ABI_NAMESPACE_BEGIN
89class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkReverseSense : public vtkPolyDataAlgorithm
90{
91public:
93 void PrintSelf(ostream& os, vtkIndent indent) override;
94
100
102
105 vtkSetMacro(ReverseCells, vtkTypeBool);
106 vtkGetMacro(ReverseCells, vtkTypeBool);
107 vtkBooleanMacro(ReverseCells, vtkTypeBool);
109
111
114 vtkSetMacro(ReverseNormals, vtkTypeBool);
115 vtkGetMacro(ReverseNormals, vtkTypeBool);
116 vtkBooleanMacro(ReverseNormals, vtkTypeBool);
118
119protected:
121 ~vtkReverseSense() override = default;
122
123 // Usual data generation method
125
128
129private:
130 vtkReverseSense(const vtkReverseSense&) = delete;
131 void operator=(const vtkReverseSense&) = delete;
132};
133
134VTK_ABI_NAMESPACE_END
135#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
#define VTK_MARSHALAUTO