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);
357 int numContours,
double rangeStart,
double rangeEnd)
fast generation of isosurface from 3D linear cells
vtkTypeBool ComputeNormals
int GetOutputPointsPrecision() const
vtkTypeBool UseScalarTree
static bool CanFullyProcessDataObject(vtkDataObject *object, const char *scalarArrayName)
Returns true if the data object passed in is fully supported by this filter, i.e.,...
bool GetLargeIds()
Inform the user as to whether large ids were used during filter execution.
vtkTypeBool InterpolateAttributes
vtkMTimeType GetMTime() override
Overloaded GetMTime() because of delegation to the internal vtkContourValues class.
int OutputPointsPrecision
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output types.
double * GetValues()
Get a pointer to an array of contour values.
static vtkContour3DLinearGrid * New()
Standard methods for construction, type info, and printing.
virtual void SetScalarTree(vtkScalarTree *)
Specify the scalar tree to use.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void ProcessPiece(vtkUnstructuredGrid *input, vtkDataArray *inScalars, vtkPolyData *output)
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.
vtkIdType GetNumberOfContours()
Get the number of contours in the list of contour values.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void SetValue(int i, double value)
Methods to set / get contour values.
struct vtkScalarTreeMap * ScalarTreeMap
~vtkContour3DLinearGrid() override
vtkScalarTree * ScalarTree
vtkContourValues * ContourValues
double GetValue(int i)
Get the ith contour value.
vtkTypeBool SequentialProcessing
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
helper object to manage setting and generating contour values
int GetNumberOfContours()
Return the number of contours in the.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void SetNumberOfContours(const int number)
Set the number of contours to place into the list.
void SetValue(int i, double value)
Set the ith contour value.
double GetValue(int i)
Get the ith contour value.
double * GetValues()
Return a pointer to a list of contour values.
abstract superclass for arrays of numeric data
Superclass for algorithms that produce only data object as output.
general representation of visualization data
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips
organize data according to scalar values (used to accelerate contouring operations)
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType