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
36
38
39class VTKIMAGINGHYBRID_EXPORT vtkImageToPoints :
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent);
46
48
55
57
62 vtkSetMacro(OutputPointsPrecision, int);
63 vtkGetMacro(OutputPointsPrecision, int);
65
66protected:
69
70 virtual int RequestInformation(vtkInformation *request,
71 vtkInformationVector **inInfo,
72 vtkInformationVector *outInfo);
73
74 virtual int RequestUpdateExtent(vtkInformation *request,
75 vtkInformationVector **inInfo,
76 vtkInformationVector *outInfo);
77
78 virtual int RequestData(vtkInformation *request,
79 vtkInformationVector **inInfo,
80 vtkInformationVector *outInfo);
81
84
86
87private:
88 vtkImageToPoints(const vtkImageToPoints&) VTK_DELETE_FUNCTION;
89 void operator=(const vtkImageToPoints&) VTK_DELETE_FUNCTION;
90};
91
92#endif
Proxy object to connect input/output ports.
efficient description of an image stencil
Extract all image voxels as points.
void SetStencilData(vtkImageStencilData *stencil)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetStencilConnection(vtkAlgorithmOutput *port)
Only extract the points that lie within the stencil.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
This is called by the superclass.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
static vtkImageToPoints * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
This is called by the superclass.
vtkAlgorithmOutput * GetStencilConnection()
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.