vtk
Class vtkBox

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkImplicitFunction
              extended byvtk.vtkBox
All Implemented Interfaces:
java.io.Serializable

public class vtkBox
extends vtkImplicitFunction
implements java.io.Serializable

vtkBox - implicit function for a bounding box. vtkBox computes the implicit function and/or gradient for a axis-aligned bounding box. (The superclasses transform can be used to modify this orientation.) Each side of the box is orthogonal to all other sides meeting along shared edges and all faces are orthogonal to the x-y-z coordinate axes. (If you wish to orient this box differently, recall that the superclass vtkImplicitFunction supports a transformation matrix.) vtkCube is a concrete implementation of vtkImplicitFunction. JavaBean wrapper for vtkBox object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkCubeSource, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkBox()
           
protected vtkBox(int dmy)
           
 
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.
 void getBounds(double[] id0)
          Set / get the bounding box using various methods.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkBox getThisBox()
           
 double[] getXMax()
          Set / get the bounding box using various methods.
 double[] getXMin()
          Set / get the bounding box using various methods.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setBounds(double[] id0)
          Set / get the bounding box using various methods.
 void setBounds(double id0, double id1, double id2, double id3, double id4, double id5)
          Set / get the bounding box using various methods.
 void setXMax(double[] id0)
          Set / get the bounding box using various methods.
 void setXMax(double id0, double id1, double id2)
          Set / get the bounding box using various methods.
 void setXMin(double[] id0)
          Set / get the bounding box using various methods.
 void setXMin(double id0, double id1, double id2)
          Set / get the bounding box using various methods.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImplicitFunction
functionGradient, functionGradient, functionGradient, functionValue, functionValue, getMTime, getThisImplicitFunction, getTransform, setTransform
 
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 vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkBox

public vtkBox()

vtkBox

protected vtkBox(int dmy)
Method Detail

getThisBox

public vtkBox getThisBox()

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

setXMin

public void setXMin(double id0,
                    double id1,
                    double id2)
Set / get the bounding box using various methods.


setXMin

public void setXMin(double[] id0)
Set / get the bounding box using various methods.


getXMin

public double[] getXMin()
Set / get the bounding box using various methods.


setXMax

public void setXMax(double id0,
                    double id1,
                    double id2)
Set / get the bounding box using various methods.


setXMax

public void setXMax(double[] id0)
Set / get the bounding box using various methods.


getXMax

public double[] getXMax()
Set / get the bounding box using various methods.


setBounds

public void setBounds(double id0,
                      double id1,
                      double id2,
                      double id3,
                      double id4,
                      double id5)
Set / get the bounding box using various methods.


setBounds

public void setBounds(double[] id0)
Set / get the bounding box using various methods.


getBounds

public void getBounds(double[] id0)
Set / get the bounding box using various methods.


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.