vtk
Class vtkTableExtentTranslator

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

public class vtkTableExtentTranslator
extends vtkExtentTranslator
implements java.io.Serializable

vtkTableExtentTranslator - Extent translation through lookup table.. vtkTableExtentTranslator provides a vtkExtentTranslator that is programmed with a specific extent corresponding to each piece number. Readers can provide this to an application to allow the pipeline to execute using the same piece breakdown that is provided in the input file. JavaBean wrapper for vtkTableExtentTranslator 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
  vtkTableExtentTranslator()
           
protected vtkTableExtentTranslator(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 int getMaximumGhostLevel()
          Set the maximum ghost level that can be requested.
 int getPieceAvailable(int id0)
          Get/Set whether the given piece is available.
 vtkTableExtentTranslator getThisTableExtentTranslator()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 int pieceToExtent()
          Called to translate the current piece into an extent.
 int pieceToExtentByPoints()
          Not supported by this subclass of vtkExtentTranslator.
 void setMaximumGhostLevel(int id0)
          Set the maximum ghost level that can be requested.
 void setNumberOfPieces(int id0)
          Set the number of pieces in the extent table.
 void setPieceAvailable(int id0, int id1)
          Get/Set whether the given piece is available.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkExtentTranslator
getExtent, getGhostLevel, getNumberOfPieces, getPiece, getSplitMode, getThisExtentTranslator, getWholeExtent, setExtent, setExtent, setGhostLevel, setPiece, setSplitModeToBlock, setSplitModeToXSlab, setSplitModeToYSlab, setSplitModeToZSlab, setWholeExtent, setWholeExtent
 
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

vtkTableExtentTranslator

public vtkTableExtentTranslator()

vtkTableExtentTranslator

protected vtkTableExtentTranslator(int dmy)
Method Detail

getThisTableExtentTranslator

public vtkTableExtentTranslator getThisTableExtentTranslator()

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 vtkExtentTranslator

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 vtkExtentTranslator

setNumberOfPieces

public void setNumberOfPieces(int id0)
Set the number of pieces in the extent table. Once set to a non-zero value, this can only be called to change back to zero, or with the same number of pieces. This prevents a pipeline from using this extent translator to get any pieces that don't match the table.

Overrides:
setNumberOfPieces in class vtkExtentTranslator

pieceToExtent

public int pieceToExtent()
Called to translate the current piece into an extent. This is not thread safe.

Overrides:
pieceToExtent in class vtkExtentTranslator

pieceToExtentByPoints

public int pieceToExtentByPoints()
Not supported by this subclass of vtkExtentTranslator.

Overrides:
pieceToExtentByPoints in class vtkExtentTranslator

setMaximumGhostLevel

public void setMaximumGhostLevel(int id0)
Set the maximum ghost level that can be requested. This can be used by a reader to make sure an extent request does not go outside the boundaries of the piece's file.


getMaximumGhostLevel

public int getMaximumGhostLevel()
Set the maximum ghost level that can be requested. This can be used by a reader to make sure an extent request does not go outside the boundaries of the piece's file.


setPieceAvailable

public void setPieceAvailable(int id0,
                              int id1)
Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.


getPieceAvailable

public int getPieceAvailable(int id0)
Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkExtentTranslator

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkExtentTranslator


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.