113#ifndef vtkContour3DLinearGrid_h
114#define vtkContour3DLinearGrid_h
118#include "vtkFiltersCoreModule.h"
123struct 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);
370 int numContours,
double rangeStart,
double rangeEnd)
fast generation of isosurface from 3D linear cells
vtkTypeBool ComputeNormals
int GetOutputPointsPrecision() const
Set/get the desired precision for the output types.
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
static vtkContour3DLinearGrid * New()
Standard methods for construction, type info, and printing.
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.
virtual void SetScalarTree(vtkScalarTree *)
Specify the scalar tree to use.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkTypeBool ComputeScalars
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
Standard methods for construction, type info, and printing.
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
double * GetValues()
Return a pointer to a list of 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.
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