VTK
vtkImageToStructuredPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageToStructuredPoints.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 =========================================================================*/
29 #ifndef vtkImageToStructuredPoints_h
30 #define vtkImageToStructuredPoints_h
31 
32 #include "vtkCommonExecutionModelModule.h" // For export macro
33 #include "vtkImageAlgorithm.h"
34 
35 class vtkImageData;
37 
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  void SetVectorInputData(vtkImageData *input);
48  vtkImageData *GetVectorInput();
50 
52  vtkStructuredPoints* GetStructuredPointsOutput();
53 
54 protected:
57 
58  // to translate the wholeExtent to have min 0 ( I do not like this hack).
59  int Translate[3];
60 
64 
65  virtual int FillOutputPortInformation(int, vtkInformation*);
66  virtual int FillInputPortInformation(int, vtkInformation*);
67 
68 private:
69  vtkImageToStructuredPoints(const vtkImageToStructuredPoints&); // Not implemented.
70  void operator=(const vtkImageToStructuredPoints&); // Not implemented.
71 };
72 
73 
74 #endif
75 
76 
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Attaches image pipeline to VTK.
A subclass of ImageData.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)