VTK
vtkImageToAMR.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile$
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 =========================================================================*/
28 #ifndef vtkImageToAMR_h
29 #define vtkImageToAMR_h
30 
32 #include "vtkFiltersAMRModule.h" // For export macro
33 
35 {
36 public:
37  static vtkImageToAMR* New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkSetClampMacro(NumberOfLevels, int, 1, VTK_INT_MAX);
44  vtkGetMacro(NumberOfLevels, int);
46 
48 
50  vtkSetClampMacro(RefinementRatio, int, 2, VTK_INT_MAX);
51  vtkGetMacro(RefinementRatio, int);
53 
55 
56  vtkSetClampMacro(MaximumNumberOfBlocks, int, 1, VTK_INT_MAX);
57  vtkGetMacro(MaximumNumberOfBlocks, int);
59 
60 
61 //BTX
62 protected:
63  vtkImageToAMR();
64  ~vtkImageToAMR();
65 
70 
72 
74  virtual int RequestData(vtkInformation *request,
75  vtkInformationVector **inputVector,
76  vtkInformationVector *outputVector);
78 
82 
83 
84 private:
85  vtkImageToAMR(const vtkImageToAMR&); // Not implemented.
86  void operator=(const vtkImageToAMR&); // Not implemented.
87 //ETX
88 };
89 
90 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:132
int MaximumNumberOfBlocks
Definition: vtkImageToAMR.h:80
#define VTKFILTERSAMR_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
static vtkOverlappingAMRAlgorithm * New()
filter to convert any vtkImageData to a vtkOverlappingAMR.
Definition: vtkImageToAMR.h:34