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 
37  static vtkPResampleFilter *New();
38 
40 
41  virtual void SetController(vtkMultiProcessController*);
42  vtkGetObjectMacro(Controller, vtkMultiProcessController);
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 
78  double* CalculateBounds(vtkDataSet* input);
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
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMultiProcessController * Controller
#define VTKFILTERSPARALLEL_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
probe dataset in parallel using a vtkImageData
virtual int FillInputPortInformation(int port, vtkInformation *info)
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)
Multiprocessing communication superclass.