50 #ifndef __vtkHyperOctreeContourFilter_h
51 #define __vtkHyperOctreeContourFilter_h
53 #include "vtkFiltersHyperTreeModule.h"
54 #include "vtkPolyDataAlgorithm.h"
56 #include "vtkContourValues.h"
59 class vtkIncrementalPointLocator;
61 class vtkOrderedTriangulator;
63 class vtkHyperOctreeCursor;
65 class vtkUnstructuredGrid;
66 class vtkUnsignedCharArray;
68 class vtkHyperOctreeContourPointsGrabber;
75 void PrintSelf(ostream& os, vtkIndent indent);
88 this->ContourValues->SetValue(i,value);
96 return this->ContourValues->GetValue(i);
105 return this->ContourValues->GetValues();
115 this->ContourValues->GetValues(contourValues);
125 this->ContourValues->SetNumberOfContours(number);
133 return this->ContourValues->GetNumberOfContours();
142 this->ContourValues->GenerateValues(numContours, range);
150 rangeStart,
double rangeEnd)
152 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
157 unsigned long GetMTime();
162 void SetLocator(vtkIncrementalPointLocator *locator);
163 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
168 void CreateDefaultLocator();
174 virtual int RequestData(vtkInformation* request,
175 vtkInformationVector** inputVector,
176 vtkInformationVector* outputVector);
177 virtual int RequestUpdateExtent(vtkInformation*,
178 vtkInformationVector**,
179 vtkInformationVector*);
180 virtual int FillInputPortInformation(
int port, vtkInformation *info);
186 double ComputePointValue(
int ptIndices[3]);
188 void ContourNode1D();
220 vtkIdType CellTypeCounter[65536];
237 friend class vtkHyperOctreeContourPointsGrabber;
vtkDoubleArray * PointScalars
vtkHyperOctreeContourPointsGrabber * Grabber
vtkIdType TemplateCounter
vtkIncrementalPointLocator * Locator
void SetValue(int i, double value)
void GenerateValues(int numContours, double range[2])
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
vtkHyperOctreeCursor * Sibling
vtkDoubleArray * TetScalars
int GetNumberOfContours()
void GetValues(double *contourValues)
vtkHyperOctreeCursor * Cursor
vtkContourValues * ContourValues
vtkHyperOctreeCursor * NeighborCursor
generate isosurfaces/isolines from scalar values
vtkOrderedTriangulator * Triangulator
vtkDoubleArray * CellScalars
void SetNumberOfContours(int number)