VTK
vtkDensifyPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDensifyPolyData.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 =========================================================================*/
15 
35 #ifndef __vtkDensifyPolyData_h
36 #define __vtkDensifyPolyData_h
37 
38 #include "vtkPolyDataAlgorithm.h"
39 
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45  static vtkDensifyPolyData *New();
46 
48 
49  vtkSetMacro( NumberOfSubdivisions, unsigned int );
50  vtkGetMacro( NumberOfSubdivisions, unsigned int );
52 
53 protected:
56 
57  virtual int RequestData(vtkInformation *,
60 
61  unsigned int NumberOfSubdivisions;
62 
63 private:
64  virtual int FillInputPortInformation(int, vtkInformation*);
65 
66  vtkDensifyPolyData(const vtkDensifyPolyData&); // Not implemented.
67  void operator=(const vtkDensifyPolyData&); // Not implemented.
68 };
69 
70 #endif
71 
72 
#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)
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
unsigned int NumberOfSubdivisions
Densify the input by adding points at the centroid.
Store zero or more vtkInformation instances.