86 #ifndef vtkContour3DLinearGrid_h
87 #define vtkContour3DLinearGrid_h
92 #include "vtkFiltersCoreModule.h"
95 VTK_ABI_NAMESPACE_BEGIN
99 struct vtkScalarTreeMap;
117 void SetValue(
int i,
double value);
118 double GetValue(
int i);
120 void GetValues(
double* contourValues);
121 void SetNumberOfContours(
int number);
123 void GenerateValues(
int numContours,
double range[2]);
124 void GenerateValues(
int numContours,
double rangeStart,
double rangeEnd);
136 vtkGetMacro(MergePoints, vtkTypeBool);
138 virtual
void SetMergePointsOn();
140 virtual
void SetMergePointsOff();
148 vtkSetMacro(InterpolateAttributes, vtkTypeBool);
149 vtkGetMacro(InterpolateAttributes, vtkTypeBool);
150 vtkBooleanMacro(InterpolateAttributes, vtkTypeBool);
159 vtkSetMacro(ComputeNormals, vtkTypeBool);
160 vtkGetMacro(ComputeNormals, vtkTypeBool);
161 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
171 vtkSetMacro(ComputeScalars, vtkTypeBool);
172 vtkGetMacro(ComputeScalars, vtkTypeBool);
173 vtkBooleanMacro(ComputeScalars, vtkTypeBool);
182 vtkSetMacro(OutputPointsPrecision,
int);
183 vtkGetMacro(OutputPointsPrecision,
int);
198 vtkSetMacro(UseScalarTree, vtkTypeBool);
199 vtkGetMacro(UseScalarTree, vtkTypeBool);
200 vtkBooleanMacro(UseScalarTree, vtkTypeBool);
209 vtkGetObjectMacro(ScalarTree, vtkScalarTree);
221 vtkSetMacro(SequentialProcessing, vtkTypeBool);
222 vtkGetMacro(SequentialProcessing, vtkTypeBool);
223 vtkBooleanMacro(SequentialProcessing, vtkTypeBool);
233 vtkSetMacro(GenerateTriangles, vtkTypeBool);
234 vtkGetMacro(GenerateTriangles, vtkTypeBool);
235 vtkBooleanMacro(GenerateTriangles, vtkTypeBool);
242 int GetNumberOfThreadsUsed() {
return this->NumberOfThreadsUsed; }
260 static bool CanFullyProcessDataObject(
vtkDataObject*
object,
const char* scalarArrayName);
364 int numContours,
double rangeStart,
double rangeEnd)
369 VTK_ABI_NAMESPACE_END
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()
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
concrete dataset represents vertices, lines, polygons, and triangle strips
double GetValue(int i)
Get the ith contour value.
vtkTypeBool GenerateTriangles
struct vtkScalarTreeMap * ScalarTreeMap
fast generation of isosurface from 3D linear cells
double * GetValues()
Return a pointer to a list of contour values.
a simple class to control print indentation
int OutputPointsPrecision
dataset represents arbitrary combinations of all possible cell types
vtkTypeBool ComputeScalars
abstract superclass for arrays of numeric data
void SetValue(int i, double value)
Methods to set / get contour values.
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.
int GetNumberOfContours()
Return the number of contours in the.
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.
#define VTK_DEPRECATED_IN_9_7_0(reason)
void SetValue(int i, double value)
Set the ith contour value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNumberOfContours(int number)
Set the number of contours to place into the list.