VTK
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
39 #include "vtkPolyDataAlgorithm.h"
40 
41 class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
50  static vtkEdgeCenters *New();
51 
53 
56  vtkSetMacro(VertexCells,vtkTypeBool);
57  vtkGetMacro(VertexCells,vtkTypeBool);
58  vtkBooleanMacro(VertexCells,vtkTypeBool);
60 
61 protected:
63  ~vtkEdgeCenters() override {}
64 
67 
69 private:
70  vtkEdgeCenters(const vtkEdgeCenters&) = delete;
71  void operator=(const vtkEdgeCenters&) = delete;
72 };
73 
74 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
generate points at center of edges
Superclass for algorithms that produce only polydata as output.
~vtkEdgeCenters() override
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTypeBool VertexCells
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.