36#ifndef vtkImageMarchingCubes_h
37#define vtkImageMarchingCubes_h
39#include "vtkFiltersGeneralModule.h"
67 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
231 int numContours,
double rangeStart,
double rangeEnd)
233 this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
object to represent cell connectivity
helper object to manage setting and generating contour values
dynamic, self-adjusting array of float
topologically and geometrically regular array of data
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
vtkTypeUInt32 vtkMTimeType