![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
implicit function consisting of boolean combinations of implicit functions, with invert option More...
#include <Libs/MRML/Core/vtkImplicitInvertableBoolean.h>
Public Types | |
typedef vtkImplicitBoolean | Superclass |
Public Member Functions | |
double | EvaluateFunction (double x[3]) override |
void | EvaluateGradient (double x[3], double g[3]) override |
virtual const char * | GetClassName () |
virtual bool | GetInvert () |
virtual void | InvertOff () |
virtual void | InvertOn () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetInvert (bool) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImplicitInvertableBoolean * | New () |
static vtkImplicitInvertableBoolean * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImplicitInvertableBoolean () | |
~vtkImplicitInvertableBoolean () override | |
Protected Attributes | |
bool | Invert { false } |
implicit function consisting of boolean combinations of implicit functions, with invert option
This class is a subclass of vtkImplicitBoolean that adds an option to invert the result of the boolean operation.
For clipping functions, it is necessary to be able to invert the result of implicit functions. That ability is supported with vtkImplicitSum, however vtkImplicitSum doesn't work for capping purposes, since we need to be able to retrieve the plane functions from the clipping functions, however the internal functions are not accessible in vtkImplicitSum. This class is a workaround for that issue.
In the future the changes in this class may be moved to vtkAddon or VTK, either by adding the invert option to vtkImplicitBoolean or by making the internal vtkImplicitFunctionCollection accessible in vtkImplicitSum.
Definition at line 42 of file vtkImplicitInvertableBoolean.h.
typedef vtkImplicitBoolean vtkImplicitInvertableBoolean::Superclass |
Definition at line 45 of file vtkImplicitInvertableBoolean.h.
|
protected |
|
overrideprotected |
|
override |
|
override |
Evaluate gradient of boolean combination.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
override |
|
static |
|
virtual |
Specify if the resulting function should be inverted
|
protected |
Definition at line 75 of file vtkImplicitInvertableBoolean.h.