vtk
Class vtkXMLReader

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkXMLReader
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkXMLDataReader, vtkXMLPDataReader

public class vtkXMLReader
extends vtkSource
implements java.io.Serializable

vtkXMLReader - Superclass for VTK's XML format readers.. vtkXMLReader uses vtkXMLDataParser to parse a VTK XML input file. Concrete subclasses then traverse the parsed file structure and extract data. JavaBean wrapper for vtkXMLReader 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
  vtkXMLReader()
           
protected vtkXMLReader(int dmy)
           
 
Method Summary
 int canReadFile(java.lang.String id0)
          Test whether the file with the given name can be read by this reader.
 java.lang.String getCellArrayName(int id0)
          Get the name of the point or cell array with the given index in the input.
 int getCellArrayStatus(java.lang.String id0)
          Get/Set whether the point or cell array with the given name is to be read.
 vtkDataArraySelection getCellDataArraySelection()
          Get the data array selection tables used to configure which data arrays are loaded by the reader.
 java.lang.String getClassName()
          Return the class name as a string.
 java.lang.String getFileName()
          Get/Set the name of the input file.
 int getNumberOfCellArrays()
          Get the number of point or cell arrays available in the input.
 int getNumberOfPointArrays()
          Get the number of point or cell arrays available in the input.
 vtkDataSet getOutputAsDataSet()
          Get the output as a vtkDataSet pointer.
 vtkDataSet getOutputAsDataSet(int id0)
          Get the output as a vtkDataSet pointer.
 java.lang.String getPointArrayName(int id0)
          Get the name of the point or cell array with the given index in the input.
 int getPointArrayStatus(java.lang.String id0)
          Get/Set whether the point or cell array with the given name is to be read.
 vtkDataArraySelection getPointDataArraySelection()
          Get the data array selection tables used to configure which data arrays are loaded by the reader.
 vtkXMLReader getThisXMLReader()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setCellArrayStatus(java.lang.String id0, int id1)
          Get/Set whether the point or cell array with the given name is to be read.
 void setFileName(java.lang.String id0)
          Get/Set the name of the input file.
 void setPointArrayStatus(java.lang.String id0, int id1)
          Get/Set whether the point or cell array with the given name is to be read.
protected  void VTKCastInit()
           
 
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, VTKInit
 
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

vtkXMLReader

public vtkXMLReader()

vtkXMLReader

protected vtkXMLReader(int dmy)
Method Detail

getThisXMLReader

public vtkXMLReader getThisXMLReader()

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

setFileName

public void setFileName(java.lang.String id0)
Get/Set the name of the input file.


getFileName

public java.lang.String getFileName()
Get/Set the name of the input file.


canReadFile

public int canReadFile(java.lang.String id0)
Test whether the file with the given name can be read by this reader.


getOutputAsDataSet

public vtkDataSet getOutputAsDataSet()
Get the output as a vtkDataSet pointer.


getOutputAsDataSet

public vtkDataSet getOutputAsDataSet(int id0)
Get the output as a vtkDataSet pointer.


getPointDataArraySelection

public vtkDataArraySelection getPointDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.


getCellDataArraySelection

public vtkDataArraySelection getCellDataArraySelection()
Get the data array selection tables used to configure which data arrays are loaded by the reader.


getNumberOfPointArrays

public int getNumberOfPointArrays()
Get the number of point or cell arrays available in the input.


getNumberOfCellArrays

public int getNumberOfCellArrays()
Get the number of point or cell arrays available in the input.


getPointArrayName

public java.lang.String getPointArrayName(int id0)
Get the name of the point or cell array with the given index in the input.


getCellArrayName

public java.lang.String getCellArrayName(int id0)
Get the name of the point or cell array with the given index in the input.


getPointArrayStatus

public int getPointArrayStatus(java.lang.String id0)
Get/Set whether the point or cell array with the given name is to be read.


getCellArrayStatus

public int getCellArrayStatus(java.lang.String id0)
Get/Set whether the point or cell array with the given name is to be read.


setPointArrayStatus

public void setPointArrayStatus(java.lang.String id0,
                                int id1)
Get/Set whether the point or cell array with the given name is to be read.


setCellArrayStatus

public void setCellArrayStatus(java.lang.String id0,
                               int id1)
Get/Set whether the point or cell array with the given name is to be read.


VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkSource


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.