NAME
vtkImplicitDataSet - treat a dataset as if it were an implicit function
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkImplicitDataSet.h"
class VTK_EXPORT vtkImplicitDataSet : public vtkImplicitFunction
vtkImplicitDataSet();
~vtkImplicitDataSet();
static vtkImplicitDataSet *New() {return new vtkImplicitDataSet;};
const char *GetClassName() {return "vtkImplicitDataSet";};
void PrintSelf(ostream& os, vtkIndent indent);
unsigned long int GetMTime();
float EvaluateFunction(float x[3]);
void EvaluateGradient(float x[3], float n[3]);
void SetDataSet(vtkDataSet*);
void SetDataSet(vtkDataSet& );
vtkDataSet *GetDataSet();
void SetOutValue(float);
float GetOutValue();
void SetOutGradient(float, float, float);
void SetOutGradient(float *);
void SetOutGradient(float, float, float);
void SetOutGradient(float *);
DESCRIPTION
vtkImplicitDataSet treats any type of dataset as if it were an implicit function. This means it computes a function value and gradient. vtkImplicitDataSet is a concrete implementation of vtkImplicitFunction.
vtkImplicitDataSet computes the function (at the point x) by performing cell interpolation. That is, it finds the cell containing x, and then uses the cell's interpolation functions to compute an interpolated scalar value at x. (A similar approach is used to find the gradient, if requested.) Points outside of the dataset are assigned the value of the ivar OutValue, and the gradient value OutGradient.
CAVEATS
Any type of dataset can be used as an implicit function as long as it has scalar data associated with it.
SEE ALSO
vtkImplicitFunction vtkImplicitVolume vtkClipPolyData vtkCutter vtkImplicitWindowFunction
SUMMARY
void SetDataSet(vtkDataSet*)
void SetDataSet(vtkDataSet& )
Specify the dataset used for the implicit function evaluation.
void SetOutValue(float)
Set the function value to use for points outside of the dataset.
void SetOutGradient(float, float, float)
void SetOutGradient(float *)
Set the function gradient to use for points outside of the dataset.