vtk
Class vtkExtentSplitter

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

public class vtkExtentSplitter
extends vtkObject
implements java.io.Serializable

vtkExtentSplitter - Split an extent across other extents.. vtkExtentSplitter splits each input extent into non-overlapping sub-extents that are completely contained within other "source extents". A source extent corresponds to some resource providing an extent. Each source extent has an integer identifier, integer priority, and an extent. The input extents are split into sub-extents according to priority, availability, and amount of overlap of the source extents. This can be used by parallel data readers to read as few piece files as possible. JavaBean wrapper for vtkExtentSplitter 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
  vtkExtentSplitter()
           
protected vtkExtentSplitter(int dmy)
           
 
Method Summary
 void addExtent(int id0, int id1, int id2, int id3, int id4, int id5)
          Add an extent to the queue of extents to be split among the available sources.
 void addExtentSource(int id0, int id1, int id2, int id3, int id4, int id5, int id6, int id7)
          Add/Remove a source providing the given extent.
 int computeSubExtents()
          Split the extents currently in the queue among the available sources.
 java.lang.String getClassName()
          Return the class name as a string.
 int getNumberOfSubExtents()
          Get the number of sub-extents into which the original set of extents have been split across the available sources.
 int getPointMode()
          Get/Set whether "point mode" is on.
 int[] getSubExtent(int id0)
          Get the sub-extent associated with the given index.
 int getSubExtentSource(int id0)
          Get the id of the source from which the sub-extent associated with the given index should be read.
 vtkExtentSplitter getThisExtentSplitter()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void pointModeOff()
          Get/Set whether "point mode" is on.
 void pointModeOn()
          Get/Set whether "point mode" is on.
 void removeAllExtentSources()
          Add/Remove a source providing the given extent.
 void removeExtentSource(int id0)
          Add/Remove a source providing the given extent.
 void setPointMode(int id0)
          Get/Set whether "point mode" is on.
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

vtkExtentSplitter

public vtkExtentSplitter()

vtkExtentSplitter

protected vtkExtentSplitter(int dmy)
Method Detail

getThisExtentSplitter

public vtkExtentSplitter getThisExtentSplitter()

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

addExtentSource

public void addExtentSource(int id0,
                            int id1,
                            int id2,
                            int id3,
                            int id4,
                            int id5,
                            int id6,
                            int id7)
Add/Remove a source providing the given extent. Sources with higher priority numbers are favored. Source id numbers and priorities must be non-negative.


removeExtentSource

public void removeExtentSource(int id0)
Add/Remove a source providing the given extent. Sources with higher priority numbers are favored. Source id numbers and priorities must be non-negative.


removeAllExtentSources

public void removeAllExtentSources()
Add/Remove a source providing the given extent. Sources with higher priority numbers are favored. Source id numbers and priorities must be non-negative.


addExtent

public void addExtent(int id0,
                      int id1,
                      int id2,
                      int id3,
                      int id4,
                      int id5)
Add an extent to the queue of extents to be split among the available sources.


computeSubExtents

public int computeSubExtents()
Split the extents currently in the queue among the available sources. The queue is empty when this returns. Returns 1 if all extents could be read. Returns 0 if any portion of any extent was not available through any source.


getNumberOfSubExtents

public int getNumberOfSubExtents()
Get the number of sub-extents into which the original set of extents have been split across the available sources. Valid after a call to ComputeSubExtents.


getSubExtent

public int[] getSubExtent(int id0)
Get the sub-extent associated with the given index. Use GetSubExtentSource to get the id of the source from which this sub-extent should be read. Valid after a call to ComputeSubExtents.


getSubExtentSource

public int getSubExtentSource(int id0)
Get the id of the source from which the sub-extent associated with the given index should be read. Returns -1 if no source provides the sub-extent.


getPointMode

public int getPointMode()
Get/Set whether "point mode" is on. In point mode, sub-extents are generated to ensure every point in the update request is read, but not necessarily every cell. This can be used when point data are stored in a planar slice per piece with no cell data. The default is OFF.


setPointMode

public void setPointMode(int id0)
Get/Set whether "point mode" is on. In point mode, sub-extents are generated to ensure every point in the update request is read, but not necessarily every cell. This can be used when point data are stored in a planar slice per piece with no cell data. The default is OFF.


pointModeOn

public void pointModeOn()
Get/Set whether "point mode" is on. In point mode, sub-extents are generated to ensure every point in the update request is read, but not necessarily every cell. This can be used when point data are stored in a planar slice per piece with no cell data. The default is OFF.


pointModeOff

public void pointModeOff()
Get/Set whether "point mode" is on. In point mode, sub-extents are generated to ensure every point in the update request is read, but not necessarily every cell. This can be used when point data are stored in a planar slice per piece with no cell data. The default is OFF.


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.