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