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
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkFloatArray;
23class vtkIdList;
24class vtkPolyData;
25
26class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
27{
28public:
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
54protected:
56 ~vtkPolyDataTangents() override = default;
57
59
60 bool ComputePointTangents = true;
61 bool ComputeCellTangents = false;
62
63private:
65 void operator=(const vtkPolyDataTangents&) = delete;
66};
67
68VTK_ABI_NAMESPACE_END
69#endif
dynamic, self-adjusting array of float
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
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:80