VTK  9.3.0
vtkPolyDataTangents.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
15 #ifndef vtkPolyDataTangents_h
16 #define vtkPolyDataTangents_h
17 
18 #include "vtkFiltersCoreModule.h" // For export macro
19 #include "vtkPolyDataAlgorithm.h"
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkFloatArray;
23 class vtkIdList;
24 class vtkPolyData;
25 
26 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
35 
39  vtkSetMacro(ComputePointTangents, bool);
40  vtkGetMacro(ComputePointTangents, bool);
41  vtkBooleanMacro(ComputePointTangents, bool);
43 
45 
49  vtkSetMacro(ComputeCellTangents, bool);
50  vtkGetMacro(ComputeCellTangents, bool);
51  vtkBooleanMacro(ComputeCellTangents, bool);
53 
54 protected:
55  vtkPolyDataTangents() = default;
56  ~vtkPolyDataTangents() override = default;
57 
59 
60  bool ComputePointTangents = true;
61  bool ComputeCellTangents = false;
62 
63 private:
65  void operator=(const vtkPolyDataTangents&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:31
list of point or cell ids
Definition: vtkIdList.h:23
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
compute tangents for triangulated polydata
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPolyDataTangents() override=default
vtkPolyDataTangents()=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPolyDataTangents * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:80