VTK  9.7.1
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
26 #include "vtkPolyDataAlgorithm.h"
27 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkReverseSense : public vtkPolyDataAlgorithm
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40  static vtkReverseSense* New();
41 
43 
46  vtkSetMacro(ReverseCells, vtkTypeBool);
47  vtkGetMacro(ReverseCells, vtkTypeBool);
48  vtkBooleanMacro(ReverseCells, vtkTypeBool);
50 
52 
55  vtkSetMacro(ReverseNormals, vtkTypeBool);
56  vtkGetMacro(ReverseNormals, vtkTypeBool);
57  vtkBooleanMacro(ReverseNormals, vtkTypeBool);
59 
60 protected:
62  ~vtkReverseSense() override = default;
63 
64  // Usual data generation method
66 
69 
70 private:
71  vtkReverseSense(const vtkReverseSense&) = delete;
72  void operator=(const vtkReverseSense&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #endif
vtkTypeBool ReverseCells
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
Superclass for algorithms that produce only polydata as output.
reverse the ordering of polygonal cells and/or vertex normals
a simple class to control print indentation
Definition: vtkIndent.h:28
vtkTypeBool ReverseNormals
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.