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 =========================================================================*/
36 #ifndef vtkPolyDataTangents_h
37 #define vtkPolyDataTangents_h
38 
39 #include "vtkFiltersCoreModule.h" // For export macro
40 #include "vtkPolyDataAlgorithm.h"
41 
42 class vtkFloatArray;
43 class vtkIdList;
44 class vtkPolyData;
45 
46 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53 
55 
59  vtkSetMacro(ComputePointTangents, bool);
60  vtkGetMacro(ComputePointTangents, bool);
61  vtkBooleanMacro(ComputePointTangents, bool);
63 
65 
69  vtkSetMacro(ComputeCellTangents, bool);
70  vtkGetMacro(ComputeCellTangents, bool);
71  vtkBooleanMacro(ComputeCellTangents, bool);
73 
74 protected:
75  vtkPolyDataTangents() = default;
76  ~vtkPolyDataTangents() override = default;
77 
79 
80  bool ComputePointTangents = true;
81  bool ComputeCellTangents = false;
82 
83 private:
85  void operator=(const vtkPolyDataTangents&) = delete;
86 };
87 
88 #endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:51
list of point or cell ids
Definition: vtkIdList.h:43
a simple class to control print indentation
Definition: vtkIndent.h:49
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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPolyDataTangents * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:100