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
41
42class vtkFloatArray;
43class vtkIdList;
44class vtkPolyData;
45
46class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
47{
48public:
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
74protected:
76 ~vtkPolyDataTangents() override = default;
77
79
80 bool ComputePointTangents = true;
81 bool ComputeCellTangents = false;
82
83private:
85 void operator=(const vtkPolyDataTangents&) = delete;
86};
87
88#endif
dynamic, self-adjusting array of float
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
static vtkPolyDataTangents * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips