VTK  9.7.1
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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkFloatArray;
24 class vtkIdList;
25 class vtkPolyData;
26 
27 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkPolyDataTangents : public vtkPolyDataAlgorithm
28 {
29 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
33  static vtkPolyDataTangents* New();
34 
36 
40  vtkSetMacro(ComputePointTangents, bool);
41  vtkGetMacro(ComputePointTangents, bool);
42  vtkBooleanMacro(ComputePointTangents, bool);
44 
46 
50  vtkSetMacro(ComputeCellTangents, bool);
51  vtkGetMacro(ComputeCellTangents, bool);
52  vtkBooleanMacro(ComputeCellTangents, bool);
54 
55 protected:
56  vtkPolyDataTangents() = default;
57  ~vtkPolyDataTangents() override = default;
58 
60 
61  bool ComputePointTangents = true;
62  bool ComputeCellTangents = false;
63 
64 private:
66  void operator=(const vtkPolyDataTangents&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #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:31
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:71
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:28
list of point or cell ids
Definition: vtkIdList.h:25
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.