#include <vtkSphere.h>
Inheritance diagram for vtkSphere:
vtkSphere computes the implicit function and/or gradient for a sphere. vtkSphere is a concrete implementation of vtkImplicitFunction.
Definition at line 37 of file vtkSphere.h.
Public Types | |
typedef vtkImplicitFunction | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | EvaluateGradient (float x[3], float n[3]) |
float | EvaluateFunction (float x[3]) |
float | EvaluateFunction (float x, float y, float z) |
virtual void | SetRadius (float) |
virtual float | GetRadius () |
virtual void | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkSphere * | SafeDownCast (vtkObject *o) |
vtkSphere * | New () |
Protected Member Functions | |
vtkSphere () | |
~vtkSphere () | |
Protected Attributes | |
float | Radius |
float | Center [3] |
|
Reimplemented from vtkImplicitFunction. Definition at line 40 of file vtkSphere.h. |
|
|
|
Definition at line 70 of file vtkSphere.h. |
|
Reimplemented from vtkImplicitFunction.
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction.
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction.
|
|
Reimplemented from vtkImplicitFunction.
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkImplicitFunction.
|
|
Construct sphere with center at (0,0,0) and radius=0.5. Reimplemented from vtkObject.
|
|
Evaluate sphere equation ((x-x0)^2 + (y-y0)^2 + (z-z0)^2) - R^2. Implements vtkImplicitFunction.
|
|
Evaluate sphere equation ((x-x0)^2 + (y-y0)^2 + (z-z0)^2) - R^2. Reimplemented from vtkImplicitFunction. Definition at line 49 of file vtkSphere.h. References vtkImplicitFunction::EvaluateFunction(). |
|
Evaluate sphere gradient. Implements vtkImplicitFunction.
|
|
Set / get the radius of the sphere. |
|
Set / get the radius of the sphere. |
|
Set / get the center of the sphere. |
|
Set / get the center of the sphere. |
|
Set / get the center of the sphere. |
|
Set / get the center of the sphere. |
|
Definition at line 72 of file vtkSphere.h. |
|
Definition at line 73 of file vtkSphere.h. |