VTK
vtkImageToPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageToPoints.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 =========================================================================*/
31 #ifndef vtkImageToPoints_h
32 #define vtkImageToPoints_h
33 
34 #include "vtkImagingHybridModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
38 
39 class VTKIMAGINGHYBRID_EXPORT vtkImageToPoints :
41 {
42 public:
43  static vtkImageToPoints *New();
45  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 
48 
51  void SetStencilConnection(vtkAlgorithmOutput *port);
52  vtkAlgorithmOutput *GetStencilConnection();
53  void SetStencilData(vtkImageStencilData *stencil);
55 
57 
62  vtkSetMacro(OutputPointsPrecision, int);
63  vtkGetMacro(OutputPointsPrecision, int);
65 
66 protected:
68  ~vtkImageToPoints() VTK_OVERRIDE;
69 
70  int RequestInformation(vtkInformation *request,
71  vtkInformationVector **inInfo,
72  vtkInformationVector *outInfo) VTK_OVERRIDE;
73 
74  int RequestUpdateExtent(vtkInformation *request,
75  vtkInformationVector **inInfo,
76  vtkInformationVector *outInfo) VTK_OVERRIDE;
77 
78  int RequestData(vtkInformation *request,
79  vtkInformationVector **inInfo,
80  vtkInformationVector *outInfo) VTK_OVERRIDE;
81 
82  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
83  int FillOutputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
84 
85  int OutputPointsPrecision;
86 
87 private:
88  vtkImageToPoints(const vtkImageToPoints&) VTK_DELETE_FUNCTION;
89  void operator=(const vtkImageToPoints&) VTK_DELETE_FUNCTION;
90 };
91 
92 #endif
Extract all image voxels as points.
Store vtkAlgorithm input/output information.
Proxy object to connect input/output ports.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
efficient description of an image stencil
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.