vtkPVExtractVOI.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVExtractVOI.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
27 #ifndef vtkPVExtractVOI_h
28 #define vtkPVExtractVOI_h
29 
30 #include "vtkDataSetAlgorithm.h"
31 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
32 
33 class vtkDataObject;
34 class vtkDataSet;
35 class vtkExtractGrid;
37 class vtkExtractVOI;
38 
40 {
41 
42 public:
43  static vtkPVExtractVOI* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
53  vtkSetVector6Macro(VOI, int);
54  vtkGetVectorMacro(VOI, int, 6);
56 
58 
64  vtkSetVector3Macro(SampleRate, int);
65  vtkGetVectorMacro(SampleRate, int, 3);
67 
69 
72  void SetSampleRateI(int ratei);
73  void SetSampleRateJ(int ratej);
74  void SetSampleRateK(int ratek);
75  int GetSampleRateI() { return this->SampleRate[0]; }
76  int GetSampleRateJ() { return this->SampleRate[1]; }
77  int GetSampleRateK() { return this->SampleRate[2]; }
79 
81 
89  vtkSetMacro(IncludeBoundary, int);
90  vtkGetMacro(IncludeBoundary, int);
91  vtkBooleanMacro(IncludeBoundary, int);
93 
94 protected:
96  ~vtkPVExtractVOI() override;
97 
101 
102  int VOI[6];
103  int SampleRate[3];
105 
109 
110  void ReportReferences(vtkGarbageCollector*) override;
111 
112 private:
113  vtkPVExtractVOI(const vtkPVExtractVOI&) = delete;
114  void operator=(const vtkPVExtractVOI&) = delete;
115 };
116 
117 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkExtractRectilinearGrid * ExtractRG
int GetSampleRateJ()
Set/get the individual components of the sample rate.
select piece (e.g., volume of interest) and/or subsample structured dataset
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ReportReferences(vtkGarbageCollector *) VTK_OVERRIDE
int GetSampleRateI()
Set/get the individual components of the sample rate.
vtkExtractVOI * ExtractVOI
void operator=(const vtkObjectBase &)
static vtkDataSetAlgorithm * New()
int GetSampleRateK()
Set/get the individual components of the sample rate.
vtkExtractGrid * ExtractGrid