VTK  9.1.0
vtkEdgeCenters.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkEdgeCenters.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=========================================================================*/
35#ifndef vtkEdgeCenters_h
36#define vtkEdgeCenters_h
37
38#include "vtkInfovisCoreModule.h" // For export macro
40
41class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
42{
43public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
51
53
56 vtkSetMacro(VertexCells, vtkTypeBool);
57 vtkGetMacro(VertexCells, vtkTypeBool);
58 vtkBooleanMacro(VertexCells, vtkTypeBool);
60
61protected:
63 ~vtkEdgeCenters() override = default;
64
66 int FillInputPortInformation(int port, vtkInformation* info) override;
67
69
70private:
71 vtkEdgeCenters(const vtkEdgeCenters&) = delete;
72 void operator=(const vtkEdgeCenters&) = delete;
73};
74
75#endif
generate points at center of edges
~vtkEdgeCenters() override=default
vtkTypeBool VertexCells
static vtkEdgeCenters * New()
Construct object with vertex cell generation turned off.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition: vtkABI.h:69