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);
115 vtkIdType GetLocatorPoint(
int cellX,
int cellY,
int edge);
116 void AddLocatorPoint(
int cellX,
int cellY,
int edge,
vtkIdType ptId);
117 void IncrementLocatorZ();
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)
#define vtkGetMacro(name, type)
dynamic, self-adjusting array of float
GLsizei const GLfloat * value
void GenerateValues(int numContours, double range[2])
generate isosurface(s) from volume/images
#define vtkTypeMacro(thisClass, superclass)
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
GLboolean GLenum GLenum GLvoid * values
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
#define vtkBooleanMacro(name, type)
int GetNumberOfContours()
int NumberOfSlicesPerChunk
void GenerateValues(int numContours, double range[2])
void SetValue(int i, double value)
represent and manipulate 3D points
#define vtkSetMacro(name, type)