vtk
Class vtkRectilinearSynchronizedTemplates

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

public class vtkRectilinearSynchronizedTemplates
extends vtkPolyDataSource
implements java.io.Serializable

vtkRectilinearSynchronizedTemplates - generate isosurface from rectilinear grid. vtkRectilinearSynchronizedTemplates is a 3D implementation (for rectilinear grids) of the synchronized template algorithm. Note that vtkContourFilter will automatically use this class when appropriate if vtk was built with patents. JavaBean wrapper for vtkRectilinearSynchronizedTemplates object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkRectilinearSynchronizedTemplates()
           
protected vtkRectilinearSynchronizedTemplates(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 computeSpacing(vtkRectilinearGrid id0, int id1, int id2, int id3, int[] id4, double[] id5)
          Compute the spacing between this point and its 6 neighbors.
 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.
 vtkRectilinearGrid getInput()
          Set/Get the source for the scalar data to contour.
 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.
 vtkRectilinearSynchronizedTemplates getThisRectilinearSynchronizedTemplates()
           
 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(vtkRectilinearGrid id0)
          Set/Get the source for the scalar data to contour.
 void setNumberOfContours(int id0)
          Get the number of contours in the list of contour values.
 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

vtkRectilinearSynchronizedTemplates

public vtkRectilinearSynchronizedTemplates()

vtkRectilinearSynchronizedTemplates

protected vtkRectilinearSynchronizedTemplates(int dmy)
Method Detail

getThisRectilinearSynchronizedTemplates

public vtkRectilinearSynchronizedTemplates getThisRectilinearSynchronizedTemplates()

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(vtkRectilinearGrid id0)
Set/Get the source for the scalar data to contour.


getInput

public vtkRectilinearGrid 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.


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.


computeSpacing

public void computeSpacing(vtkRectilinearGrid id0,
                           int id1,
                           int id2,
                           int id3,
                           int[] id4,
                           double[] id5)
Compute the spacing between this point and its 6 neighbors. This method needs to be public so it can be accessed from a templated function.


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.