104#ifndef vtkContour3DLinearGrid_h
105#define vtkContour3DLinearGrid_h
109#include "vtkFiltersCoreModule.h"
111VTK_ABI_NAMESPACE_BEGIN
115struct vtkScalarTreeMap;
133 void SetValue(
int i,
double value);
134 double GetValue(
int i);
136 void GetValues(
double* contourValues);
137 void SetNumberOfContours(
int number);
139 void GenerateValues(
int numContours,
double range[2]);
140 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
193 vtkSetMacro(OutputPointsPrecision,
int);
194 vtkGetMacro(OutputPointsPrecision,
int);
362 int numContours,
double rangeStart,
double rangeEnd)
fast generation of isosurface from 3D linear cells
vtkTypeBool ComputeNormals
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
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 SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
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