39 #ifndef __vtkHyperOctreeDualGridContourFilter_h
40 #define __vtkHyperOctreeDualGridContourFilter_h
42 #include "vtkFiltersHyperTreeModule.h"
43 #include "vtkPolyDataAlgorithm.h"
45 #include "vtkContourValues.h"
50 class vtkHyperOctreeCursor;
51 class vtkHyperOctreeLightWeightCursor;
53 class vtkDataSetAttributes;
54 class vtkUnstructuredGrid;
55 class vtkUnsignedCharArray;
58 class vtkIncrementalPointLocator;
64 void PrintSelf(ostream& os, vtkIndent indent);
77 this->ContourValues->SetValue(i,value);
85 return this->ContourValues->GetValue(i);
94 return this->ContourValues->GetValues();
104 this->ContourValues->GetValues(contourValues);
114 this->ContourValues->SetNumberOfContours(number);
122 return this->ContourValues->GetNumberOfContours();
131 this->ContourValues->GenerateValues(numContours, range);
139 rangeStart,
double rangeEnd)
141 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
146 unsigned long GetMTime();
151 void SetLocator(vtkIncrementalPointLocator *locator);
152 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
157 void CreateDefaultLocator();
163 virtual int RequestData(vtkInformation* request,
164 vtkInformationVector** inputVector,
165 vtkInformationVector* outputVector);
166 virtual int RequestUpdateExtent(vtkInformation*,
167 vtkInformationVector**,
168 vtkInformationVector*);
169 virtual int FillInputPortInformation(
int port, vtkInformation *info);
174 void TraverseNeighborhoodRecursively(
175 vtkHyperOctreeLightWeightCursor* neighborhood,
176 unsigned short* xyzIds);
177 void EvaluatePoint(vtkHyperOctreeLightWeightCursor* neighborhood,
178 unsigned short* xyzIds);
180 void ContourNode1D();
202 unsigned char NeighborhoodTraversalTable[64];
203 void GenerateTraversalTable();
void GenerateValues(int numContours, double range[2])
vtkContourValues * ContourValues
vtkIncrementalPointLocator * Locator
void SetValue(int i, double value)
vtkDataSetAttributes * OutPD
vtkDataSetAttributes * InPD
void SetNumberOfContours(int number)
int GetNumberOfContours()
void GetValues(double *contourValues)
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
generate isosurfaces/isolines from scalar values