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=========================================================================*/
33#ifndef vtkPolyDataTangents_h
34#define vtkPolyDataTangents_h
35
36#include "vtkFiltersCoreModule.h" // For export macro
38
39class vtkFloatArray;
40class vtkIdList;
41class vtkPolyData;
42
43class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
44{
45public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
52
56 vtkSetMacro(ComputePointTangents, bool);
57 vtkGetMacro(ComputePointTangents, bool);
58 vtkBooleanMacro(ComputePointTangents, bool);
60
62
66 vtkSetMacro(ComputeCellTangents, bool);
67 vtkGetMacro(ComputeCellTangents, bool);
68 vtkBooleanMacro(ComputeCellTangents, bool);
70
71protected:
73 ~vtkPolyDataTangents() override = default;
74
76
77 bool ComputePointTangents = true;
78 bool ComputeCellTangents = false;
79
80private:
82 void operator=(const vtkPolyDataTangents&) = delete;
83};
84
85#endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:45
list of point or cell ids
Definition: vtkIdList.h:40
a simple class to control print indentation
Definition: vtkIndent.h:43
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:95