Documentation for vtkImplicitBoolean

vtkImplicitBoolean - implicit function consisting of boolean combinations of implicit functions

Super Class: vtkImplicitFunction

Description:

vtkImplicitBoolean is an implicit function consisting of boolean combinations of implicit functions. The class has a list of functions (FunctionList) that are combined according to a specified operator (VTK_UNION or VTK_INTERSECTION or VTK_DIFFERENCE). You can use nested combinations of vtkImplicitFunction's (and/or vtkImplicitBoolean) to create elaborate implicit functions. vtkImplicitBoolean is a concrete implementation of vtkImplicitFunction. The operators work as follows. The VTK_UNION operator takes the minimum value of all implicit functions. The VTK_INTERSECTION operator takes the maximum value of all implicit functions. The VTK_DIFFERENCE operator subtracts the 2nd through last implicit functions from the first. The VTK_UNION_OF_MAGNITUDES takes the minimum absolute value of the implicit functions.

 

Methods:

void vtkImplicitBoolean ()
void vtkImplicitBoolean ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkImplicitBoolean *New ()
float EvaluateFunction (float )
void EvaluateGradient (float ,float )
unsigned long GetMTime ()
void AddFunction (vtkImplicitFunction *)
void RemoveFunction (vtkImplicitFunction *)
vtkImplicitFunctionCollection *GetFunction ()
void SetOperationType (int )
int GetOperationType ()
void SetOperationTypeToUnion ()
void SetOperationTypeToIntersection ()
void SetOperationTypeToDifference ()
void SetOperationTypeToUnionOfMagnitudes ()
char *GetOperationTypeAsString ()
void AddFunction (vtkImplicitFunction &)
void RemoveFunction (vtkImplicitFunction &)

 

Detailed Method Descriptions:

Default boolean method is union.

static vtkImplicitBoolean *New ()

Evaluate boolean combinations of implicit function using current operator.

float EvaluateFunction (float )

Evaluate gradient of boolean combination.

void EvaluateGradient (float ,float )

Override modified time retrieval because of object dependencies.

unsigned long GetMTime ()

Add another implicit function to the list of functions.

void AddFunction (vtkImplicitFunction *)

Remove a function from the list of implicit functions to boolean.

void RemoveFunction (vtkImplicitFunction *)

Return the collection of implicit functions.

vtkImplicitFunctionCollection *GetFunction ()

Specify the type of boolean operation.

void SetOperationType (int )
int GetOperationType ()
void SetOperationTypeToUnion ()
void SetOperationTypeToIntersection ()
void SetOperationTypeToDifference ()
void SetOperationTypeToUnionOfMagnitudes ()
char *GetOperationTypeAsString ()

For legacy compatibility. Do not use.

void AddFunction (vtkImplicitFunction &)