VTK  9.4.20241117
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
104#ifndef vtkPolyDataTangents_h
105#define vtkPolyDataTangents_h
106
107#include "vtkFiltersCoreModule.h" // For export macro
108#include "vtkPolyDataAlgorithm.h"
109
110VTK_ABI_NAMESPACE_BEGIN
111class vtkFloatArray;
112class vtkIdList;
113class vtkPolyData;
114
115class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
116{
117public:
119 void PrintSelf(ostream& os, vtkIndent indent) override;
120
122
124
128 vtkSetMacro(ComputePointTangents, bool);
129 vtkGetMacro(ComputePointTangents, bool);
130 vtkBooleanMacro(ComputePointTangents, bool);
132
134
138 vtkSetMacro(ComputeCellTangents, bool);
139 vtkGetMacro(ComputeCellTangents, bool);
140 vtkBooleanMacro(ComputeCellTangents, bool);
142
143protected:
145 ~vtkPolyDataTangents() override = default;
146
148
149 bool ComputePointTangents = true;
150 bool ComputeCellTangents = false;
151
152private:
154 void operator=(const vtkPolyDataTangents&) = delete;
155};
156
157VTK_ABI_NAMESPACE_END
158#endif
dynamic, self-adjusting array of float
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
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