vtk
Class vtkImplicitTextureCoords

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkDataSetSource
                      extended byvtk.vtkDataSetToDataSetFilter
                          extended byvtk.vtkImplicitTextureCoords
All Implemented Interfaces:
java.io.Serializable

public class vtkImplicitTextureCoords
extends vtkDataSetToDataSetFilter
implements java.io.Serializable

vtkImplicitTextureCoords - generate 1D, 2D, or 3D texture coordinates based on implicit function(s). vtkImplicitTextureCoords is a filter to generate 1D, 2D, or 3D texture coordinates from one, two, or three implicit functions, respectively. In combinations with a vtkBooleanTexture map (or another texture map of your own creation), the texture coordinates can be used to highlight (via color or intensity) or cut (via transparency) dataset geometry without any complex geometric processing. (Note: the texture coordinates are referred to as r-s-t coordinates.) The texture coordinates are automatically normalized to lie between (0,1). Thus, no matter what the implicit functions evaluate to, the resulting texture coordinates lie between (0,1), with the zero implicit function value mapped to the 0.5 texture coordinates value. Depending upon the maximum negative/positive implicit function values, the full (0,1) range may not be occupied (i.e., the positive/negative ranges are mapped using the same scale factor). A boolean variable InvertTexture is available to flip the texture coordinates around 0.5 (value 1.0 becomes 0.0, 0.25->0.75). This is equivalent to flipping the texture map (but a whole lot easier). JavaBean wrapper for vtkImplicitTextureCoords object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkImplicitFunction, vtkTexture, vtkBooleanTexture, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImplicitTextureCoords()
           
protected vtkImplicitTextureCoords(int dmy)
           
 
Method Summary
 void flipTextureOff()
          If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).
 void flipTextureOn()
          If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).
 java.lang.String getClassName()
          Return the class name as a string.
 int getFlipTexture()
          If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).
 vtkImplicitFunction getRFunction()
          Specify an implicit function to compute the r texture coordinate.
 vtkImplicitFunction getSFunction()
          Specify an implicit function to compute the s texture coordinate.
 vtkImplicitFunction getTFunction()
          Specify an implicit function to compute the t texture coordinate.
 vtkImplicitTextureCoords getThisImplicitTextureCoords()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setFlipTexture(int id0)
          If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).
 void setRFunction(vtkImplicitFunction id0)
          Specify an implicit function to compute the r texture coordinate.
 void setSFunction(vtkImplicitFunction id0)
          Specify an implicit function to compute the s texture coordinate.
 void setTFunction(vtkImplicitFunction id0)
          Specify an implicit function to compute the t texture coordinate.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkDataSetToDataSetFilter
computeInputUpdateExtents, getInput, getOutput, getOutput, getPolyDataOutput, getRectilinearGridOutput, getStructuredGridOutput, getStructuredPointsOutput, getThisDataSetToDataSetFilter, getUnstructuredGridOutput, setInput
 
Methods inherited from class vtk.vtkDataSetSource
getThisDataSetSource, setOutput
 
Methods inherited from class vtk.vtkSource
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

vtkImplicitTextureCoords

public vtkImplicitTextureCoords()

vtkImplicitTextureCoords

protected vtkImplicitTextureCoords(int dmy)
Method Detail

getThisImplicitTextureCoords

public vtkImplicitTextureCoords getThisImplicitTextureCoords()

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 vtkDataSetToDataSetFilter

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 vtkDataSetToDataSetFilter

setRFunction

public void setRFunction(vtkImplicitFunction id0)
Specify an implicit function to compute the r texture coordinate.


getRFunction

public vtkImplicitFunction getRFunction()
Specify an implicit function to compute the r texture coordinate.


setSFunction

public void setSFunction(vtkImplicitFunction id0)
Specify an implicit function to compute the s texture coordinate.


getSFunction

public vtkImplicitFunction getSFunction()
Specify an implicit function to compute the s texture coordinate.


setTFunction

public void setTFunction(vtkImplicitFunction id0)
Specify an implicit function to compute the t texture coordinate.


getTFunction

public vtkImplicitFunction getTFunction()
Specify an implicit function to compute the t texture coordinate.


setFlipTexture

public void setFlipTexture(int id0)
If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).


getFlipTexture

public int getFlipTexture()
If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).


flipTextureOn

public void flipTextureOn()
If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).


flipTextureOff

public void flipTextureOff()
If enabled, this will flip the sense of inside and outside the implicit function (i.e., a rotation around the r-s-t=0.5 axis).


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkDataSetToDataSetFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.