VTK
vtkHyperOctreeSurfaceFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeSurfaceFilter.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 =========================================================================*/
27 #ifndef __vtkHyperOctreeSurfaceFilter_h
28 #define __vtkHyperOctreeSurfaceFilter_h
29 
30 #include "vtkPolyDataAlgorithm.h"
31 
34 class vtkIdTypeArray;
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
48  vtkSetMacro(Merging,int);
49  vtkGetMacro(Merging,int);
50  vtkBooleanMacro(Merging,int);
52 
54 
56  void SetLocator(vtkIncrementalPointLocator *locator);
57  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
59 
61  unsigned long GetMTime();
62 
64 
68  vtkSetMacro(PassThroughCellIds,int);
69  vtkGetMacro(PassThroughCellIds,int);
70  vtkBooleanMacro(PassThroughCellIds,int);
72 
73 protected:
76 
79 
80  void GenerateLines(double bounds[2],
81  vtkIdType ptIds[2]);
82  void GenerateQuads(double bounds[4],
83  vtkIdType ptIds[4]);
84  void GenerateFaces(double bounds[6],
85  vtkIdType ptIds[8],
86  int onFace[6]);
87 
89  void CreateDefaultLocator();
90 
91  int Merging;
93 
94  // Variables used by generate recursively.
95  // It avoids to pass to much argument.
97 
102 
104  void RecordOrigCellId(vtkIdType destIndex, vtkIdType originalId);
106 
107 private:
108  vtkHyperOctreeSurfaceFilter(const vtkHyperOctreeSurfaceFilter&); // Not implemented.
109  void operator=(const vtkHyperOctreeSurfaceFilter&); // Not implemented.
110 };
111 
112 #endif