vtk
Class vtkRibbonFilter

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkPolyDataSource
                      extended byvtk.vtkPolyDataToPolyDataFilter
                          extended byvtk.vtkRibbonFilter
All Implemented Interfaces:
java.io.Serializable

public class vtkRibbonFilter
extends vtkPolyDataToPolyDataFilter
implements java.io.Serializable

vtkRibbonFilter - create oriented ribbons from lines defined in polygonal dataset. vtkRibbonFilter is a filter to create oriented ribbons from lines defined in polygonal dataset. The orientation of the ribbon is along the line segments and perpendicular to "projected" line normals. Projected line normals are the original line normals projected to be perpendicular to the local line segment. An offset angle can be specified to rotate the ribbon with respect to the normal. JavaBean wrapper for vtkRibbonFilter 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
  vtkRibbonFilter()
           
protected vtkRibbonFilter(int dmy)
           
 
Method Summary
 double getAngle()
          Set the offset angle of the ribbon from the line normal.
 double getAngleMaxValue()
          Set the offset angle of the ribbon from the line normal.
 double getAngleMinValue()
          Set the offset angle of the ribbon from the line normal.
 java.lang.String getClassName()
          Return the class name as a string.
 double[] getDefaultNormal()
          Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
 int getGenerateTCoords()
          Control whether and how texture coordinates are produced.
 java.lang.String getGenerateTCoordsAsString()
          Control whether and how texture coordinates are produced.
 int getGenerateTCoordsMaxValue()
          Control whether and how texture coordinates are produced.
 int getGenerateTCoordsMinValue()
          Control whether and how texture coordinates are produced.
 java.lang.String getInputVectorsSelection()
          If you want to use an arbitrary normals array, then set its name here.
 double getTextureLength()
          Control the conversion of units during the texture coordinates calculation.
 double getTextureLengthMaxValue()
          Control the conversion of units during the texture coordinates calculation.
 double getTextureLengthMinValue()
          Control the conversion of units during the texture coordinates calculation.
 vtkRibbonFilter getThisRibbonFilter()
           
 int getUseDefaultNormal()
          Set a boolean to control whether to use default normals.
 int getVaryWidth()
          Turn on/off the variation of ribbon width with scalar value.
 double getWidth()
          Set the "half" width of the ribbon.
 double getWidthFactor()
          Set the maximum ribbon width in terms of a multiple of the minimum width.
 double getWidthMaxValue()
          Set the "half" width of the ribbon.
 double getWidthMinValue()
          Set the "half" width of the ribbon.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void selectInputVectors(java.lang.String id0)
           
 void setAngle(double id0)
          Set the offset angle of the ribbon from the line normal.
 void setDefaultNormal(double[] id0)
          Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
 void setDefaultNormal(double id0, double id1, double id2)
          Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.
 void setGenerateTCoords(int id0)
          Control whether and how texture coordinates are produced.
 void setGenerateTCoordsToNormalizedLength()
          Control whether and how texture coordinates are produced.
 void setGenerateTCoordsToOff()
          Control whether and how texture coordinates are produced.
 void setGenerateTCoordsToUseLength()
          Control whether and how texture coordinates are produced.
 void setGenerateTCoordsToUseScalars()
          Control whether and how texture coordinates are produced.
 void setTextureLength(double id0)
          Control the conversion of units during the texture coordinates calculation.
 void setUseDefaultNormal(int id0)
          Set a boolean to control whether to use default normals.
 void setVaryWidth(int id0)
          Turn on/off the variation of ribbon width with scalar value.
 void setWidth(double id0)
          Set the "half" width of the ribbon.
 void setWidthFactor(double id0)
          Set the maximum ribbon width in terms of a multiple of the minimum width.
 void useDefaultNormalOff()
          Set a boolean to control whether to use default normals.
 void useDefaultNormalOn()
          Set a boolean to control whether to use default normals.
 void varyWidthOff()
          Turn on/off the variation of ribbon width with scalar value.
 void varyWidthOn()
          Turn on/off the variation of ribbon width with scalar value.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkPolyDataToPolyDataFilter
getInput, getThisPolyDataToPolyDataFilter, setInput
 
Methods inherited from class vtk.vtkPolyDataSource
getOutput, getOutput, getThisPolyDataSource, 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

vtkRibbonFilter

public vtkRibbonFilter()

vtkRibbonFilter

protected vtkRibbonFilter(int dmy)
Method Detail

getThisRibbonFilter

public vtkRibbonFilter getThisRibbonFilter()

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 vtkPolyDataToPolyDataFilter

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 vtkPolyDataToPolyDataFilter

setWidth

public void setWidth(double id0)
Set the "half" width of the ribbon. If the width is allowed to vary, this is the minimum width.


getWidthMinValue

public double getWidthMinValue()
Set the "half" width of the ribbon. If the width is allowed to vary, this is the minimum width.


getWidthMaxValue

public double getWidthMaxValue()
Set the "half" width of the ribbon. If the width is allowed to vary, this is the minimum width.


getWidth

public double getWidth()
Set the "half" width of the ribbon. If the width is allowed to vary, this is the minimum width.


setAngle

public void setAngle(double id0)
Set the offset angle of the ribbon from the line normal. (The angle is expressed in degrees.)


getAngleMinValue

public double getAngleMinValue()
Set the offset angle of the ribbon from the line normal. (The angle is expressed in degrees.)


getAngleMaxValue

public double getAngleMaxValue()
Set the offset angle of the ribbon from the line normal. (The angle is expressed in degrees.)


getAngle

public double getAngle()
Set the offset angle of the ribbon from the line normal. (The angle is expressed in degrees.)


setVaryWidth

public void setVaryWidth(int id0)
Turn on/off the variation of ribbon width with scalar value.


getVaryWidth

public int getVaryWidth()
Turn on/off the variation of ribbon width with scalar value.


varyWidthOn

public void varyWidthOn()
Turn on/off the variation of ribbon width with scalar value.


varyWidthOff

public void varyWidthOff()
Turn on/off the variation of ribbon width with scalar value.


setWidthFactor

public void setWidthFactor(double id0)
Set the maximum ribbon width in terms of a multiple of the minimum width.


getWidthFactor

public double getWidthFactor()
Set the maximum ribbon width in terms of a multiple of the minimum width.


setDefaultNormal

public void setDefaultNormal(double id0,
                             double id1,
                             double id2)
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.


setDefaultNormal

public void setDefaultNormal(double[] id0)
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.


getDefaultNormal

public double[] getDefaultNormal()
Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.


setUseDefaultNormal

public void setUseDefaultNormal(int id0)
Set a boolean to control whether to use default normals. DefaultNormalOn is set.


getUseDefaultNormal

public int getUseDefaultNormal()
Set a boolean to control whether to use default normals. DefaultNormalOn is set.


useDefaultNormalOn

public void useDefaultNormalOn()
Set a boolean to control whether to use default normals. DefaultNormalOn is set.


useDefaultNormalOff

public void useDefaultNormalOff()
Set a boolean to control whether to use default normals. DefaultNormalOn is set.


setGenerateTCoords

public void setGenerateTCoords(int id0)
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


getGenerateTCoordsMinValue

public int getGenerateTCoordsMinValue()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


getGenerateTCoordsMaxValue

public int getGenerateTCoordsMaxValue()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


getGenerateTCoords

public int getGenerateTCoords()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


setGenerateTCoordsToOff

public void setGenerateTCoordsToOff()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


setGenerateTCoordsToNormalizedLength

public void setGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


setGenerateTCoordsToUseLength

public void setGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


setGenerateTCoordsToUseScalars

public void setGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


getGenerateTCoordsAsString

public java.lang.String getGenerateTCoordsAsString()
Control whether and how texture coordinates are produced. This is useful for striping the ribbon with time textures, etc.


setTextureLength

public void setTextureLength(double id0)
Control the conversion of units during the texture coordinates calculation. The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.


getTextureLengthMinValue

public double getTextureLengthMinValue()
Control the conversion of units during the texture coordinates calculation. The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.


getTextureLengthMaxValue

public double getTextureLengthMaxValue()
Control the conversion of units during the texture coordinates calculation. The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.


getTextureLength

public double getTextureLength()
Control the conversion of units during the texture coordinates calculation. The TextureLength indicates what length (whether calculated from scalars or length) is mapped to the [0,1) texture space.


getInputVectorsSelection

public java.lang.String getInputVectorsSelection()
If you want to use an arbitrary normals array, then set its name here. By default this in NULL and the filter will use the active normal array.


selectInputVectors

public void selectInputVectors(java.lang.String id0)

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkPolyDataToPolyDataFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.