Go to the documentation of this file.
39 #ifndef vtkImageMarchingCubes_h
40 #define vtkImageMarchingCubes_h
42 #include "vtkFiltersGeneralModule.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);
156 int numContours,
double *values);
220 rangeStart,
double rangeEnd)
represent and manipulate 3D points
void March(vtkImageData *inData, int chunkMin, int chunkMax, int numContours, double *values)
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
void SetValue(int i, double value)
Methods to set contour values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
dynamic, self-adjusting array of float
generate isosurface(s) from volume/images
double * GetValues()
Get a pointer to an array of contour values.
int NumberOfSlicesPerChunk
vtkFloatArray * Gradients
vtkIdType * LocatorPointIds
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues & refer to vtkImplicitFunction.
vtkIdType GetLocatorPoint(int cellX, int cellY, int edge)
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkIdType InputMemoryLimit
static vtkImageMarchingCubes * New()
void InitializeLocator(int min0, int max0, int min1, int max1)
double GetValue(int i)
Get the ith contour value.
helper object to manage setting and generating contour values
topologically and geometrically regular array of data
a simple class to control print indentation
object to represent cell connectivity
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.
vtkContourValues * ContourValues
~vtkImageMarchingCubes() override
vtkTypeBool ComputeGradients
vtkTypeBool ComputeScalars
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkIdType * GetLocatorPointer(int cellX, int cellY, int edge)
void AddLocatorPoint(int cellX, int cellY, int edge, vtkIdType ptId)
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
vtkTypeBool ComputeNormals
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.