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 "vtkImageAlgorithm.h"
33 
34 class vtkImageData;
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  void SetVectorInput(vtkImageData *input);
47  vtkImageData *GetVectorInput();
49 
51  vtkStructuredPoints* GetStructuredPointsOutput();
52 
53 protected:
56 
57  // to translate the wholeExtent to have min 0 ( I do not like this hack).
58  int Translate[3];
59 
63 
64  virtual int FillOutputPortInformation(int, vtkInformation*);
65  virtual int FillInputPortInformation(int, vtkInformation*);
66 
67 private:
68  vtkImageToStructuredPoints(const vtkImageToStructuredPoints&); // Not implemented.
69  void operator=(const vtkImageToStructuredPoints&); // Not implemented.
70 };
71 
72 
73 #endif
74 
75 
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
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)