38 #ifndef vtkImageMarchingCubes_h
39 #define vtkImageMarchingCubes_h
60 void SetValue(
int i,
double value);
61 double GetValue(
int i);
63 void GetValues(
double *contourValues);
64 void SetNumberOfContours(
int number);
65 int GetNumberOfContours();
66 void GenerateValues(
int numContours,
double range[2]);
67 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
76 vtkSetMacro(ComputeScalars,
int);
77 vtkGetMacro(ComputeScalars,
int);
78 vtkBooleanMacro(ComputeScalars,
int);
86 vtkSetMacro(ComputeNormals,
int);
87 vtkGetMacro(ComputeNormals,
int);
88 vtkBooleanMacro(ComputeNormals,
int);
98 vtkSetMacro(ComputeGradients,
int);
99 vtkGetMacro(ComputeGradients,
int);
100 vtkBooleanMacro(ComputeGradients,
int);
115 vtkIdType GetLocatorPoint(
int cellX,
int cellY,
int edge);
116 void AddLocatorPoint(
int cellX,
int cellY,
int edge,
vtkIdType ptId);
117 void IncrementLocatorZ();
123 vtkSetMacro(InputMemoryLimit,
vtkIdType);
124 vtkGetMacro(InputMemoryLimit,
vtkIdType);
145 void March(
vtkImageData *inData,
int chunkMin,
int chunkMax,
146 int numContours,
double *values);
147 void InitializeLocator(
int min0,
int max0,
int min1,
int max1);
148 void DeleteLocator();
149 vtkIdType *GetLocatorPointer(
int cellX,
int cellY,
int edge);
209 rangeStart,
double rangeEnd)
vtkIdType * LocatorPointIds
helper object to manage setting and generating contour values
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetNumberOfContours(int number)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIdType InputMemoryLimit
void SetNumberOfContours(const int number)
dynamic, self-adjusting array of float
void GenerateValues(int numContours, double range[2])
generate isosurface(s) from volume/images
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
topologically and geometrically regular array of data
#define VTKFILTERSGENERAL_EXPORT
int GetNumberOfContours()
vtkFloatArray * Gradients
void SetValue(int i, double value)
vtkContourValues * ContourValues
object to represent cell connectivity
int GetNumberOfContours()
int NumberOfSlicesPerChunk
void GenerateValues(int numContours, double range[2])
void SetValue(int i, double value)
represent and manipulate 3D points