|
||||||||||
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.vtkRuledSurfaceFilter
vtkRuledSurfaceFilter - generates a surface from a set of lines. vtkRuledSurfaceFilter is a filter that generates a surface from a set of lines. The lines are assumed to be "parallel" in the sense that they do not intersect and remain somewhat close to one another. A surface is generated by connecting the points defining each pair of lines with straight lines. This creates a strip for each pair of lines (i.e., a triangulation is created from two generating lines). The filter can handle an arbitrary number of lines, with lines i and i+1 assumed connected. Note that there are several different approaches for creating the ruled surface, the method for creating the surface can either use the input points or resample from the polylines (using a user-specified resolution). This filter offers some other important features. A DistanceFactor ivar is used to decide when two lines are too far apart to connect. (The factor is a multiple of the distance between the first two points of the two lines defining the strip.) If the distance between the two generating lines becomes too great, then the surface is not generated in that region. (Note: if the lines separate and then merge, then a hole can be generated in the surface.) In addition, the Offset and OnRation ivars can be used to create nifty striped surfaces. Closed surfaces (e.g., tubes) can be created by setting the CloseSurface ivar. (The surface can be closed in the other direction by repeating the first and last point in the polylines defining the surface.) An important use of this filter is to combine it with vtkStreamLine to generate stream surfaces. It can also be used to create surfaces from contours. JavaBean wrapper for vtkRuledSurfaceFilter object.
vtkRibbonFilter
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkRuledSurfaceFilter()
|
protected |
vtkRuledSurfaceFilter(int dmy)
|
Method Summary | |
void |
closeSurfaceOff()
Indicate whether the surface is to be closed. |
void |
closeSurfaceOn()
Indicate whether the surface is to be closed. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getCloseSurface()
Indicate whether the surface is to be closed. |
double |
getDistanceFactor()
Set/Get the factor that controls tearing of the surface. |
double |
getDistanceFactorMaxValue()
Set/Get the factor that controls tearing of the surface. |
double |
getDistanceFactorMinValue()
Set/Get the factor that controls tearing of the surface. |
int |
getOffset()
Control the striping of the ruled surface. |
int |
getOffsetMaxValue()
Control the striping of the ruled surface. |
int |
getOffsetMinValue()
Control the striping of the ruled surface. |
int |
getOnRatio()
Control the striping of the ruled surface. |
int |
getOnRatioMaxValue()
Control the striping of the ruled surface. |
int |
getOnRatioMinValue()
Control the striping of the ruled surface. |
int |
getPassLines()
Indicate whether the generating lines are to be passed to the output. |
int[] |
getResolution()
If the ruled surface generation mode is RESAMPLE, then these parameters are used to determine the resample rate. |
int |
getRuledMode()
Set the mode by which to create the ruled surface. |
java.lang.String |
getRuledModeAsString()
Set the mode by which to create the ruled surface. |
int |
getRuledModeMaxValue()
Set the mode by which to create the ruled surface. |
int |
getRuledModeMinValue()
Set the mode by which to create the ruled surface. |
vtkRuledSurfaceFilter |
getThisRuledSurfaceFilter()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
passLinesOff()
Indicate whether the generating lines are to be passed to the output. |
void |
passLinesOn()
Indicate whether the generating lines are to be passed to the output. |
void |
setCloseSurface(int id0)
Indicate whether the surface is to be closed. |
void |
setDistanceFactor(double id0)
Set/Get the factor that controls tearing of the surface. |
void |
setOffset(int id0)
Control the striping of the ruled surface. |
void |
setOnRatio(int id0)
Control the striping of the ruled surface. |
void |
setPassLines(int id0)
Indicate whether the generating lines are to be passed to the output. |
void |
setResolution(int[] id0)
If the ruled surface generation mode is RESAMPLE, then these parameters are used to determine the resample rate. |
void |
setResolution(int id0,
int id1)
If the ruled surface generation mode is RESAMPLE, then these parameters are used to determine the resample rate. |
void |
setRuledMode(int id0)
Set the mode by which to create the ruled surface. |
void |
setRuledModeToPointWalk()
Set the mode by which to create the ruled surface. |
void |
setRuledModeToResample()
Set the mode by which to create the ruled surface. |
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 vtkRuledSurfaceFilter()
protected vtkRuledSurfaceFilter(int dmy)
Method Detail |
public vtkRuledSurfaceFilter getThisRuledSurfaceFilter()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkPolyDataToPolyDataFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkPolyDataToPolyDataFilter
public void setDistanceFactor(double id0)
public double getDistanceFactorMinValue()
public double getDistanceFactorMaxValue()
public double getDistanceFactor()
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 setCloseSurface(int id0)
public int getCloseSurface()
public void closeSurfaceOn()
public void closeSurfaceOff()
public void setRuledMode(int id0)
public int getRuledModeMinValue()
public int getRuledModeMaxValue()
public int getRuledMode()
public void setRuledModeToResample()
public void setRuledModeToPointWalk()
public java.lang.String getRuledModeAsString()
public void setResolution(int id0, int id1)
public void setResolution(int[] id0)
public int[] getResolution()
public void setPassLines(int id0)
public int getPassLines()
public void passLinesOn()
public void passLinesOff()
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 |