90 #ifndef vtkContour3DLinearGrid_h 91 #define vtkContour3DLinearGrid_h 93 #include "vtkFiltersCoreModule.h" 116 void SetValue(
int i,
double value);
117 double GetValue(
int i);
119 void GetValues(
double *contourValues);
120 void SetNumberOfContours(
int number);
121 int GetNumberOfContours();
122 void GenerateValues(
int numContours,
double range[2]);
123 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
144 vtkBooleanMacro(InterpolateAttributes,
vtkTypeBool);
164 void SetOutputPointsPrecision(
int precision);
165 int GetOutputPointsPrecision()
const;
185 vtkBooleanMacro(SequentialProcessing,vtkTypeBool);
192 int GetNumberOfThreadsUsed()
193 {
return this->NumberOfThreadsUsed;}
204 {
return this->LargeIds;}
234 {this->ContourValues->SetValue(i,value);}
240 {
return this->ContourValues->GetValue(i);}
247 {
return this->ContourValues->GetValues();}
255 {this->ContourValues->GetValues(contourValues);}
263 {this->ContourValues->SetNumberOfContours(number);}
269 {
return this->ContourValues->GetNumberOfContours();}
276 {this->ContourValues->GenerateValues(numContours, range);}
283 rangeStart,
double rangeEnd)
284 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
vtkTypeBool SequentialProcessing
helper object to manage setting and generating contour values
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
vtkTypeBool InterpolateAttributes
vtkTypeBool ComputeNormals
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int GetNumberOfContours()
Get the number of contours in the list of contour values.
static vtkPolyDataAlgorithm * New()
fast generation of isosurface from 3D linear cells
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
int OutputPointsPrecision
dataset represents arbitrary combinations of all possible cell types
void SetValue(int i, double value)
Methods to set / get contour values.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double GetValue(int i)
Get the ith contour value.
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.
bool GetLargeIds()
Inform the user as to whether large ids were used during filter execution.
double * GetValues()
Get a pointer to an array of contour values.
vtkContourValues * ContourValues
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.