NAME
vtkImplicitWindowFunction - implicit function maps another implicit function to lie within a specified range
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkImplicitWindowFunction.h"
class VTK_EXPORT vtkImplicitWindowFunction : public vtkImplicitFunction
vtkImplicitWindowFunction();
~vtkImplicitWindowFunction();
static vtkImplicitWindowFunction *New() {return new vtkImplicitWindowFunction;};
const char *GetClassName() {return "vtkImplicitWindowFunction";};
void PrintSelf(ostream& os, vtkIndent indent);
float EvaluateFunction(float x[3]);
void EvaluateGradient(float x[3], float n[3]);
void SetImplicitFunction(vtkImplicitFunction*);
void SetImplicitFunction(vtkImplicitFunction& );
vtkImplicitFunction *GetImplicitFunction();
void SetWindowRange(float, float);
void SetWindowRange(float *);
float *GetWindowRange();
void GetWindowRange(float data[2]);
void SetWindowValues(float, float);
void SetWindowValues(float *);
float *GetWindowValues();
void GetWindowValues(float data[2]);
unsigned long int GetMTime();
DESCRIPTION
vtkImplicitWindowFunction is used to modify the output of another implicit function to lie within a specified "window", or function range. This can be used to add "thickness" to cutting or clipping functions.
This class works as follows. First, it evaluates the function value of the user-specified implicit function. Then, based on the window range specified, it maps the function value into the window values specified.
SUMMARY
void SetImplicitFunction(vtkImplicitFunction*)
void SetImplicitFunction(vtkImplicitFunction& )
Specify an implicit function to operate on.
void SetWindowRange(float, float)
void SetWindowRange(float *)
Specify the range of function values which are considered to lie within the window. WindowRange[0] is assumed to be less than WindowRange[1].
void SetWindowValues(float, float)
void SetWindowValues(float *)
Specify the range of output values that the window range is mapped into. This is effectively a scaling and shifting of the original function values.
vtkImplicitWindowFunction()
Construct object with window range (0,1) and window values (0,1).