VTK
vtkReverseSense.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkReverseSense.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkReverseSense_h
32 #define vtkReverseSense_h
33 
34 #include "vtkFiltersCoreModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
37 class VTKFILTERSCORE_EXPORT vtkReverseSense : public vtkPolyDataAlgorithm
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
47  static vtkReverseSense *New();
48 
50 
53  vtkSetMacro(ReverseCells,vtkTypeBool);
54  vtkGetMacro(ReverseCells,vtkTypeBool);
55  vtkBooleanMacro(ReverseCells,vtkTypeBool);
57 
59 
62  vtkSetMacro(ReverseNormals,vtkTypeBool);
63  vtkGetMacro(ReverseNormals,vtkTypeBool);
64  vtkBooleanMacro(ReverseNormals,vtkTypeBool);
66 
67 
68 protected:
70  ~vtkReverseSense() override {}
71 
72  // Usual data generation method
74 
77 private:
78  vtkReverseSense(const vtkReverseSense&) = delete;
79  void operator=(const vtkReverseSense&) = delete;
80 };
81 
82 #endif
vtkTypeBool ReverseCells
~vtkReverseSense() override
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:69
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:33
vtkTypeBool ReverseNormals
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.