#include <vtkQuadric.h>
Inheritance diagram for vtkQuadric:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
float | EvaluateFunction (float x[3]) |
float | EvaluateFunction (float x, float y, float z) |
void | EvaluateGradient (float x[3], float g[3]) |
void | SetCoefficients (float a[10]) |
void | SetCoefficients (float a0, float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8, float a9) |
virtual float * | GetCoefficients () |
virtual void | GetCoefficients (float data[10]) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkQuadric * | SafeDownCast (vtkObject *o) |
vtkQuadric * | New () |
Protected Methods | |
vtkQuadric () | |
~vtkQuadric () | |
vtkQuadric (const vtkQuadric &) | |
void | operator= (const vtkQuadric &) |
Protected Attributes | |
float | Coefficients [10] |
vtkQuadric evaluates the quadric function F(x,y,z) = a0*x^2 + a1*y^2 + a2*z^2 + a3*x*y + a4*y*z + a5*x*z + a6*x + a7*y + a8*z + a9. vtkQuadric is a concrete implementation of vtkImplicitFunction.
|
Evaluate quadric equation. Implements vtkImplicitFunction. |
|
Evaluate the gradient to the quadric equation. Implements vtkImplicitFunction. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction. |
|
Construct quadric with all coefficients = 1. Reimplemented from vtkObject. |
|
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. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction. |
|
Set / get the 10 coefficients of the quadric equation. |