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 =========================================================================*/
136 #ifndef vtkPolyDataTangents_h
137 #define vtkPolyDataTangents_h
138 
139 #include "vtkFiltersCoreModule.h" // For export macro
140 #include "vtkPolyDataAlgorithm.h"
141 
142 class vtkFloatArray;
143 class vtkIdList;
144 class vtkPolyData;
145 
146 class VTKFILTERSCORE_EXPORT vtkPolyDataTangents : public vtkPolyDataAlgorithm
147 {
148 public:
150  void PrintSelf(ostream& os, vtkIndent indent) override;
151 
153 
155 
159  vtkSetMacro(ComputePointTangents, bool);
160  vtkGetMacro(ComputePointTangents, bool);
161  vtkBooleanMacro(ComputePointTangents, bool);
163 
165 
169  vtkSetMacro(ComputeCellTangents, bool);
170  vtkGetMacro(ComputeCellTangents, bool);
171  vtkBooleanMacro(ComputeCellTangents, bool);
173 
174 protected:
175  vtkPolyDataTangents() = default;
176  ~vtkPolyDataTangents() override = default;
177 
179 
180  bool ComputePointTangents = true;
181  bool ComputeCellTangents = false;
182 
183 private:
184  vtkPolyDataTangents(const vtkPolyDataTangents&) = delete;
185  void operator=(const vtkPolyDataTangents&) = delete;
186 };
187 
188 #endif
dynamic, self-adjusting array of float
list of point or cell ids
Definition: vtkIdList.h:143
a simple class to control print indentation
Definition: vtkIndent.h:119
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:200