113 #ifndef vtkContour3DLinearGrid_h 114 #define vtkContour3DLinearGrid_h 118 #include "vtkFiltersCoreModule.h" 123 struct vtkScalarTreeMap;
141 void SetValue(
int i,
double value);
142 double GetValue(
int i);
144 void GetValues(
double* contourValues);
145 void SetNumberOfContours(
int number);
147 void GenerateValues(
int numContours,
double range[2]);
148 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
169 vtkBooleanMacro(InterpolateAttributes,
vtkTypeBool);
189 void SetOutputPointsPrecision(
int precision);
190 int GetOutputPointsPrecision()
const;
230 vtkBooleanMacro(SequentialProcessing,
vtkTypeBool);
255 static bool CanFullyProcessDataObject(
vtkDataObject*
object,
const char* scalarArrayName);
295 this->ContourValues->SetValue(i, value);
303 return this->ContourValues->GetValue(i);
312 return this->ContourValues->GetValues();
322 this->ContourValues->GetValues(contourValues);
332 this->ContourValues->SetNumberOfContours(number);
340 return this->ContourValues->GetNumberOfContours();
349 this->ContourValues->GenerateValues(numContours, range);
357 int numContours,
double rangeStart,
double rangeEnd)
359 this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkTypeBool UseScalarTree
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
static vtkDataObjectAlgorithm * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
struct vtkScalarTreeMap * ScalarTreeMap
fast generation of isosurface from 3D linear cells
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
a simple class to control print indentation
int OutputPointsPrecision
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
void SetValue(int i, double value)
Methods to set / get contour values.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
organize data according to scalar values (used to accelerate contouring operations) ...
vtkScalarTree * ScalarTree
Superclass for algorithms that produce only data object as output.
double GetValue(int i)
Get the ith contour value.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
bool GetLargeIds()
Inform the user as to whether large ids were used during filter execution.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double * GetValues()
Get a pointer to an array of contour values.
vtkContourValues * ContourValues
general representation of visualization data
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.