vtk
Class vtkDataArraySelection

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkDataArraySelection
All Implemented Interfaces:
java.io.Serializable

public class vtkDataArraySelection
extends vtkObject
implements java.io.Serializable

vtkDataArraySelection - Store on/off settings for data arrays for a vtkSource.. vtkDataArraySelection can be used by vtkSource subclasses to store on/off settings for whether each vtkDataArray in its input should be passed in the source's output. This is primarily intended to allow file readers to configure what data arrays are read from the file. JavaBean wrapper for vtkDataArraySelection 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
  vtkDataArraySelection()
           
protected vtkDataArraySelection(int dmy)
           
 
Method Summary
 int arrayExists(java.lang.String id0)
          Return whether the array with the given name exists.
 int arrayIsEnabled(java.lang.String id0)
          Return whether the array with the given name is enabled.
 void copySelections(vtkDataArraySelection id0)
          Copy the selections from the given vtkDataArraySelection instance.
 void disableAllArrays()
          Disable all arrays that currently have an entry.
 void disableArray(java.lang.String id0)
          Disable the array with the given name.
 void enableAllArrays()
          Enable all arrays that currently have an entry.
 void enableArray(java.lang.String id0)
          Enable the array with the given name.
 java.lang.String getArrayName(int id0)
          Get the name of the array entry at the given index.
 int getArraySetting(int id0)
          Get whether the array at the given index is enabled.
 java.lang.String getClassName()
          Return the class name as a string.
 int getNumberOfArrays()
          Get the number of arrays that currently have an entry.
 vtkDataArraySelection getThisDataArraySelection()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void removeAllArrays()
          Remove all array entries.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
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, unRegister
 
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

vtkDataArraySelection

public vtkDataArraySelection()

vtkDataArraySelection

protected vtkDataArraySelection(int dmy)
Method Detail

getThisDataArraySelection

public vtkDataArraySelection getThisDataArraySelection()

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 vtkObject

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 vtkObject

enableArray

public void enableArray(java.lang.String id0)
Enable the array with the given name. Creates a new entry if none exists.


disableArray

public void disableArray(java.lang.String id0)
Disable the array with the given name. Creates a new entry if none exists.


arrayIsEnabled

public int arrayIsEnabled(java.lang.String id0)
Return whether the array with the given name is enabled. If there is no entry, the array is assumed to be disabled.


arrayExists

public int arrayExists(java.lang.String id0)
Return whether the array with the given name exists.


enableAllArrays

public void enableAllArrays()
Enable all arrays that currently have an entry.


disableAllArrays

public void disableAllArrays()
Disable all arrays that currently have an entry.


getNumberOfArrays

public int getNumberOfArrays()
Get the number of arrays that currently have an entry.


getArrayName

public java.lang.String getArrayName(int id0)
Get the name of the array entry at the given index.


getArraySetting

public int getArraySetting(int id0)
Get whether the array at the given index is enabled.


removeAllArrays

public void removeAllArrays()
Remove all array entries.


copySelections

public void copySelections(vtkDataArraySelection id0)
Copy the selections from the given vtkDataArraySelection instance.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkObject


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.