VTK
vtkCellCenters.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCellCenters.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 =========================================================================*/
40 #ifndef __vtkCellCenters_h
41 #define __vtkCellCenters_h
42 
43 #include "vtkPolyDataAlgorithm.h"
44 
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52  static vtkCellCenters *New();
53 
55 
56  vtkSetMacro(VertexCells,int);
57  vtkGetMacro(VertexCells,int);
58  vtkBooleanMacro(VertexCells,int);
60 
61 protected:
64 
67 
69 private:
70  vtkCellCenters(const vtkCellCenters&); // Not implemented.
71  void operator=(const vtkCellCenters&); // Not implemented.
72 };
73 
74 #endif
#define VTK_GRAPHICS_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
generate points at center of cells
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
Store zero or more vtkInformation instances.