vtk
Class vtkExtractVectorComponents

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

public class vtkExtractVectorComponents
extends vtkSource
implements java.io.Serializable

vtkExtractVectorComponents - extract components of vector as separate scalars. vtkExtractVectorComponents is a filter that extracts vector components as separate scalars. This is accomplished by creating three different outputs. Each output is the same as the input, except that the scalar values will be one of the three components of the vector. These can be found in the VxComponent, VyComponent, and VzComponent. Alternatively, if the ExtractToFieldData flag is set, the filter will put all the components in the field data. The first component will be the scalar and the others will be non-attribute arrays. JavaBean wrapper for vtkExtractVectorComponents 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
  vtkExtractVectorComponents()
           
protected vtkExtractVectorComponents(int dmy)
           
 
Method Summary
 void extractToFieldDataOff()
          Determines whether the vector components will be put in separate outputs or in the first output's field data
 void extractToFieldDataOn()
          Determines whether the vector components will be put in separate outputs or in the first output's field data
 java.lang.String getClassName()
          Return the class name as a string.
 int getExtractToFieldData()
          Determines whether the vector components will be put in separate outputs or in the first output's field data
 vtkDataSet getInput()
          Get the input data or filter.
 vtkDataSet getOutput(int id0)
          Get the output dataset containing the indicated component.
 vtkExtractVectorComponents getThisExtractVectorComponents()
           
 vtkDataSet getVxComponent()
          Get the output dataset representing velocity x-component.
 vtkDataSet getVyComponent()
          Get the output dataset representing velocity y-component.
 vtkDataSet getVzComponent()
          Get the output dataset representing velocity z-component.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setExtractToFieldData(int id0)
          Determines whether the vector components will be put in separate outputs or in the first output's field data
 void setInput(vtkDataSet id0)
          Specify the input data or filter.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
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

vtkExtractVectorComponents

public vtkExtractVectorComponents()

vtkExtractVectorComponents

protected vtkExtractVectorComponents(int dmy)
Method Detail

getThisExtractVectorComponents

public vtkExtractVectorComponents getThisExtractVectorComponents()

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 vtkSource

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 vtkSource

setInput

public void setInput(vtkDataSet id0)
Specify the input data or filter.


getInput

public vtkDataSet getInput()
Get the input data or filter.


getVxComponent

public vtkDataSet getVxComponent()
Get the output dataset representing velocity x-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 0.)


getVyComponent

public vtkDataSet getVyComponent()
Get the output dataset representing velocity y-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 1.) Note that if ExtractToFieldData is true, this output will be empty.


getVzComponent

public vtkDataSet getVzComponent()
Get the output dataset representing velocity z-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 2.) Note that if ExtractToFieldData is true, this output will be empty.


getOutput

public vtkDataSet getOutput(int id0)
Get the output dataset containing the indicated component. The component is specified by an index between (0,2) corresponding to the x, y, or z vector component. By default, the x component is extracted.


setExtractToFieldData

public void setExtractToFieldData(int id0)
Determines whether the vector components will be put in separate outputs or in the first output's field data


getExtractToFieldData

public int getExtractToFieldData()
Determines whether the vector components will be put in separate outputs or in the first output's field data


extractToFieldDataOn

public void extractToFieldDataOn()
Determines whether the vector components will be put in separate outputs or in the first output's field data


extractToFieldDataOff

public void extractToFieldDataOff()
Determines whether the vector components will be put in separate outputs or in the first output's field data


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkSource


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.