VTK  9.0.1
vtkPolyDataTangents.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataTangents.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 =========================================================================*/
24 #ifndef vtkPolyDataTangents_h
25 #define vtkPolyDataTangents_h
26 
27 #include "vtkFiltersCoreModule.h" // For export macro
28 #include "vtkPolyDataAlgorithm.h"
29 
30 class vtkFloatArray;
31 class vtkIdList;
32 class vtkPolyData;
33 
34 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
40  static vtkPolyDataTangents* New();
41 
43 
47  vtkSetMacro(ComputePointTangents, bool);
48  vtkGetMacro(ComputePointTangents, bool);
49  vtkBooleanMacro(ComputePointTangents, bool);
51 
53 
57  vtkSetMacro(ComputeCellTangents, bool);
58  vtkGetMacro(ComputeCellTangents, bool);
59  vtkBooleanMacro(ComputeCellTangents, bool);
61 
62 protected:
63  vtkPolyDataTangents() = default;
64  ~vtkPolyDataTangents() override = default;
65 
67 
68  bool ComputePointTangents = true;
69  bool ComputeCellTangents = false;
70 
71 private:
73  void operator=(const vtkPolyDataTangents&) = delete;
74 };
75 
76 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:35
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
static vtkPolyDataAlgorithm * New()
compute tangents for triangulated polydata
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
list of point or cell ids
Definition: vtkIdList.h:30
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.