VTK  9.1.0
vtkPolyDataTangents.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPolyDataTangents.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
133#ifndef vtkPolyDataTangents_h
134#define vtkPolyDataTangents_h
135
136#include "vtkFiltersCoreModule.h" // For export macro
137#include "vtkPolyDataAlgorithm.h"
138
139class vtkFloatArray;
140class vtkIdList;
141class vtkPolyData;
142
143class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
144{
145public:
147 void PrintSelf(ostream& os, vtkIndent indent) override;
148
150
152
156 vtkSetMacro(ComputePointTangents, bool);
157 vtkGetMacro(ComputePointTangents, bool);
158 vtkBooleanMacro(ComputePointTangents, bool);
160
162
166 vtkSetMacro(ComputeCellTangents, bool);
167 vtkGetMacro(ComputeCellTangents, bool);
168 vtkBooleanMacro(ComputeCellTangents, bool);
170
171protected:
173 ~vtkPolyDataTangents() override = default;
174
176
177 bool ComputePointTangents = true;
178 bool ComputeCellTangents = false;
179
180private:
182 void operator=(const vtkPolyDataTangents&) = delete;
183};
184
185#endif
dynamic, self-adjusting array of float
list of point or cell ids
Definition: vtkIdList.h:140
a simple class to control print indentation
Definition: vtkIndent.h:113
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:195