 |
VTK
9.0.20210417
|
Go to the documentation of this file.
47 #ifndef vtkMarchingCubes_h
48 #define vtkMarchingCubes_h
50 #include "vtkFiltersCoreModule.h"
65 void SetValue(
int i,
double value);
66 double GetValue(
int i);
68 void GetValues(
double* contourValues);
69 void SetNumberOfContours(
int number);
71 void GenerateValues(
int numContours,
double range[2]);
72 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
vtkTypeBool ComputeGradients
generate isosurface(s) from volume
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double * GetValues()
Return a pointer to a list of contour values.
int GetNumberOfContours()
Return the number of contours in the.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double GetValue(int i)
Get the ith contour value.
static vtkMarchingCubes * New()
vtkContourValues * ContourValues
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
vtkIncrementalPointLocator * Locator
void SetValue(int i, double value)
Set a particular contour value at contour number i.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkTypeBool ComputeNormals
void CreateDefaultLocator()
Create default locator.
helper object to manage setting and generating contour values
a simple class to control print indentation
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.
Abstract class in support of both point location and point insertion.
void SetValue(int i, double value)
Set the ith contour value.
~vtkMarchingCubes() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double * GetValues()
Get a pointer to an array of contour values.
vtkTypeBool ComputeScalars
vtkMTimeType GetMTime() override
Return this object's modified time.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
void SetLocator(vtkIncrementalPointLocator *locator)
override the default locator.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.