VTK
vtkExtractUnstructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractUnstructuredGrid.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 __vtkExtractUnstructuredGrid_h
45 #define __vtkExtractUnstructuredGrid_h
46 
48 
50 
52 {
53 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
59 
61 
62  vtkSetMacro(PointClipping,int);
63  vtkGetMacro(PointClipping,int);
64  vtkBooleanMacro(PointClipping,int);
66 
68 
69  vtkSetMacro(CellClipping,int);
70  vtkGetMacro(CellClipping,int);
71  vtkBooleanMacro(CellClipping,int);
73 
75 
76  vtkSetMacro(ExtentClipping,int);
77  vtkGetMacro(ExtentClipping,int);
78  vtkBooleanMacro(ExtentClipping,int);
80 
82 
83  vtkSetClampMacro(PointMinimum,vtkIdType,0,VTK_LARGE_ID);
84  vtkGetMacro(PointMinimum,vtkIdType);
86 
88 
89  vtkSetClampMacro(PointMaximum,vtkIdType,0,VTK_LARGE_ID);
90  vtkGetMacro(PointMaximum,vtkIdType);
92 
94 
95  vtkSetClampMacro(CellMinimum,vtkIdType,0,VTK_LARGE_ID);
96  vtkGetMacro(CellMinimum,vtkIdType);
98 
100 
101  vtkSetClampMacro(CellMaximum,vtkIdType,0,VTK_LARGE_ID);
102  vtkGetMacro(CellMaximum,vtkIdType);
104 
106 
108  void SetExtent(double xMin, double xMax, double yMin, double yMax,
109  double zMin, double zMax);
111 
113 
115  void SetExtent(double extent[6]);
116  double *GetExtent() { return this->Extent;};
118 
120 
123  vtkSetMacro(Merging,int);
124  vtkGetMacro(Merging,int);
125  vtkBooleanMacro(Merging,int);
127 
129 
131  void SetLocator(vtkIncrementalPointLocator *locator);
132  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
134 
136  void CreateDefaultLocator();
137 
139  unsigned long GetMTime();
140 
141 protected:
144 
146 
151  double Extent[6];
155 
156  int Merging;
158 private:
159  vtkExtractUnstructuredGrid(const vtkExtractUnstructuredGrid&); // Not implemented.
160  void operator=(const vtkExtractUnstructuredGrid&); // Not implemented.
161 };
162 
163 #endif
164 
165