vtk
Class vtkCellLinks

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

public class vtkCellLinks
extends vtkObject
implements java.io.Serializable

vtkCellLinks - object represents upward pointers from points to list of cells using each point. vtkCellLinks is a supplemental object to vtkCellArray and vtkCellTypes, enabling access from points to the cells using the points. vtkCellLinks is a list of Links, each link represents a dynamic list of cell id's using the point. The information provided by this object can be used to determine neighbors and construct other local topological information. JavaBean wrapper for vtkCellLinks object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkCellArray, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkCellLinks()
           
protected vtkCellLinks(int dmy)
           
 
Method Summary
 void addCellReference(int id0, int id1)
          Add the reference to the cell (cellId) from the point (ptId).
 void allocate(int id0, int id1)
          Allocate the specified number of links (i.e., number of points) that will be built.
 void buildLinks(vtkDataSet id0)
          Build the link list array.
 void buildLinks(vtkDataSet id0, vtkCellArray id1)
          Build the link list array.
 void deepCopy(vtkCellLinks id0)
          Standard DeepCopy method.
 void deletePoint(int id0)
          Delete point (and storage) by destroying links to using cells.
 int getActualMemorySize()
          Return the memory in kilobytes consumed by this cell links array.
 java.lang.String getClassName()
          Return the class name as a string.
 int getNcells(int id0)
          Get the number of cells using the point specified by ptId.
 vtkCellLinks getThisCellLinks()
           
 void insertNextCellReference(int id0, int id1)
          Insert a cell id into the list of cells (at the end) using the cell id provided.
 int insertNextPoint(int id0)
          Insert a new point into the cell-links data structure.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void removeCellReference(int id0, int id1)
          Delete the reference to the cell (cellId) from the point (ptId).
 void reset()
          Reset to a state of no entries without freeing the memory.
 void resizeCellList(int id0, int id1)
          Change the length of a point's link list (i.e., list of cells using a point) by the size specified.
 void squeeze()
          Reclaim any unused memory.
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

vtkCellLinks

public vtkCellLinks()

vtkCellLinks

protected vtkCellLinks(int dmy)
Method Detail

getThisCellLinks

public vtkCellLinks getThisCellLinks()

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

allocate

public void allocate(int id0,
                     int id1)
Allocate the specified number of links (i.e., number of points) that will be built.


getNcells

public int getNcells(int id0)
Get the number of cells using the point specified by ptId.


buildLinks

public void buildLinks(vtkDataSet id0)
Build the link list array.


buildLinks

public void buildLinks(vtkDataSet id0,
                       vtkCellArray id1)
Build the link list array.


insertNextPoint

public int insertNextPoint(int id0)
Insert a new point into the cell-links data structure. The size parameter is the initial size of the list.


insertNextCellReference

public void insertNextCellReference(int id0,
                                    int id1)
Insert a cell id into the list of cells (at the end) using the cell id provided. (Make sure to extend the link list (if necessary) using the method ResizeCellList().)


deletePoint

public void deletePoint(int id0)
Delete point (and storage) by destroying links to using cells.


removeCellReference

public void removeCellReference(int id0,
                                int id1)
Delete the reference to the cell (cellId) from the point (ptId). This removes the reference to the cellId from the cell list, but does not resize the list (recover memory with ResizeCellList(), if necessary).


addCellReference

public void addCellReference(int id0,
                             int id1)
Add the reference to the cell (cellId) from the point (ptId). This adds a reference to the cellId from the cell list, but does not resize the list (extend memory with ResizeCellList(), if necessary).


resizeCellList

public void resizeCellList(int id0,
                           int id1)
Change the length of a point's link list (i.e., list of cells using a point) by the size specified.


squeeze

public void squeeze()
Reclaim any unused memory.


reset

public void reset()
Reset to a state of no entries without freeing the memory.


getActualMemorySize

public int getActualMemorySize()
Return the memory in kilobytes consumed by this cell links array. Used to support streaming and reading/writing data. The value returned is guaranteed to be greater than or equal to the memory required to actually represent the data represented by this object. The information returned is valid only after the pipeline has been updated.


deepCopy

public void deepCopy(vtkCellLinks id0)
Standard DeepCopy method. Since this object contains no reference to other objects, there is no ShallowCopy.


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.