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=========================================================================*/
41#ifndef vtkCellCenters_h
42#define vtkCellCenters_h
43
44#include "vtkFiltersGeneralModule.h" // For export macro
46
47class VTKFILTERSGENERAL_EXPORT vtkCellCenters : public vtkPolyDataAlgorithm
48{
49public:
51 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52
57
59
63 vtkSetMacro(VertexCells,int);
64 vtkGetMacro(VertexCells,int);
65 vtkBooleanMacro(VertexCells,int);
67
68protected:
70 ~vtkCellCenters() VTK_OVERRIDE {}
71
74
76private:
77 vtkCellCenters(const vtkCellCenters&) VTK_DELETE_FUNCTION;
78 void operator=(const vtkCellCenters&) VTK_DELETE_FUNCTION;
79};
80
81#endif
generate points at center of cells
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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.
~vtkCellCenters() override
static vtkCellCenters * New()
Construct object with vertex cell generation turned off.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.