vtk
Class vtkImplicitBoolean

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

public class vtkImplicitBoolean
extends vtkImplicitFunction
implements java.io.Serializable

vtkImplicitBoolean - implicit function consisting of boolean combinations of implicit functions. vtkImplicitBoolean is an implicit function consisting of boolean combinations of implicit functions. The class has a list of functions (FunctionList) that are combined according to a specified operator (VTK_UNION or VTK_INTERSECTION or VTK_DIFFERENCE). You can use nested combinations of vtkImplicitFunction's (and/or vtkImplicitBoolean) to create elaborate implicit functions. vtkImplicitBoolean is a concrete implementation of vtkImplicitFunction. The operators work as follows. The VTK_UNION operator takes the minimum value of all implicit functions. The VTK_INTERSECTION operator takes the maximum value of all implicit functions. The VTK_DIFFERENCE operator subtracts the 2nd through last implicit functions from the first. The VTK_UNION_OF_MAGNITUDES takes the minimum absolute value of the implicit functions. JavaBean wrapper for vtkImplicitBoolean object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImplicitBoolean()
           
protected vtkImplicitBoolean(int dmy)
           
 
Method Summary
 void addFunction(vtkImplicitFunction id0)
          Add another implicit function to the list of functions.
 double evaluateFunction(double[] id0)
          Evaluate boolean combinations of implicit function using current operator.
 double evaluateFunction(double id0, double id1, double id2)
          Evaluate boolean combinations of implicit function using current operator.
 void evaluateGradient(double[] id0, double[] id1)
          Evaluate gradient of boolean combination.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkImplicitFunctionCollection getFunction()
          Return the collection of implicit functions.
 int getMTime()
          Override modified time retrieval because of object dependencies.
 int getOperationType()
          Specify the type of boolean operation.
 java.lang.String getOperationTypeAsString()
          Specify the type of boolean operation.
 int getOperationTypeMaxValue()
          Specify the type of boolean operation.
 int getOperationTypeMinValue()
          Specify the type of boolean operation.
 vtkImplicitBoolean getThisImplicitBoolean()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void removeFunction(vtkImplicitFunction id0)
          Remove a function from the list of implicit functions to boolean.
 void setOperationType(int id0)
          Specify the type of boolean operation.
 void setOperationTypeToDifference()
          Specify the type of boolean operation.
 void setOperationTypeToIntersection()
          Specify the type of boolean operation.
 void setOperationTypeToUnion()
          Specify the type of boolean operation.
 void setOperationTypeToUnionOfMagnitudes()
          Specify the type of boolean operation.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImplicitFunction
functionGradient, functionGradient, functionGradient, functionValue, functionValue, 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

vtkImplicitBoolean

public vtkImplicitBoolean()

vtkImplicitBoolean

protected vtkImplicitBoolean(int dmy)
Method Detail

getThisImplicitBoolean

public vtkImplicitBoolean getThisImplicitBoolean()

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)
Evaluate boolean combinations of implicit function using current operator.

Overrides:
evaluateFunction in class vtkImplicitFunction

evaluateFunction

public double evaluateFunction(double id0,
                               double id1,
                               double id2)
Evaluate boolean combinations of implicit function using current operator.

Overrides:
evaluateFunction in class vtkImplicitFunction

evaluateGradient

public void evaluateGradient(double[] id0,
                             double[] id1)
Evaluate gradient of boolean combination.

Overrides:
evaluateGradient in class vtkImplicitFunction

getMTime

public int getMTime()
Override modified time retrieval because of object dependencies.

Overrides:
getMTime in class vtkImplicitFunction

addFunction

public void addFunction(vtkImplicitFunction id0)
Add another implicit function to the list of functions.


removeFunction

public void removeFunction(vtkImplicitFunction id0)
Remove a function from the list of implicit functions to boolean.


getFunction

public vtkImplicitFunctionCollection getFunction()
Return the collection of implicit functions.


setOperationType

public void setOperationType(int id0)
Specify the type of boolean operation.


getOperationTypeMinValue

public int getOperationTypeMinValue()
Specify the type of boolean operation.


getOperationTypeMaxValue

public int getOperationTypeMaxValue()
Specify the type of boolean operation.


getOperationType

public int getOperationType()
Specify the type of boolean operation.


setOperationTypeToUnion

public void setOperationTypeToUnion()
Specify the type of boolean operation.


setOperationTypeToIntersection

public void setOperationTypeToIntersection()
Specify the type of boolean operation.


setOperationTypeToDifference

public void setOperationTypeToDifference()
Specify the type of boolean operation.


setOperationTypeToUnionOfMagnitudes

public void setOperationTypeToUnionOfMagnitudes()
Specify the type of boolean operation.


getOperationTypeAsString

public java.lang.String getOperationTypeAsString()
Specify the type of boolean operation.


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.