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 
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 
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
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkHyperOctreeSurfaceFilter::GenerateQuads
void GenerateQuads(double bounds[4], vtkIdType ptIds[4])
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkHyperOctreeSurfaceFilter::SetLocator
void SetLocator(vtkIncrementalPointLocator *locator)
vtkHyperOctreeSurfaceFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkHyperOctreeSurfaceFilter::OutputCD
vtkCellData * OutputCD
Definition: vtkHyperOctreeSurfaceFilter.h:102
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkHyperOctreeSurfaceFilter::RecordOrigCellId
void RecordOrigCellId(vtkIdType destIndex, vtkIdType originalId)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperOctreeCursor
Objects that can traverse hyperoctree nodes.
Definition: vtkHyperOctreeCursor.h:51
vtkHyperOctreeSurfaceFilter::vtkHyperOctreeSurfaceFilter
vtkHyperOctreeSurfaceFilter()
vtkFiltersHyperTreeModule.h
vtkPolyDataAlgorithm.h
vtkHyperOctreeSurfaceFilter::~vtkHyperOctreeSurfaceFilter
~vtkHyperOctreeSurfaceFilter()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
VTKFILTERSHYPERTREE_EXPORT
#define VTKFILTERSHYPERTREE_EXPORT
Definition: vtkFiltersHyperTreeModule.h:15
vtkHyperOctreeSurfaceFilter::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkHyperOctreeSurfaceFilter.h:93
vtkHyperOctreeSurfaceFilter::Merging
int Merging
Definition: vtkHyperOctreeSurfaceFilter.h:92
vtkHyperOctreeSurfaceFilter::New
static vtkHyperOctreeSurfaceFilter * New()
vtkCellData
represent and manipulate cell attribute data
Definition: vtkCellData.h:38
vtkHyperOctreeSurfaceFilter::CreateDefaultLocator
void CreateDefaultLocator()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:54
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkHyperOctreeSurfaceFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkHyperOctreeSurfaceFilter::OutCells
vtkCellArray * OutCells
Definition: vtkHyperOctreeSurfaceFilter.h:101
vtkHyperOctreeSurfaceFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkHyperOctreeSurfaceFilter::GenerateLines
void GenerateLines(double bounds[2], vtkIdType ptIds[2])
vtkHyperOctreeSurfaceFilter::Cursor
vtkHyperOctreeCursor * Cursor
Definition: vtkHyperOctreeSurfaceFilter.h:99
vtkHyperOctreeSurfaceFilter::PassThroughCellIds
int PassThroughCellIds
Definition: vtkHyperOctreeSurfaceFilter.h:104
vtkHyperOctreeSurfaceFilter::OriginalCellIds
vtkIdTypeArray * OriginalCellIds
Definition: vtkHyperOctreeSurfaceFilter.h:106
vtkHyperOctreeSurfaceFilter
Extracts outer (polygonal) surface.
Definition: vtkHyperOctreeSurfaceFilter.h:39
vtkHyperOctreeSurfaceFilter::InputCD
vtkDataSetAttributes * InputCD
Definition: vtkHyperOctreeSurfaceFilter.h:97
vtkHyperOctreeSurfaceFilter::OutPts
vtkPoints * OutPts
Definition: vtkHyperOctreeSurfaceFilter.h:100
vtkHyperOctreeSurfaceFilter::GetMTime
unsigned long GetMTime()
vtkHyperOctreeSurfaceFilter::GenerateFaces
void GenerateFaces(double bounds[6], vtkIdType ptIds[8], int onFace[6])
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44