vtk
Class vtkStructuredData

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

public class vtkStructuredData
extends vtkObject
implements java.io.Serializable

vtkStructuredData - abstract class for topologically regular data. vtkStructuredData is an abstract class that specifies an interface for topologically regular data. Regular data is data that can be accessed in rectangular fashion using an i-j-k index. A finite difference grid, a volume, or a pixmap are all considered regular. JavaBean wrapper for vtkStructuredData 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
  vtkStructuredData()
           
protected vtkStructuredData(int dmy)
           
 
Method Summary
 int computeCellId(int[] id0, int[] id1)
          Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the cell id.
 int computePointId(int[] id0, int[] id1)
          Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the cell id.
 void getCellNeigbors(int id0, vtkIdList id1, vtkIdList id2, int[] id3)
          Get the cells using the points ptIds, exclusive of the cell cellId.
 void getCellPoints(int id0, vtkIdList id1, int id2, int[] id3)
          Get the points defining a cell.
 java.lang.String getClassName()
          Return the class name as a string.
 int getDataDimension(int id0)
          Return the topological dimension of the data (e.g., 0, 1, 2, or 3D).
 void getPointCells(int id0, vtkIdList id1, int[] id2)
          Get the cells using a point.
 vtkStructuredData getThisStructuredData()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 int setDimensions(int[] id0, int[] id1)
          Specify the dimensions of a regular, rectangular dataset.
 int setExtent(int[] id0, int[] id1)
          Specify the dimensions of a regular, rectangular dataset.
protected  void VTKCastInit()
           
 
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, 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

vtkStructuredData

public vtkStructuredData()

vtkStructuredData

protected vtkStructuredData(int dmy)
Method Detail

getThisStructuredData

public vtkStructuredData getThisStructuredData()

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

setDimensions

public int setDimensions(int[] id0,
                         int[] id1)
Specify the dimensions of a regular, rectangular dataset. The input is the new dimensions (inDim) and the current dimensions (dim). The function returns the dimension of the dataset (0-3D). If the dimensions are improperly specified a -1 is returned. If the dimensions are unchanged, a value of 100 is returned.


setExtent

public int setExtent(int[] id0,
                     int[] id1)
Specify the dimensions of a regular, rectangular dataset. The input is the new dimensions (inDim) and the current dimensions (dim). The function returns the dimension of the dataset (0-3D). If the dimensions are improperly specified a -1 is returned. If the dimensions are unchanged, a value of 100 is returned.


getDataDimension

public int getDataDimension(int id0)
Return the topological dimension of the data (e.g., 0, 1, 2, or 3D).


getCellPoints

public void getCellPoints(int id0,
                          vtkIdList id1,
                          int id2,
                          int[] id3)
Get the points defining a cell. (See vtkDataSet for more info.)


getPointCells

public void getPointCells(int id0,
                          vtkIdList id1,
                          int[] id2)
Get the cells using a point. (See vtkDataSet for more info.)


getCellNeigbors

public void getCellNeigbors(int id0,
                            vtkIdList id1,
                            vtkIdList id2,
                            int[] id3)
Get the cells using the points ptIds, exclusive of the cell cellId. (See vtkDataSet for more info.)


computePointId

public int computePointId(int[] id0,
                          int[] id1)
Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the cell id.


computeCellId

public int computeCellId(int[] id0,
                         int[] id1)
Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the cell id.


VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkObject


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.