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