38 #ifndef __vtkMarchingCubes_h
39 #define __vtkMarchingCubes_h
41 #include "vtkFiltersCoreModule.h"
42 #include "vtkPolyDataAlgorithm.h"
44 #include "vtkContourValues.h"
46 class vtkIncrementalPointLocator;
53 void PrintSelf(ostream& os, vtkIndent indent);
56 void SetValue(
int i,
double value);
57 double GetValue(
int i);
59 void GetValues(
double *contourValues);
60 void SetNumberOfContours(
int number);
61 int GetNumberOfContours();
62 void GenerateValues(
int numContours,
double range[2]);
63 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
66 unsigned long int GetMTime();
73 vtkSetMacro(ComputeNormals,
int);
74 vtkGetMacro(ComputeNormals,
int);
75 vtkBooleanMacro(ComputeNormals,
int);
85 vtkSetMacro(ComputeGradients,
int);
86 vtkGetMacro(ComputeGradients,
int);
87 vtkBooleanMacro(ComputeGradients,
int);
92 vtkSetMacro(ComputeScalars,
int);
93 vtkGetMacro(ComputeScalars,
int);
94 vtkBooleanMacro(ComputeScalars,
int);
100 void SetLocator(vtkIncrementalPointLocator *locator);
101 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
106 void CreateDefaultLocator();
112 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
113 virtual int FillInputPortInformation(
int port, vtkInformation *info);
178 rangeStart,
double rangeEnd)
179 {this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
int GetNumberOfContours()
void SetValue(int i, double value)
vtkIncrementalPointLocator * Locator
generate isosurface(s) from volume
void SetNumberOfContours(int number)
void GenerateValues(int numContours, double range[2])
vtkContourValues * ContourValues