vtk
Class vtkSynchronizedTemplates3D

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

public class vtkSynchronizedTemplates3D
extends vtkPolyDataSource
implements java.io.Serializable

vtkSynchronizedTemplates3D - generate isosurface from structured points. vtkSynchronizedTemplates3D is a 3D implementation of the synchronized template algorithm. Note that vtkContourFilter will automatically use this class when appropriate if vtk was built with patents. JavaBean wrapper for vtkSynchronizedTemplates3D object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkSynchronizedTemplates3D()
           
protected vtkSynchronizedTemplates3D(int dmy)
           
 
Method Summary
 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)
          Generate numContours equally spaced contour values between specified range.
 void generateValues(int id0, double id1, double id2)
          Needed by templated functions.
 int getArrayComponent()
          Set/get which component of the scalar array to contour on; defaults to 0.
 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.
 int[] getExecuteExtent()
          Needed by templated functions.
 vtkImageData getInput()
          Set/Get the source for the scalar data to contour.
 int getInputMemoryLimit()
          Determines the chunk size fro streaming.
 java.lang.String getInputScalarsSelection()
          If you want to contour by an arbitrary array, then set its name here.
 int getMTime()
          Because we delegate to vtkContourValues
 int getNumberOfContours()
          Generate numContours equally spaced contour values between specified range.
 int getNumberOfThreads()
          Get/Set the number of threads to create when rendering
 int getNumberOfThreadsMaxValue()
          Get/Set the number of threads to create when rendering
 int getNumberOfThreadsMinValue()
          Get/Set the number of threads to create when rendering
 vtkSynchronizedTemplates3D getThisSynchronizedTemplates3D()
           
 double getValue(int id0)
          Get a pointer to an array of contour values.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void selectInputScalars(java.lang.String id0)
          Set/get which component of the scalar array to contour on; defaults to 0.
 void setArrayComponent(int id0)
          Set/get which component of the scalar array to contour on; defaults to 0.
 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)
          Determines the chunk size fro streaming.
 void setNumberOfContours(int id0)
          Get the number of contours in the list of contour values.
 void setNumberOfThreads(int id0)
          Get/Set the number of threads to create when rendering
 void setValue(int id0, double id1)
          Get the ith contour value.
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, update, 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

vtkSynchronizedTemplates3D

public vtkSynchronizedTemplates3D()

vtkSynchronizedTemplates3D

protected vtkSynchronizedTemplates3D(int dmy)
Method Detail

getThisSynchronizedTemplates3D

public vtkSynchronizedTemplates3D getThisSynchronizedTemplates3D()

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.


getMTime

public int getMTime()
Because we delegate to vtkContourValues

Overrides:
getMTime in class vtkObject

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.


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.


setValue

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


getValue

public double getValue(int id0)
Get a pointer to an array of contour values. There will be GetNumberOfContours() values in the list.


setNumberOfContours

public void setNumberOfContours(int id0)
Get the number of contours in the list of contour values.


getNumberOfContours

public int getNumberOfContours()
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)
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)
Needed by templated functions.


getExecuteExtent

public int[] getExecuteExtent()
Needed by templated functions.


setNumberOfThreads

public void setNumberOfThreads(int id0)
Get/Set the number of threads to create when rendering


getNumberOfThreadsMinValue

public int getNumberOfThreadsMinValue()
Get/Set the number of threads to create when rendering


getNumberOfThreadsMaxValue

public int getNumberOfThreadsMaxValue()
Get/Set the number of threads to create when rendering


getNumberOfThreads

public int getNumberOfThreads()
Get/Set the number of threads to create when rendering


setInputMemoryLimit

public void setInputMemoryLimit(int id0)
Determines the chunk size fro streaming. This filter will act like a collector: ask for many input pieces, but generate one output. Limit is in KBytes


getInputMemoryLimit

public int getInputMemoryLimit()
Determines the chunk size fro streaming. This filter will act like a collector: ask for many input pieces, but generate one output. Limit is in KBytes


getInputScalarsSelection

public java.lang.String getInputScalarsSelection()
If you want to contour by an arbitrary array, then set its name here. By default this in NULL and the filter will use the active scalar array.


selectInputScalars

public void selectInputScalars(java.lang.String id0)
Set/get which component of the scalar array to contour on; defaults to 0.


setArrayComponent

public void setArrayComponent(int id0)
Set/get which component of the scalar array to contour on; defaults to 0.


getArrayComponent

public int getArrayComponent()
Set/get which component of the scalar array to contour on; defaults to 0.


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.