VTK  9.5.20251008
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
110
111VTK_ABI_NAMESPACE_BEGIN
112class vtkFloatArray;
113class vtkIdList;
114class vtkPolyData;
115
116class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkPolyDataTangents : public vtkPolyDataAlgorithm
117{
118public:
120 void PrintSelf(ostream& os, vtkIndent indent) override;
121
123
125
129 vtkSetMacro(ComputePointTangents, bool);
130 vtkGetMacro(ComputePointTangents, bool);
131 vtkBooleanMacro(ComputePointTangents, bool);
133
135
139 vtkSetMacro(ComputeCellTangents, bool);
140 vtkGetMacro(ComputeCellTangents, bool);
141 vtkBooleanMacro(ComputeCellTangents, bool);
143
144protected:
146 ~vtkPolyDataTangents() override = default;
147
149
150 bool ComputePointTangents = true;
151 bool ComputeCellTangents = false;
152
153private:
155 void operator=(const vtkPolyDataTangents&) = delete;
156};
157
158VTK_ABI_NAMESPACE_END
159#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
#define VTK_MARSHALAUTO