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
24 #ifndef vtkPolyDataTangents_h
25 #define vtkPolyDataTangents_h
26 
27 #include "vtkFiltersCoreModule.h" // For export macro
28 #include "vtkPolyDataAlgorithm.h"
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkFloatArray;
32 class vtkIdList;
33 class vtkPolyData;
34 
35 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
44 
48  vtkSetMacro(ComputePointTangents, bool);
49  vtkGetMacro(ComputePointTangents, bool);
50  vtkBooleanMacro(ComputePointTangents, bool);
52 
54 
58  vtkSetMacro(ComputeCellTangents, bool);
59  vtkGetMacro(ComputeCellTangents, bool);
60  vtkBooleanMacro(ComputeCellTangents, bool);
62 
63 protected:
64  vtkPolyDataTangents() = default;
65  ~vtkPolyDataTangents() override = default;
66 
68 
69  bool ComputePointTangents = true;
70  bool ComputeCellTangents = false;
71 
72 private:
74  void operator=(const vtkPolyDataTangents&) = delete;
75 };
76 
77 VTK_ABI_NAMESPACE_END
78 #endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:40
list of point or cell ids
Definition: vtkIdList.h:32
a simple class to control print indentation
Definition: vtkIndent.h:38
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:89