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
29
30VTK_ABI_NAMESPACE_BEGIN
31class vtkFloatArray;
32class vtkIdList;
33class vtkPolyData;
34
35class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
36{
37public:
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
63protected:
65 ~vtkPolyDataTangents() override = default;
66
68
69 bool ComputePointTangents = true;
70 bool ComputeCellTangents = false;
71
72private:
74 void operator=(const vtkPolyDataTangents&) = delete;
75};
76
77VTK_ABI_NAMESPACE_END
78#endif
dynamic, self-adjusting array of float
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
static vtkPolyDataTangents * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:89