vtk
Class vtkCastToConcrete
java.lang.Object
vtk.vtkObjectBase
vtk.vtkObject
vtk.vtkProcessObject
vtk.vtkSource
vtk.vtkDataSetSource
vtk.vtkDataSetToDataSetFilter
vtk.vtkCastToConcrete
- All Implemented Interfaces:
- java.io.Serializable
- public class vtkCastToConcrete
- extends vtkDataSetToDataSetFilter
- implements java.io.Serializable
vtkCastToConcrete - works around type-checking limitations.
vtkCastToConcrete is a filter that works around type-checking limitations
in the filter classes. Some filters generate abstract types on output,
and cannot be connected to the input of filters requiring a concrete
input type. For example, vtkElevationFilter generates vtkDataSet for output,
and cannot be connected to vtkDecimate, because vtkDecimate requires
vtkPolyData as input. This is true even though (in this example) the input
to vtkElevationFilter is of type vtkPolyData, and you know the output of
vtkElevationFilter is the same type as its input.
vtkCastToConcrete performs run-time checking to insure that output type
is of the right type. An error message will result if you try to cast
an input type improperly. Otherwise, the filter performs the appropriate
cast and returns the data.
JavaBean wrapper for vtkCastToConcrete object.
- Author:
- vtk2jbean Automatic JavaBean wrapper for VTK.
- See Also:
vtkDataSetToDataSetFilter
,
Serialized Form
Field Summary |
protected java.beans.PropertyChangeSupport |
changes
|
Methods inherited from class vtk.vtkDataSetToDataSetFilter |
computeInputUpdateExtents, getInput, getOutput, getOutput, getPolyDataOutput, getRectilinearGridOutput, getStructuredGridOutput, getStructuredPointsOutput, getThisDataSetToDataSetFilter, getUnstructuredGridOutput, setInput |
Methods inherited from class vtk.vtkSource |
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, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changes
protected java.beans.PropertyChangeSupport changes
vtkCastToConcrete
public vtkCastToConcrete()
vtkCastToConcrete
protected vtkCastToConcrete(int dmy)
getThisCastToConcrete
public vtkCastToConcrete getThisCastToConcrete()
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 vtkDataSetToDataSetFilter
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 vtkDataSetToDataSetFilter
VTKInit
public void VTKInit()
- Overrides:
VTKInit
in class vtkObject
VTKCastInit
protected void VTKCastInit()
- Overrides:
VTKCastInit
in class vtkDataSetToDataSetFilter
Copyright © 2004 Sydney ViSLAB. All Rights Reserved.