VTK  9.2.5
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=========================================================================*/
27#ifndef vtkPolyDataTangents_h
28#define vtkPolyDataTangents_h
29
30#include "vtkFiltersCoreModule.h" // For export macro
32
33class vtkFloatArray;
34class vtkIdList;
35class vtkPolyData;
36
37class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
38{
39public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
46
50 vtkSetMacro(ComputePointTangents, bool);
51 vtkGetMacro(ComputePointTangents, bool);
52 vtkBooleanMacro(ComputePointTangents, bool);
54
56
60 vtkSetMacro(ComputeCellTangents, bool);
61 vtkGetMacro(ComputeCellTangents, bool);
62 vtkBooleanMacro(ComputeCellTangents, bool);
64
65protected:
67 ~vtkPolyDataTangents() override = default;
68
70
71 bool ComputePointTangents = true;
72 bool ComputeCellTangents = false;
73
74private:
76 void operator=(const vtkPolyDataTangents&) = delete;
77};
78
79#endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
list of point or cell ids
Definition: vtkIdList.h:34
a simple class to control print indentation
Definition: vtkIndent.h:40
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:91