vtk
Class vtkQuadric
java.lang.Object
vtk.vtkObjectBase
vtk.vtkObject
vtk.vtkImplicitFunction
vtk.vtkQuadric
- All Implemented Interfaces:
- java.io.Serializable
- public class vtkQuadric
- extends vtkImplicitFunction
- implements java.io.Serializable
vtkQuadric - evaluate implicit quadric function.
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.
JavaBean wrapper for vtkQuadric object.
- Author:
- vtk2jbean Automatic JavaBean wrapper for VTK.
- See Also:
- Serialized Form
Field Summary |
protected java.beans.PropertyChangeSupport |
changes
|
Method Summary |
double |
evaluateFunction(double[] id0)
Evaluate function at position x-y-z and return value. |
double |
evaluateFunction(double id0,
double id1,
double id2)
Evaluate function at position x-y-z and return value. |
void |
evaluateGradient(double[] id0,
double[] id1)
Evaluate function gradient at position x-y-z and pass back vector.
|
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getCoefficients()
|
vtkQuadric |
getThisQuadric()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of)
the named class. |
void |
setCoefficients(double[] id0)
|
void |
setCoefficients(double id0,
double id1,
double id2,
double id3,
double id4,
double id5,
double id6,
double id7,
double id8,
double id9)
|
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changes
protected java.beans.PropertyChangeSupport changes
vtkQuadric
public vtkQuadric()
vtkQuadric
protected vtkQuadric(int dmy)
getThisQuadric
public vtkQuadric getThisQuadric()
getClassName
public java.lang.String getClassName()
- Description copied from class:
vtkObjectBase
- Return the class name as a string. This method is defined
in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found
in vtkSetGet.h.
- Overrides:
getClassName
in class vtkImplicitFunction
isA
public int isA(java.lang.String id0)
- Description copied from class:
vtkObjectBase
- 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.
- Overrides:
isA
in class vtkImplicitFunction
evaluateFunction
public double evaluateFunction(double[] id0)
- Description copied from class:
vtkImplicitFunction
- Evaluate function at position x-y-z and return value. You should
generally not call this method directly, you should use
FunctionValue() instead. This method must be implemented by
any derived class.
- Overrides:
evaluateFunction
in class vtkImplicitFunction
evaluateFunction
public double evaluateFunction(double id0,
double id1,
double id2)
- Description copied from class:
vtkImplicitFunction
- Evaluate function at position x-y-z and return value. You should
generally not call this method directly, you should use
FunctionValue() instead. This method must be implemented by
any derived class.
- Overrides:
evaluateFunction
in class vtkImplicitFunction
evaluateGradient
public void evaluateGradient(double[] id0,
double[] id1)
- Description copied from class:
vtkImplicitFunction
- Evaluate function gradient at position x-y-z and pass back vector.
You should generally not call this method directly, you should use
FunctionGradient() instead. This method must be implemented by
any derived class.
- Overrides:
evaluateGradient
in class vtkImplicitFunction
setCoefficients
public void setCoefficients(double[] id0)
setCoefficients
public void setCoefficients(double id0,
double id1,
double id2,
double id3,
double id4,
double id5,
double id6,
double id7,
double id8,
double id9)
getCoefficients
public double[] getCoefficients()
VTKInit
public void VTKInit()
- Overrides:
VTKInit
in class vtkObject
VTKCastInit
protected void VTKCastInit()
- Overrides:
VTKCastInit
in class vtkImplicitFunction
Copyright © 2004 Sydney ViSLAB. All Rights Reserved.