48 #ifndef __vtkContourGrid_h
49 #define __vtkContourGrid_h
51 #include "vtkFiltersCoreModule.h"
52 #include "vtkPolyDataAlgorithm.h"
54 #include "vtkContourValues.h"
58 class vtkIncrementalPointLocator;
64 void PrintSelf(ostream& os, vtkIndent indent);
72 void SetValue(
int i,
double value);
73 double GetValue(
int i);
75 void GetValues(
double *contourValues);
76 void SetNumberOfContours(
int number);
77 int GetNumberOfContours();
78 void GenerateValues(
int numContours,
double range[2]);
79 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
83 unsigned long GetMTime();
90 vtkSetMacro(ComputeNormals,
int);
91 vtkGetMacro(ComputeNormals,
int);
92 vtkBooleanMacro(ComputeNormals,
int);
103 vtkSetMacro(ComputeGradients,
int);
104 vtkGetMacro(ComputeGradients,
int);
105 vtkBooleanMacro(ComputeGradients,
int);
110 vtkSetMacro(ComputeScalars,
int);
111 vtkGetMacro(ComputeScalars,
int);
112 vtkBooleanMacro(ComputeScalars,
int);
117 vtkSetMacro(UseScalarTree,
int);
118 vtkGetMacro(UseScalarTree,
int);
119 vtkBooleanMacro(UseScalarTree,
int);
125 void SetLocator(vtkIncrementalPointLocator *locator);
126 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
135 vtkSetMacro(GenerateTriangles,
int);
136 vtkGetMacro(GenerateTriangles,
int);
137 vtkBooleanMacro(GenerateTriangles,
int);
143 void CreateDefaultLocator();
149 void SetOutputPointsPrecision(
int precision);
150 int GetOutputPointsPrecision()
const;
157 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
158 virtual int FillInputPortInformation(
int port, vtkInformation *info);
230 rangeStart,
double rangeEnd)
231 {this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int OutputPointsPrecision
generate isosurfaces/isolines from scalar values (specialized for unstructured grids) ...
vtkContourValues * ContourValues
int GetNumberOfContours()
void SetValue(int i, double value)
vtkIncrementalPointLocator * Locator
void SetNumberOfContours(int number)
vtkScalarTree * ScalarTree
void GenerateValues(int numContours, double range[2])