 |
VTK
9.0.1
|
Go to the documentation of this file.
28 #include "vtkCommonDataModelModule.h"
59 vtkSetMacro(Radius,
double);
60 vtkGetMacro(Radius,
double);
67 vtkSetVector3Macro(Center,
double);
68 vtkGetVectorMacro(Center,
double, 3);
89 static void ComputeBoundingSphere(
91 static void ComputeBoundingSphere(
104 static void ComputeBoundingSphere(
106 static void ComputeBoundingSphere(
119 void operator=(
const vtkSphere&) =
delete;
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
implicit function for a sphere
abstract interface for implicit functions
a simple class to control print indentation
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
static double Evaluate(double center[3], double R, double x[3])
Quick evaluation of the sphere equation ((x-x0)^2 + (y-y0)^2 + (z-z0)^2) - R^2.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.