113#ifndef vtkContour3DLinearGrid_h
114#define vtkContour3DLinearGrid_h
118#include "vtkFiltersCoreModule.h"
123struct vtkScalarTreeMap;
148 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
370 int numContours,
double rangeStart,
double rangeEnd)
372 this->
ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);
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
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