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 "vtkImagingCoreModule.h" // For export macro
48 #include "vtkImageAlgorithm.h"
49 
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57  static vtkExtractVOI *New();
58 
60 
63  vtkSetVector6Macro(VOI,int);
64  vtkGetVectorMacro(VOI,int,6);
66 
68 
72  vtkSetVector3Macro(SampleRate, int);
73  vtkGetVectorMacro(SampleRate, int, 3);
75 
76 protected:
77  vtkExtractVOI();
79 
83  virtual int RequestInformation (vtkInformation*,
86  virtual int RequestData(vtkInformation* request,
87  vtkInformationVector** inputVector,
88  vtkInformationVector* outputVector);
89 
90  int VOI[6];
91  int SampleRate[3];
92 private:
93  vtkExtractVOI(const vtkExtractVOI&); // Not implemented.
94  void operator=(const vtkExtractVOI&); // Not implemented.
95 };
96 
97 #endif
98 
99 
Store vtkAlgorithm input/output information.
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGCORE_EXPORT
select piece (e.g., volume of interest) and/or subsample structured points dataset ...
Definition: vtkExtractVOI.h:50
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:350
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)
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:277
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:414