41 #ifndef __vtkImageMarchingCubes_h
42 #define __vtkImageMarchingCubes_h
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);
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);
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)
dynamic, self-adjusting array of float
GLsizei const GLfloat * value
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
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
int GetNumberOfContours()
int NumberOfSlicesPerChunk
void GenerateValues(int numContours, double range[2])
void SetValue(int i, double value)
represent and manipulate 3D points