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 =========================================================================*/
37 #ifndef vtkReverseSense_h
38 #define vtkReverseSense_h
39 
40 #include "vtkFiltersCoreModule.h" // For export macro
41 #include "vtkPolyDataAlgorithm.h"
42 
43 class VTKFILTERSCORE_EXPORT vtkReverseSense : public vtkPolyDataAlgorithm
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48 
53  static vtkReverseSense *New();
54 
56 
59  vtkSetMacro(ReverseCells,int);
60  vtkGetMacro(ReverseCells,int);
61  vtkBooleanMacro(ReverseCells,int);
63 
65 
68  vtkSetMacro(ReverseNormals,int);
69  vtkGetMacro(ReverseNormals,int);
70  vtkBooleanMacro(ReverseNormals,int);
72 
73 
74 protected:
76  ~vtkReverseSense() VTK_OVERRIDE {}
77 
78  // Usual data generation method
80 
81  int ReverseCells;
82  int ReverseNormals;
83 private:
84  vtkReverseSense(const vtkReverseSense&) VTK_DELETE_FUNCTION;
85  void operator=(const vtkReverseSense&) VTK_DELETE_FUNCTION;
86 };
87 
88 #endif
~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()
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:39
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.