vtk
Class vtkActor2DCollection

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkCollection
              extended byvtk.vtkPropCollection
                  extended byvtk.vtkActor2DCollection
All Implemented Interfaces:
java.io.Serializable

public class vtkActor2DCollection
extends vtkPropCollection
implements java.io.Serializable

vtkActor2DCollection. vtkActor2DCollection is a subclass of vtkCollection. vtkActor2DCollection maintains a collection of vtkActor2D objects that is sorted by layer number, with lower layer numbers at the start of the list. This allows the vtkActor2D objects to be rendered in the correct order. JavaBean wrapper for vtkActor2DCollection object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkActor2DCollection()
           
protected vtkActor2DCollection(int dmy)
           
 
Method Summary
 void addItem(vtkActor2D id0)
          Add an actor to the list.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkActor2D getLastActor2D()
          Standard Collection methods
 vtkActor2D getLastItem()
          Access routines that are provided for compatibility with previous version of VTK.
 vtkActor2D getNextActor2D()
          Standard Collection methods
 vtkActor2D getNextItem()
          Access routines that are provided for compatibility with previous version of VTK.
 vtkActor2DCollection getThisActor2DCollection()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 int isItemPresent(vtkActor2D id0)
          Standard Collection methods
 void renderOverlay(vtkViewport id0)
          Sort and then render the collection of 2D actors.
 void sort()
          Sorts the vtkActor2DCollection by layer number.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkPropCollection
addItem, getLastProp, getNextProp, getNumberOfPaths, getThisPropCollection
 
Methods inherited from class vtk.vtkCollection
addItem, getItemAsObject, getNextItemAsObject, getNumberOfItems, getThisCollection, initTraversal, isItemPresent, newIterator, removeAllItems, removeItem, removeItem, replaceItem
 
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

vtkActor2DCollection

public vtkActor2DCollection()

vtkActor2DCollection

protected vtkActor2DCollection(int dmy)
Method Detail

getThisActor2DCollection

public vtkActor2DCollection getThisActor2DCollection()

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 vtkPropCollection

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 vtkPropCollection

sort

public void sort()
Sorts the vtkActor2DCollection by layer number. Smaller layer numbers are first. Layer numbers can be any integer value.


addItem

public void addItem(vtkActor2D id0)
Add an actor to the list. The new actor is inserted in the list according to it's layer number.


isItemPresent

public int isItemPresent(vtkActor2D id0)
Standard Collection methods


getNextActor2D

public vtkActor2D getNextActor2D()
Standard Collection methods


getLastActor2D

public vtkActor2D getLastActor2D()
Standard Collection methods


getNextItem

public vtkActor2D getNextItem()
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor2D(), GetLastActor2D() variants where possible.


getLastItem

public vtkActor2D getLastItem()
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor2D(), GetLastActor2D() variants where possible.


renderOverlay

public void renderOverlay(vtkViewport id0)
Sort and then render the collection of 2D actors.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkPropCollection

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkPropCollection


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.