VTK
vtkExtractVOI.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractVOI.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 =========================================================================*/
44 #ifndef __vtkExtractVOI_h
45 #define __vtkExtractVOI_h
46 
47 #include "vtkImageAlgorithm.h"
48 
50 {
51 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  static vtkExtractVOI *New();
57 
59 
62  vtkSetVector6Macro(VOI,int);
63  vtkGetVectorMacro(VOI,int,6);
65 
67 
71  vtkSetVector3Macro(SampleRate, int);
72  vtkGetVectorMacro(SampleRate, int, 3);
74 
75 protected:
76  vtkExtractVOI();
78 
82  virtual int RequestInformation (vtkInformation*,
85  virtual int RequestData(vtkInformation* request,
86  vtkInformationVector** inputVector,
87  vtkInformationVector* outputVector);
88 
89  int VOI[6];
90  int SampleRate[3];
91 private:
92  vtkExtractVOI(const vtkExtractVOI&); // Not implemented.
93  void operator=(const vtkExtractVOI&); // Not implemented.
94 };
95 
96 #endif
97 
98 
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
select piece (e.g., volume of interest) and/or subsample structured points dataset ...
Definition: vtkExtractVOI.h:49
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)