|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkPolyDataSource vtk.vtkPolyDataToPolyDataFilter vtk.vtkTubeFilter
vtkTubeFilter - filter that generates tubes around lines. vtkTubeFilter is a filter that generates a tube around each input line. The tubes are made up of triangle strips and rotate around the tube with the rotation of the line normals. (If no normals are present, they are computed automatically.) The radius of the tube can be set to vary with scalar or vector value. If the radius varies with scalar value the radius is linearly adjusted. If the radius varies with vector value, a mass flux preserving variation is used. The number of sides for the tube also can be specified. You can also specify which of the sides are visible. This is useful for generating interesting striping effects. Other options include the ability to cap the tube and generate texture coordinates. Texture coordinates can be used with an associated texture map to create interesting effects such as marking the tube with stripes corresponding to length or time. This filter is typically used to create thick or dramatic lines. Another common use is to combine this filter with vtkStreamLine to generate streamtubes. JavaBean wrapper for vtkTubeFilter object.
vtkRibbonFilter
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkTubeFilter()
|
protected |
vtkTubeFilter(int dmy)
|
Method Summary | |
void |
cappingOff()
Turn on/off whether to cap the ends with polygons. |
void |
cappingOn()
Turn on/off whether to cap the ends with polygons. |
int |
getCapping()
Turn on/off whether to cap the ends with polygons. |
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. |
int |
getNumberOfSides()
Set the number of sides for the tube. |
int |
getNumberOfSidesMaxValue()
Set the number of sides for the tube. |
int |
getNumberOfSidesMinValue()
Set the number of sides for the tube. |
int |
getOffset()
Control the striping of the tubes. |
int |
getOffsetMaxValue()
Control the striping of the tubes. |
int |
getOffsetMinValue()
Control the striping of the tubes. |
int |
getOnRatio()
Control the striping of the tubes. |
int |
getOnRatioMaxValue()
Control the striping of the tubes. |
int |
getOnRatioMinValue()
Control the striping of the tubes. |
double |
getRadius()
Set the minimum tube radius (minimum because the tube radius may vary). |
double |
getRadiusFactor()
Set the maximum tube radius in terms of a multiple of the minimum radius. |
double |
getRadiusMaxValue()
Set the minimum tube radius (minimum because the tube radius may vary). |
double |
getRadiusMinValue()
Set the minimum tube radius (minimum because the tube radius may vary). |
int |
getSidesShareVertices()
Set a boolean to control whether tube sides should share vertices. |
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. |
vtkTubeFilter |
getThisTubeFilter()
|
int |
getUseDefaultNormal()
Set a boolean to control whether to use default normals. |
int |
getVaryRadius()
Turn on/off the variation of tube radius with scalar value. |
java.lang.String |
getVaryRadiusAsString()
Turn on/off the variation of tube radius with scalar value. |
int |
getVaryRadiusMaxValue()
Turn on/off the variation of tube radius with scalar value. |
int |
getVaryRadiusMinValue()
Turn on/off the variation of tube radius with scalar value. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setCapping(int id0)
Turn on/off whether to cap the ends with polygons. |
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 |
setNumberOfSides(int id0)
Set the number of sides for the tube. |
void |
setOffset(int id0)
Control the striping of the tubes. |
void |
setOnRatio(int id0)
Control the striping of the tubes. |
void |
setRadius(double id0)
Set the minimum tube radius (minimum because the tube radius may vary). |
void |
setRadiusFactor(double id0)
Set the maximum tube radius in terms of a multiple of the minimum radius. |
void |
setSidesShareVertices(int id0)
Set a boolean to control whether tube sides should share vertices. |
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 |
setVaryRadius(int id0)
Turn on/off the variation of tube radius with scalar value. |
void |
setVaryRadiusToVaryRadiusByAbsoluteScalar()
Turn on/off the variation of tube radius with scalar value. |
void |
setVaryRadiusToVaryRadiusByScalar()
Turn on/off the variation of tube radius with scalar value. |
void |
setVaryRadiusToVaryRadiusByVector()
Turn on/off the variation of tube radius with scalar value. |
void |
setVaryRadiusToVaryRadiusOff()
Turn on/off the variation of tube radius with scalar value. |
void |
sidesShareVerticesOff()
Set a boolean to control whether tube sides should share vertices. |
void |
sidesShareVerticesOn()
Set a boolean to control whether tube sides should share vertices. |
void |
useDefaultNormalOff()
Set a boolean to control whether to use default normals. |
void |
useDefaultNormalOn()
Set a boolean to control whether to use default normals. |
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.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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkTubeFilter()
protected vtkTubeFilter(int dmy)
Method Detail |
public vtkTubeFilter getThisTubeFilter()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkPolyDataToPolyDataFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkPolyDataToPolyDataFilter
public void setRadius(double id0)
public double getRadiusMinValue()
public double getRadiusMaxValue()
public double getRadius()
public void setVaryRadius(int id0)
public int getVaryRadiusMinValue()
public int getVaryRadiusMaxValue()
public int getVaryRadius()
public void setVaryRadiusToVaryRadiusOff()
public void setVaryRadiusToVaryRadiusByScalar()
public void setVaryRadiusToVaryRadiusByVector()
public void setVaryRadiusToVaryRadiusByAbsoluteScalar()
public java.lang.String getVaryRadiusAsString()
public void setNumberOfSides(int id0)
public int getNumberOfSidesMinValue()
public int getNumberOfSidesMaxValue()
public int getNumberOfSides()
public void setRadiusFactor(double id0)
public double getRadiusFactor()
public void setDefaultNormal(double id0, double id1, double id2)
public void setDefaultNormal(double[] id0)
public double[] getDefaultNormal()
public void setUseDefaultNormal(int id0)
public int getUseDefaultNormal()
public void useDefaultNormalOn()
public void useDefaultNormalOff()
public void setSidesShareVertices(int id0)
public int getSidesShareVertices()
public void sidesShareVerticesOn()
public void sidesShareVerticesOff()
public void setCapping(int id0)
public int getCapping()
public void cappingOn()
public void cappingOff()
public void setOnRatio(int id0)
public int getOnRatioMinValue()
public int getOnRatioMaxValue()
public int getOnRatio()
public void setOffset(int id0)
public int getOffsetMinValue()
public int getOffsetMaxValue()
public int getOffset()
public void setGenerateTCoords(int id0)
public int getGenerateTCoordsMinValue()
public int getGenerateTCoordsMaxValue()
public int getGenerateTCoords()
public void setGenerateTCoordsToOff()
public void setGenerateTCoordsToNormalizedLength()
public void setGenerateTCoordsToUseLength()
public void setGenerateTCoordsToUseScalars()
public java.lang.String getGenerateTCoordsAsString()
public void setTextureLength(double id0)
public double getTextureLengthMinValue()
public double getTextureLengthMaxValue()
public double getTextureLength()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkPolyDataToPolyDataFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |