VTK  9.2.5
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 : public vtkPolyDataAlgorithm
40 {
41 public:
42  static vtkImageToPoints* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
54 
56 
61  vtkSetMacro(OutputPointsPrecision, int);
62  vtkGetMacro(OutputPointsPrecision, int);
64 
65 protected:
67  ~vtkImageToPoints() override;
68 
70  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* outInfo) override;
71 
73  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* outInfo) override;
74 
76  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* outInfo) override;
77 
80 
82 
83 private:
84  vtkImageToPoints(const vtkImageToPoints&) = delete;
85  void operator=(const vtkImageToPoints&) = delete;
86 };
87 
88 #endif
Proxy object to connect input/output ports.
efficient description of an image stencil
Extract all image voxels as points.
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
This is called by the superclass.
vtkAlgorithmOutput * GetStencilConnection()
Only extract the points that lie within the stencil.
void SetStencilData(vtkImageStencilData *stencil)
Only extract the points that lie within the stencil.
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
This is called by the superclass.
int RequestInformation(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
void SetStencilConnection(vtkAlgorithmOutput *port)
Only extract the points that lie within the stencil.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkImageToPoints() override
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkImageToPoints * New()
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453