27 #ifndef vtkImageMarchingCubes_h
28 #define vtkImageMarchingCubes_h
30 #include "vtkFiltersGeneralModule.h"
35 VTK_ABI_NAMESPACE_BEGIN
52 void SetValue(
int i,
double value);
53 double GetValue(
int i);
55 void GetValues(
double* contourValues);
56 void SetNumberOfContours(
int number);
58 void GenerateValues(
int numContours,
double range[2]);
59 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
112 vtkIdType GetLocatorPoint(
int cellX,
int cellY,
int edge);
113 void AddLocatorPoint(
int cellX,
int cellY,
int edge,
vtkIdType ptId);
114 void IncrementLocatorZ();
122 vtkSetMacro(InputMemoryLimit,
vtkIdType);
123 vtkGetMacro(InputMemoryLimit,
vtkIdType);
145 void March(
vtkImageData* inData,
int chunkMin,
int chunkMax,
int numContours,
double* values);
146 void InitializeLocator(
int min0,
int max0,
int min1,
int max1);
147 void DeleteLocator();
148 vtkIdType* GetLocatorPointer(
int cellX,
int cellY,
int edge);
223 int numContours,
double rangeStart,
double rangeEnd)
228 VTK_ABI_NAMESPACE_END
vtkIdType * LocatorPointIds
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
double * GetValues()
Get a pointer to an array of contour values.
helper object to manage setting and generating contour values
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIdType InputMemoryLimit
dynamic, self-adjusting array of float
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
generate isosurface(s) from volume/images
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
double * GetValues()
Return a pointer to a list of contour values.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkTypeBool ComputeGradients
vtkFloatArray * Gradients
vtkTypeBool ComputeNormals
void SetValue(int i, double value)
Methods to set contour values.
vtkContourValues * ContourValues
object to represent cell connectivity
vtkTypeBool ComputeScalars
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int GetNumberOfContours()
Return the number of contours in the.
int NumberOfSlicesPerChunk
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
double GetValue(int i)
Get the ith contour value.
void SetValue(int i, double value)
Set the ith contour value.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.