30 #ifndef __vtkvmtkPolyBall_h 31 #define __vtkvmtkPolyBall_h 33 #include "vtkImplicitFunction.h" 34 #include "vtkPolyData.h" 36 #include "vtkvmtkWin32Header.h" 38 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT
vtkvmtkPolyBall :
public vtkImplicitFunction
42 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48 double EvaluateFunction(
double x[3]) VTK_OVERRIDE;
50 {
return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
54 void EvaluateGradient(
double x[3],
double n[3]) VTK_OVERRIDE;
58 vtkSetObjectMacro(Input,vtkPolyData);
59 vtkGetObjectMacro(Input,vtkPolyData);
66 vtkSetStringMacro(PolyBallRadiusArrayName);
67 vtkGetStringMacro(PolyBallRadiusArrayName);
72 vtkGetMacro(LastPolyBallCenterId,vtkIdType);
char * PolyBallRadiusArrayName
vtkPolyData * GetInputData()
void SetInputData(vtkPolyData *input)
double EvaluateFunction(double x, double y, double z) VTK_OVERRIDE
vtkIdType LastPolyBallCenterId
An instance of vtkImplicitFunction which evaluates the minimum sphere function from a collection of p...