41 #ifndef __vtkImageMarchingCubes_h
42 #define __vtkImageMarchingCubes_h
44 #include "vtkFiltersGeneralModule.h"
59 void PrintSelf(ostream& os, vtkIndent indent);
63 void SetValue(
int i,
double value);
64 double GetValue(
int i);
66 void GetValues(
double *contourValues);
67 void SetNumberOfContours(
int number);
68 int GetNumberOfContours();
69 void GenerateValues(
int numContours,
double range[2]);
70 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
75 unsigned long int GetMTime();
79 vtkSetMacro(ComputeScalars,
int);
80 vtkGetMacro(ComputeScalars,
int);
81 vtkBooleanMacro(ComputeScalars,
int);
89 vtkSetMacro(ComputeNormals,
int);
90 vtkGetMacro(ComputeNormals,
int);
91 vtkBooleanMacro(ComputeNormals,
int);
101 vtkSetMacro(ComputeGradients,
int);
102 vtkGetMacro(ComputeGradients,
int);
103 vtkBooleanMacro(ComputeGradients,
int);
118 vtkIdType GetLocatorPoint(
int cellX,
int cellY,
int edge);
119 void AddLocatorPoint(
int cellX,
int cellY,
int edge, vtkIdType ptId);
120 void IncrementLocatorZ();
126 vtkSetMacro(InputMemoryLimit, vtkIdType);
127 vtkGetMacro(InputMemoryLimit, vtkIdType);
145 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
148 void March(vtkImageData *inData,
int chunkMin,
int chunkMax,
149 int numContours,
double *values);
150 void InitializeLocator(
int min0,
int max0,
int min1,
int max1);
151 void DeleteLocator();
152 vtkIdType *GetLocatorPointer(
int cellX,
int cellY,
int edge);
212 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)
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.
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)