vtk
Class vtkTriangularTexture

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

public class vtkTriangularTexture
extends vtkImageSource
implements java.io.Serializable

vtkTriangularTexture - generate 2D triangular texture map. vtkTriangularTexture is a filter that generates a 2D texture map based on the paper "Opacity-modulating Triangular Textures for Irregular Surfaces," by Penny Rheingans, IEEE Visualization '96, pp. 219-225. The textures assume texture coordinates of (0,0), (1.0) and (.5, sqrt(3)/2). The sequence of texture values is the same along each edge of the triangular texture map. So, the assignment order of texture coordinates is arbitrary. JavaBean wrapper for vtkTriangularTexture 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
  vtkTriangularTexture()
           
protected vtkTriangularTexture(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 double getScaleFactor()
          Set a Scale Factor.
 int getTexturePattern()
          Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices
 int getTexturePatternMaxValue()
          Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices
 int getTexturePatternMinValue()
          Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices
 vtkTriangularTexture getThisTriangularTexture()
           
 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 setScaleFactor(double id0)
          Set a Scale Factor.
 void setTexturePattern(int id0)
          Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices
 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

vtkTriangularTexture

public vtkTriangularTexture()

vtkTriangularTexture

protected vtkTriangularTexture(int dmy)
Method Detail

getThisTriangularTexture

public vtkTriangularTexture getThisTriangularTexture()

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

setScaleFactor

public void setScaleFactor(double id0)
Set a Scale Factor.


getScaleFactor

public double getScaleFactor()
Set a Scale Factor.


setXSize

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


getXSize

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


setYSize

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


getYSize

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


setTexturePattern

public void setTexturePattern(int id0)
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices


getTexturePatternMinValue

public int getTexturePatternMinValue()
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices


getTexturePatternMaxValue

public int getTexturePatternMaxValue()
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices


getTexturePattern

public int getTexturePattern()
Set the texture pattern. 1 = opaque at centroid (default) 2 = opaque at vertices 3 = opaque in rings around vertices


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.