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 "vtkFiltersHyperTreeModule.h" // For export macro
31 #include "vtkPolyDataAlgorithm.h"
32 
35 class vtkIdTypeArray;
37 
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
49  vtkSetMacro(Merging,int);
50  vtkGetMacro(Merging,int);
51  vtkBooleanMacro(Merging,int);
53 
55 
57  void SetLocator(vtkIncrementalPointLocator *locator);
58  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
60 
62  unsigned long GetMTime();
63 
65 
69  vtkSetMacro(PassThroughCellIds,int);
70  vtkGetMacro(PassThroughCellIds,int);
71  vtkBooleanMacro(PassThroughCellIds,int);
73 
74 protected:
77 
80 
81  void GenerateLines(double bounds[2],
82  vtkIdType ptIds[2]);
83  void GenerateQuads(double bounds[4],
84  vtkIdType ptIds[4]);
85  void GenerateFaces(double bounds[6],
86  vtkIdType ptIds[8],
87  int onFace[6]);
88 
90  void CreateDefaultLocator();
91 
92  int Merging;
94 
95  // Variables used by generate recursively.
96  // It avoids to pass to much argument.
98 
103 
105  void RecordOrigCellId(vtkIdType destIndex, vtkIdType originalId);
107 
108 private:
109  vtkHyperOctreeSurfaceFilter(const vtkHyperOctreeSurfaceFilter&); // Not implemented.
110  void operator=(const vtkHyperOctreeSurfaceFilter&); // Not implemented.
111 };
112 
113 #endif
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:37
Abstract class in support of both point location and point insertion.
dynamic, self-adjusting array of vtkIdType
int vtkIdType
Definition: vtkType.h:275
#define VTKFILTERSHYPERTREE_EXPORT
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:38
represent and manipulate attribute data in a dataset
Objects that can traverse hyperoctree nodes.
object to represent cell connectivity
Definition: vtkCellArray.h:49
Extracts outer (polygonal) surface.
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:38