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
40
41class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm
42{
43public:
45 void PrintSelf(ostream& os, vtkIndent indent);
46
51
53
56 vtkSetMacro(VertexCells,int);
57 vtkGetMacro(VertexCells,int);
58 vtkBooleanMacro(VertexCells,int);
60
61protected:
64
67
69private:
70 vtkEdgeCenters(const vtkEdgeCenters&) VTK_DELETE_FUNCTION;
71 void operator=(const vtkEdgeCenters&) VTK_DELETE_FUNCTION;
72};
73
74#endif
generate points at center of edges
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkEdgeCenters * 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.