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 =========================================================================*/
35 #ifndef vtkCellCenters_h
36 #define vtkCellCenters_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkPolyDataAlgorithm.h"
40 
41 class VTKFILTERSGENERAL_EXPORT vtkCellCenters : public vtkPolyDataAlgorithm
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
50  static vtkCellCenters *New();
51 
53 
57  vtkSetMacro(VertexCells,vtkTypeBool);
58  vtkGetMacro(VertexCells,vtkTypeBool);
59  vtkBooleanMacro(VertexCells,vtkTypeBool);
61 
62 protected:
64  ~vtkCellCenters() override {}
65 
68 
70 private:
71  vtkCellCenters(const vtkCellCenters&) = delete;
72  void operator=(const vtkCellCenters&) = delete;
73 };
74 
75 #endif
vtkCellCenters::VertexCells
vtkTypeBool VertexCells
Definition: vtkCellCenters.h:69
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkX3D::port
Definition: vtkX3D.h:447
vtkCellCenters::~vtkCellCenters
~vtkCellCenters() override
Definition: vtkCellCenters.h:64
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkX3D::info
Definition: vtkX3D.h:376
vtkCellCenters
generate points at center of cells
Definition: vtkCellCenters.h:41
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41