VTK  9.2.6
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
31 #include "vtkPolyDataAlgorithm.h"
32 
33 class vtkFloatArray;
34 class vtkIdList;
35 class vtkPolyData;
36 
37 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43  static vtkPolyDataTangents* New();
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 
65 protected:
66  vtkPolyDataTangents() = default;
67  ~vtkPolyDataTangents() override = default;
68 
70 
71  bool ComputePointTangents = true;
72  bool ComputeCellTangents = false;
73 
74 private:
76  void operator=(const vtkPolyDataTangents&) = delete;
77 };
78 
79 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:41
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
static vtkPolyDataAlgorithm * New()
compute tangents for triangulated polydata
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:33
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.