VTK
vtkUnstructuredGridGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridGeometryFilter.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 =========================================================================*/
43 #ifndef vtkUnstructuredGridGeometryFilter_h
44 #define vtkUnstructuredGridGeometryFilter_h
45 
46 #include "vtkFiltersGeometryModule.h" // For export macro
48 
50 class vtkHashTableOfSurfels; // internal class
51 
54 {
55 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
63  vtkSetMacro(PointClipping,int);
64  vtkGetMacro(PointClipping,int);
65  vtkBooleanMacro(PointClipping,int);
67 
69 
70  vtkSetMacro(CellClipping,int);
71  vtkGetMacro(CellClipping,int);
72  vtkBooleanMacro(CellClipping,int);
74 
76 
77  vtkSetMacro(ExtentClipping,int);
78  vtkGetMacro(ExtentClipping,int);
79  vtkBooleanMacro(ExtentClipping,int);
81 
83 
85  vtkGetMacro(PointMinimum,vtkIdType);
87 
89 
91  vtkGetMacro(PointMaximum,vtkIdType);
93 
95 
97  vtkGetMacro(CellMinimum,vtkIdType);
99 
101 
103  vtkGetMacro(CellMaximum,vtkIdType);
105 
107 
109  void SetExtent(double xMin, double xMax, double yMin, double yMax,
110  double zMin, double zMax);
112 
114 
116  void SetExtent(double extent[6]);
117  double *GetExtent() { return this->Extent;};
119 
121 
124  vtkSetMacro(Merging,int);
125  vtkGetMacro(Merging,int);
126  vtkBooleanMacro(Merging,int);
128 
130 
136  vtkSetMacro(PassThroughCellIds,int);
137  vtkGetMacro(PassThroughCellIds,int);
138  vtkBooleanMacro(PassThroughCellIds,int);
139  vtkSetMacro(PassThroughPointIds,int);
140  vtkGetMacro(PassThroughPointIds,int);
141  vtkBooleanMacro(PassThroughPointIds,int);
143 
145 
149  vtkSetStringMacro(OriginalCellIdsName);
150  virtual const char *GetOriginalCellIdsName() {
151  return ( this->OriginalCellIdsName
152  ? this->OriginalCellIdsName : "vtkOriginalCellIds");
153  }
154  vtkSetStringMacro(OriginalPointIdsName);
155  virtual const char *GetOriginalPointIdsName() {
156  return ( this->OriginalPointIdsName
157  ? this->OriginalPointIdsName : "vtkOriginalPointIds");
158  }
160 
162 
167 
170 
172  unsigned long GetMTime();
173 
174 protected:
177 
180 
182 
187  double Extent[6];
191 
196 
197  int Merging;
199 
200  vtkHashTableOfSurfels *HashTable;
201 
202 private:
204  void operator=(const vtkUnstructuredGridGeometryFilter&); // Not implemented.
205 };
206 
207 #endif
vtkUnstructuredGridBaseAlgorithm.h
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkUnstructuredGridGeometryFilter::PassThroughPointIds
int PassThroughPointIds
Definition: vtkUnstructuredGridGeometryFilter.h:193
vtkUnstructuredGridGeometryFilter::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkUnstructuredGridGeometryFilter.h:198
vtkUnstructuredGridGeometryFilter::PointMaximum
vtkIdType PointMaximum
Definition: vtkUnstructuredGridGeometryFilter.h:183
vtkFiltersGeometryModule.h
VTKFILTERSGEOMETRY_EXPORT
#define VTKFILTERSGEOMETRY_EXPORT
Definition: vtkFiltersGeometryModule.h:15
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkUnstructuredGridGeometryFilter::New
static vtkUnstructuredGridGeometryFilter * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkUnstructuredGridGeometryFilter::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkUnstructuredGridGeometryFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkUnstructuredGridGeometryFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkUnstructuredGridGeometryFilter::ExtentClipping
int ExtentClipping
Definition: vtkUnstructuredGridGeometryFilter.h:190
vtkUnstructuredGridGeometryFilter::CreateDefaultLocator
void CreateDefaultLocator()
vtkUnstructuredGridGeometryFilter::PassThroughCellIds
int PassThroughCellIds
Definition: vtkUnstructuredGridGeometryFilter.h:192
vtkUnstructuredGridGeometryFilter::Merging
int Merging
Definition: vtkUnstructuredGridGeometryFilter.h:197
vtkUnstructuredGridGeometryFilter::OriginalCellIdsName
char * OriginalCellIdsName
Definition: vtkUnstructuredGridGeometryFilter.h:194
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:54
vtkUnstructuredGridGeometryFilter::PointClipping
int PointClipping
Definition: vtkUnstructuredGridGeometryFilter.h:188
vtkUnstructuredGridGeometryFilter
extract geometry from an unstructured grid
Definition: vtkUnstructuredGridGeometryFilter.h:54
vtkUnstructuredGridGeometryFilter::GetMTime
unsigned long GetMTime()
vtkUnstructuredGridBaseAlgorithm
Superclass for algorithms that produce only vtkUnstructureGridBase subclasses as output.
Definition: vtkUnstructuredGridBaseAlgorithm.h:40
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkUnstructuredGridGeometryFilter::HashTable
vtkHashTableOfSurfels * HashTable
Definition: vtkUnstructuredGridGeometryFilter.h:200
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkUnstructuredGridGeometryFilter::CellMinimum
vtkIdType CellMinimum
Definition: vtkUnstructuredGridGeometryFilter.h:185
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkUnstructuredGridGeometryFilter::~vtkUnstructuredGridGeometryFilter
~vtkUnstructuredGridGeometryFilter()
vtkUnstructuredGridGeometryFilter::OriginalPointIdsName
char * OriginalPointIdsName
Definition: vtkUnstructuredGridGeometryFilter.h:195
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkUnstructuredGridGeometryFilter::CellClipping
int CellClipping
Definition: vtkUnstructuredGridGeometryFilter.h:189
vtkUnstructuredGridGeometryFilter::GetOriginalCellIdsName
virtual const char * GetOriginalCellIdsName()
Definition: vtkUnstructuredGridGeometryFilter.h:150
vtkUnstructuredGridGeometryFilter::SetLocator
void SetLocator(vtkIncrementalPointLocator *locator)
VTK_ID_MAX
#define VTK_ID_MAX
Definition: vtkType.h:278
vtkUnstructuredGridGeometryFilter::vtkUnstructuredGridGeometryFilter
vtkUnstructuredGridGeometryFilter()
vtkUnstructuredGridGeometryFilter::CellMaximum
vtkIdType CellMaximum
Definition: vtkUnstructuredGridGeometryFilter.h:186
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkgl::void
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
vtkUnstructuredGridGeometryFilter::PointMinimum
vtkIdType PointMinimum
Definition: vtkUnstructuredGridGeometryFilter.h:184
vtkUnstructuredGridGeometryFilter::GetOriginalPointIdsName
virtual const char * GetOriginalPointIdsName()
Definition: vtkUnstructuredGridGeometryFilter.h:155