vtk
Class vtkContourValues

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

public class vtkContourValues
extends vtkObject
implements java.io.Serializable

vtkContourValues - helper object to manage setting and generating contour values. vtkContourValues is a general class to manage the creation, generation, and retrieval of contour values. This class serves as a helper class for contouring classes, or those classes operating on lists of contour values. JavaBean wrapper for vtkContourValues 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
  vtkContourValues()
           
protected vtkContourValues(int dmy)
           
 
Method Summary
 void generateValues(int id0, double[] id1)
          Generate numContours equally spaced contour values between specified range.
 void generateValues(int id0, double id1, double id2)
          Generate numContours equally spaced contour values between specified range.
 java.lang.String getClassName()
          Return the class name as a string.
 int getNumberOfContours()
          Return the number of contours in the
 vtkContourValues getThisContourValues()
           
 double getValue(int id0)
          Get the ith contour value.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setNumberOfContours(int id0)
          Set the number of contours to place into the list.
 void setValue(int id0, double id1)
          Set the ith contour value.
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

vtkContourValues

public vtkContourValues()

vtkContourValues

protected vtkContourValues(int dmy)
Method Detail

getThisContourValues

public vtkContourValues getThisContourValues()

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

setValue

public void setValue(int id0,
                     double id1)
Set the ith contour value.


getValue

public double getValue(int id0)
Get the ith contour value. The return value will be clamped if the index i is out of range.


setNumberOfContours

public void setNumberOfContours(int id0)
Set the number of contours to place into the list. You only really need to use this method to reduce list size. The method SetValue() will automatically increase list size as needed.


getNumberOfContours

public int getNumberOfContours()
Return the number of contours in the


generateValues

public void generateValues(int id0,
                           double[] id1)
Generate numContours equally spaced contour values between specified range. Contour values will include min/max range values.


generateValues

public void generateValues(int id0,
                           double id1,
                           double id2)
Generate numContours equally spaced contour values between specified range. Contour values will include min/max range values.


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.