VTK
vtkPResampleFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPResampleFilter.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 =========================================================================*/
23 #ifndef vtkPResampleFilter_h
24 #define vtkPResampleFilter_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
27 #include "vtkImageAlgorithm.h"
28 
30 
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
40 
44 
46 
48  vtkSetMacro(UseInputBounds, int);
49  vtkGetMacro(UseInputBounds, int);
50  vtkBooleanMacro(UseInputBounds, int);
52 
54 
56  vtkSetVector6Macro(CustomSamplingBounds, double);
57  vtkGetVector6Macro(CustomSamplingBounds, double);
59 
61 
63  vtkSetVector3Macro(SamplingDimension, int);
64  vtkGetVector3Macro(SamplingDimension, int);
66 
67 //BTX
68 protected:
71 
72  // Usual data generation method
77 
79 
82  double CustomSamplingBounds[6];
83  int SamplingDimension[3];
84  double Bounds[6];
85 
86 private:
87  vtkPResampleFilter(const vtkPResampleFilter&); // Not implemented.
88  void operator=(const vtkPResampleFilter&); // Not implemented.
89 //ETX
90 };
91 
92 #endif
vtkGetVector6Macro
#define vtkGetVector6Macro(name, type)
Definition: vtkSetGet.h:380
vtkPResampleFilter::UseInputBounds
int UseInputBounds
Definition: vtkPResampleFilter.h:81
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkPResampleFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
VTKFILTERSPARALLEL_EXPORT
#define VTKFILTERSPARALLEL_EXPORT
Definition: vtkFiltersParallelModule.h:15
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPResampleFilter::CalculateBounds
double * CalculateBounds(vtkDataSet *input)
vtkPResampleFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkPResampleFilter::SetController
virtual void SetController(vtkMultiProcessController *)
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkPResampleFilter::vtkPResampleFilter
vtkPResampleFilter()
vtkFiltersParallelModule.h
vtkPResampleFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGetVector3Macro
#define vtkGetVector3Macro(name, type)
Definition: vtkSetGet.h:304
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:85
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkPResampleFilter::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPResampleFilter
probe dataset in parallel using a vtkImageData
Definition: vtkPResampleFilter.h:32
vtkSetVector6Macro
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:360
vtkPResampleFilter::Controller
vtkMultiProcessController * Controller
Definition: vtkPResampleFilter.h:80
vtkPResampleFilter::New
static vtkPResampleFilter * New()
vtkPResampleFilter::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPResampleFilter::~vtkPResampleFilter
~vtkPResampleFilter()