vtk
Class vtkImageMarchingCubes

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkPolyDataSource
                      extended byvtk.vtkImageMarchingCubes
All Implemented Interfaces:
java.io.Serializable

public class vtkImageMarchingCubes
extends vtkPolyDataSource
implements java.io.Serializable

vtkImageMarchingCubes - generate isosurface(s) from volume/images. vtkImageMarchingCubes is a filter that takes as input images (e.g., 3D image region) and generates on output one or more isosurfaces. One or more contour values must be specified to generate the isosurfaces. Alternatively, you can specify a min/max scalar range and the number of contours to generate a series of evenly spaced contour values. This filter can stream, so that the entire volume need not be loaded at once. Streaming is controlled using the instance variable InputMemoryLimit, which has units KBytes. JavaBean wrapper for vtkImageMarchingCubes object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkContourFilter, vtkSliceCubes, vtkMarchingSquares, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageMarchingCubes()
           
protected vtkImageMarchingCubes(int dmy)
           
 
Method Summary
 void addLocatorPoint(int id0, int id1, int id2, int id3)
           
 void computeGradientsOff()
          Set/Get the computation of gradients.
 void computeGradientsOn()
          Set/Get the computation of gradients.
 void computeNormalsOff()
          Set/Get the computation of normals.
 void computeNormalsOn()
          Set/Get the computation of normals.
 void computeScalarsOff()
          Set/Get the computation of scalars.
 void computeScalarsOn()
          Set/Get the computation of scalars.
 void generateValues(int id0, double[] id1)
           
 void generateValues(int id0, double id1, double id2)
           
 java.lang.String getClassName()
          Return the class name as a string.
 int getComputeGradients()
          Set/Get the computation of gradients.
 int getComputeNormals()
          Set/Get the computation of normals.
 int getComputeScalars()
          Set/Get the computation of scalars.
 vtkImageData getInput()
          Set/Get the source for the scalar data to contour.
 int getInputMemoryLimit()
          The InputMemoryLimit determines the chunk size (the number of slices requested at each iteration).
 int getLocatorPoint(int id0, int id1, int id2)
           
 int getMTime()
          Return this object's modified time.
 int getNumberOfContours()
           
 vtkImageMarchingCubes getThisImageMarchingCubes()
           
 double getValue(int id0)
           
 void incrementLocatorZ()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setComputeGradients(int id0)
          Set/Get the computation of gradients.
 void setComputeNormals(int id0)
          Set/Get the computation of normals.
 void setComputeScalars(int id0)
          Set/Get the computation of scalars.
 void setInput(vtkImageData id0)
          Set/Get the source for the scalar data to contour.
 void setInputMemoryLimit(int id0)
          The InputMemoryLimit determines the chunk size (the number of slices requested at each iteration).
 void setNumberOfContours(int id0)
           
 void setValue(int id0, double id1)
           
 void update()
          Bring object up-to-date before execution.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkPolyDataSource
getOutput, getOutput, getThisPolyDataSource, setOutput
 
Methods inherited from class vtk.vtkSource
computeInputUpdateExtents, getNumberOfOutputs, getOutputIndex, getReleaseDataFlag, getThisSource, inRegisterLoop, propagateUpdateExtent, releaseDataFlagOff, releaseDataFlagOn, setReleaseDataFlag, triggerAsynchronousUpdate, unRegister, unRegisterAllOutputs, updateData, updateInformation, updateWholeExtent
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay
 
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

vtkImageMarchingCubes

public vtkImageMarchingCubes()

vtkImageMarchingCubes

protected vtkImageMarchingCubes(int dmy)
Method Detail

getThisImageMarchingCubes

public vtkImageMarchingCubes getThisImageMarchingCubes()

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 vtkPolyDataSource

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 vtkPolyDataSource

setInput

public void setInput(vtkImageData id0)
Set/Get the source for the scalar data to contour.


getInput

public vtkImageData getInput()
Set/Get the source for the scalar data to contour.


setValue

public void setValue(int id0,
                     double id1)

getValue

public double getValue(int id0)

setNumberOfContours

public void setNumberOfContours(int id0)

getNumberOfContours

public int getNumberOfContours()

generateValues

public void generateValues(int id0,
                           double[] id1)

generateValues

public void generateValues(int id0,
                           double id1,
                           double id2)

getMTime

public int getMTime()
Description copied from class: vtkObject
Return this object's modified time.

Overrides:
getMTime in class vtkObject

setComputeScalars

public void setComputeScalars(int id0)
Set/Get the computation of scalars.


getComputeScalars

public int getComputeScalars()
Set/Get the computation of scalars.


computeScalarsOn

public void computeScalarsOn()
Set/Get the computation of scalars.


computeScalarsOff

public void computeScalarsOff()
Set/Get the computation of scalars.


setComputeNormals

public void setComputeNormals(int id0)
Set/Get the computation of normals. Normal computation is fairly expensive in both time and storage. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


getComputeNormals

public int getComputeNormals()
Set/Get the computation of normals. Normal computation is fairly expensive in both time and storage. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


computeNormalsOn

public void computeNormalsOn()
Set/Get the computation of normals. Normal computation is fairly expensive in both time and storage. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


computeNormalsOff

public void computeNormalsOff()
Set/Get the computation of normals. Normal computation is fairly expensive in both time and storage. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


setComputeGradients

public void setComputeGradients(int id0)
Set/Get the computation of gradients. Gradient computation is fairly expensive in both time and storage. Note that if ComputeNormals is on, gradients will have to be calculated, but will not be stored in the output dataset. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


getComputeGradients

public int getComputeGradients()
Set/Get the computation of gradients. Gradient computation is fairly expensive in both time and storage. Note that if ComputeNormals is on, gradients will have to be calculated, but will not be stored in the output dataset. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


computeGradientsOn

public void computeGradientsOn()
Set/Get the computation of gradients. Gradient computation is fairly expensive in both time and storage. Note that if ComputeNormals is on, gradients will have to be calculated, but will not be stored in the output dataset. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


computeGradientsOff

public void computeGradientsOff()
Set/Get the computation of gradients. Gradient computation is fairly expensive in both time and storage. Note that if ComputeNormals is on, gradients will have to be calculated, but will not be stored in the output dataset. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.


getLocatorPoint

public int getLocatorPoint(int id0,
                           int id1,
                           int id2)

addLocatorPoint

public void addLocatorPoint(int id0,
                            int id1,
                            int id2,
                            int id3)

incrementLocatorZ

public void incrementLocatorZ()

update

public void update()
Description copied from class: vtkSource
Bring object up-to-date before execution. Update() checks modified time against last execution time, and re-executes object if necessary.

Overrides:
update in class vtkSource

setInputMemoryLimit

public void setInputMemoryLimit(int id0)
The InputMemoryLimit determines the chunk size (the number of slices requested at each iteration). The units of this limit is KiloBytes. For now, only the Z axis is split.


getInputMemoryLimit

public int getInputMemoryLimit()
The InputMemoryLimit determines the chunk size (the number of slices requested at each iteration). The units of this limit is KiloBytes. For now, only the Z axis is split.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkPolyDataSource


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.