165#ifndef vtkFlyingEdges3D_h
166#define vtkFlyingEdges3D_h
169#include "vtkFiltersCoreModule.h"
237 void SetValue(
int i,
double value) { this->ContourValues->SetValue(i, value); }
242 double GetValue(
int i) {
return this->ContourValues->GetValue(i); }
248 double*
GetValues() {
return this->ContourValues->GetValues(); }
255 void GetValues(
double* contourValues) { this->ContourValues->GetValues(contourValues); }
275 this->ContourValues->GenerateValues(numContours, range);
284 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
291 vtkSetMacro(ArrayComponent,
int);
292 vtkGetMacro(ArrayComponent,
int);
helper object to manage setting and generating contour values
generate isosurface from 3D image data (volume)
double * GetValues()
Get a pointer to an array of contour values.
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkFlyingEdges3D() override
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
static vtkFlyingEdges3D * New()
vtkTypeBool InterpolateAttributes
void SetValue(int i, double value)
Set a particular contour value at contour number i.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkTypeBool ComputeNormals
vtkTypeBool ComputeScalars
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool ComputeGradients
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkContourValues * ContourValues
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
vtkTypeUInt32 vtkMTimeType