Go to the documentation of this file.
32 #ifndef vtkImplicitSum_h
33 #define vtkImplicitSum_h
35 #include "vtkCommonDataModelModule.h"
100 vtkGetMacro(NormalizeByWeight,
int);
112 void CalculateTotalWeight(
void);
113 int NormalizeByWeight;
double EvaluateFunction(double x, double y, double z)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate gradient of the weighted sum of functions.
vtkMTimeType GetMTime() override
Override modified time retrieval because of object dependencies.
vtkTypeUInt64 vtkMTimeType
abstract interface for implicit functions
implicit sum of other implicit functions
a simple class to control print indentation
void SetFunctionWeight(vtkImplicitFunction *f, double weight)
Set the weight (coefficient) of the given function to be weight.
~vtkImplicitSum() override
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
double EvaluateFunction(double x[3]) override
Evaluate implicit function using current functions and weights.
dynamic, self-adjusting array of double
void AddFunction(vtkImplicitFunction *in)
Add another implicit function to the list of functions, weighting it by a factor of 1.
void RemoveAllFunctions()
Remove all functions from the list.
static vtkImplicitSum * New()
maintain a list of implicit functions