vtk
Class vtkBooleanTexture

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkImageSource
                      extended byvtk.vtkBooleanTexture
All Implemented Interfaces:
java.io.Serializable

public class vtkBooleanTexture
extends vtkImageSource
implements java.io.Serializable

vtkBooleanTexture - generate 2D texture map based on combinations of inside, outside, and on region boundary. vtkBooleanTexture is a filter to generate a 2D texture map based on combinations of inside, outside, and on region boundary. The "region" is implicitly represented via 2D texture coordinates. These texture coordinates are normally generated using a filter like vtkImplicitTextureCoords, which generates the texture coordinates for any implicit function. vtkBooleanTexture generates the map according to the s-t texture coordinates plus the notion of being in, on, or outside of a region. An in region is when the texture coordinate is between (0,0.5-thickness/2). An out region is where the texture coordinate is (0.5+thickness/2). An on region is between (0.5-thickness/2,0.5+thickness/2). The combination in, on, and out for each of the s-t texture coordinates results in 16 possible combinations (see text). For each combination, a different value of intensity and transparency can be assigned. To assign maximum intensity and/or opacity use the value 255. A minimum value of 0 results in a black region (for intensity) and a fully transparent region (for transparency). JavaBean wrapper for vtkBooleanTexture object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkBooleanTexture()
           
protected vtkBooleanTexture(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 int getThickness()
          Set the thickness of the "on" region.
 vtkBooleanTexture getThisBooleanTexture()
           
 int getXSize()
          Set the X texture map dimension.
 int getYSize()
          Set the Y texture map dimension.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setInIn(char id0, char id1)
          Specify intensity/transparency for "in/in" region.
 void setInOn(char id0, char id1)
          Specify intensity/transparency for "in/on" region.
 void setInOut(char id0, char id1)
          Specify intensity/transparency for "in/out" region.
 void setOnIn(char id0, char id1)
          Specify intensity/transparency for "on/in" region.
 void setOnOn(char id0, char id1)
          Specify intensity/transparency for "on/on" region.
 void setOnOut(char id0, char id1)
          Specify intensity/transparency for "on/out" region.
 void setOutIn(char id0, char id1)
          Specify intensity/transparency for "out/in" region.
 void setOutOn(char id0, char id1)
          Specify intensity/transparency for "out/on" region.
 void setOutOut(char id0, char id1)
          Specify intensity/transparency for "out/out" region.
 void setThickness(int id0)
          Set the thickness of the "on" region.
 void setXSize(int id0)
          Set the X texture map dimension.
 void setYSize(int id0)
          Set the Y texture map dimension.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImageSource
getOutput, getOutput, getThisImageSource, setOutput
 
Methods inherited from class vtk.vtkSource
computeInputUpdateExtents, getNumberOfOutputs, getOutputIndex, getReleaseDataFlag, getThisSource, inRegisterLoop, propagateUpdateExtent, releaseDataFlagOff, releaseDataFlagOn, setReleaseDataFlag, triggerAsynchronousUpdate, unRegister, unRegisterAllOutputs, update, updateData, updateInformation, updateWholeExtent
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay
 
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

vtkBooleanTexture

public vtkBooleanTexture()

vtkBooleanTexture

protected vtkBooleanTexture(int dmy)
Method Detail

getThisBooleanTexture

public vtkBooleanTexture getThisBooleanTexture()

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 vtkImageSource

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 vtkImageSource

setXSize

public void setXSize(int id0)
Set the X texture map dimension.


getXSize

public int getXSize()
Set the X texture map dimension.


setYSize

public void setYSize(int id0)
Set the Y texture map dimension.


getYSize

public int getYSize()
Set the Y texture map dimension.


setThickness

public void setThickness(int id0)
Set the thickness of the "on" region.


getThickness

public int getThickness()
Set the thickness of the "on" region.


setInIn

public void setInIn(char id0,
                    char id1)
Specify intensity/transparency for "in/in" region.


setInOut

public void setInOut(char id0,
                     char id1)
Specify intensity/transparency for "in/out" region.


setOutIn

public void setOutIn(char id0,
                     char id1)
Specify intensity/transparency for "out/in" region.


setOutOut

public void setOutOut(char id0,
                      char id1)
Specify intensity/transparency for "out/out" region.


setOnOn

public void setOnOn(char id0,
                    char id1)
Specify intensity/transparency for "on/on" region.


setOnIn

public void setOnIn(char id0,
                    char id1)
Specify intensity/transparency for "on/in" region.


setOnOut

public void setOnOut(char id0,
                     char id1)
Specify intensity/transparency for "on/out" region.


setInOn

public void setInOn(char id0,
                    char id1)
Specify intensity/transparency for "in/on" region.


setOutOn

public void setOutOn(char id0,
                     char id1)
Specify intensity/transparency for "out/on" region.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkImageSource


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.