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
#define VTK_GRAPHICS_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
represent and manipulate cell attribute data
Definition: vtkCellData.h:36
Abstract class in support of both point location and point insertion.
dynamic, self-adjusting array of vtkIdType
int vtkIdType
Definition: vtkType.h:255
static vtkPolyDataAlgorithm * New()
vtkIncrementalPointLocator * Locator
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:37
represent and manipulate attribute data in a dataset
Objects that can traverse hyperoctree nodes.
object to represent cell connectivity
Definition: vtkCellArray.h:48
Extracts outer (polygonal) surface.
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:38