VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
34 #ifndef __vtkEdgeCenters_h
35 #define __vtkEdgeCenters_h
36 
37 #include "vtkInfovisCoreModule.h" // For export macro
38 #include "vtkPolyDataAlgorithm.h"
39 
40 class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
41 {
42 public:
43  vtkTypeMacro(vtkEdgeCenters,vtkPolyDataAlgorithm);
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47  static vtkEdgeCenters *New();
48 
50 
51  vtkSetMacro(VertexCells,int);
52  vtkGetMacro(VertexCells,int);
53  vtkBooleanMacro(VertexCells,int);
55 
56 protected:
59 
60  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
61  virtual int FillInputPortInformation(int port, vtkInformation *info);
62 
64 private:
65  vtkEdgeCenters(const vtkEdgeCenters&); // Not implemented.
66  void operator=(const vtkEdgeCenters&); // Not implemented.
67 };
68 
69 #endif
generate points at center of edges