|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   36 #ifndef vtkImageMarchingCubes_h 
   37 #define vtkImageMarchingCubes_h 
   39 #include "vtkFiltersGeneralModule.h"  
   60   void SetValue(
int i, 
double value);
 
   61   double GetValue(
int i);
 
   63   void GetValues(
double* contourValues);
 
   64   void SetNumberOfContours(
int number);
 
   66   void GenerateValues(
int numContours, 
double range[2]);
 
   67   void GenerateValues(
int numContours, 
double rangeStart, 
double rangeEnd);
 
  120   vtkIdType GetLocatorPoint(
int cellX, 
int cellY, 
int edge);
 
  121   void AddLocatorPoint(
int cellX, 
int cellY, 
int edge, 
vtkIdType ptId);
 
  122   void IncrementLocatorZ();
 
  130   vtkSetMacro(InputMemoryLimit, 
vtkIdType);
 
  131   vtkGetMacro(InputMemoryLimit, 
vtkIdType);
 
  153   void March(
vtkImageData* inData, 
int chunkMin, 
int chunkMax, 
int numContours, 
double* values);
 
  154   void InitializeLocator(
int min0, 
int max0, 
int min1, 
int max1);
 
  155   void DeleteLocator();
 
  156   vtkIdType* GetLocatorPointer(
int cellX, 
int cellY, 
int edge);
 
  231   int numContours, 
double rangeStart, 
double rangeEnd)
 
  
represent and manipulate 3D points
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.
dynamic, self-adjusting array of float
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
generate isosurface(s) from volume/images
double * GetValues()
Get a pointer to an array of contour values.
int NumberOfSlicesPerChunk
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkFloatArray * Gradients
vtkIdType * LocatorPointIds
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkIdType InputMemoryLimit
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkContourValues * ContourValues
vtkTypeBool ComputeGradients
vtkTypeBool ComputeScalars
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
vtkTypeBool ComputeNormals
static vtkPolyDataAlgorithm * New()
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.