vtk
Class vtkMatrixToLinearTransform

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkAbstractTransform
              extended byvtk.vtkHomogeneousTransform
                  extended byvtk.vtkLinearTransform
                      extended byvtk.vtkMatrixToLinearTransform
All Implemented Interfaces:
java.io.Serializable

public class vtkMatrixToLinearTransform
extends vtkLinearTransform
implements java.io.Serializable

vtkMatrixToLinearTransform - convert a matrix to a transform. This is a very simple class which allows a vtkMatrix4x4 to be used in place of a vtkLinearTransform or vtkAbstractTransform. For example, if you use it as a proxy between a matrix and vtkTransformPolyDataFilter then any modifications to the matrix will automatically be reflected in the output of the filter. JavaBean wrapper for vtkMatrixToLinearTransform object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkTransform, vtkMatrix4x4, vtkMatrixToHomogeneousTransform, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkMatrixToLinearTransform()
           
protected vtkMatrixToLinearTransform(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 vtkMatrix4x4 getInput()
          Set the input matrix.
 int getMTime()
          Get the MTime: this is the bit of magic that makes everything work.
 vtkMatrixToLinearTransform getThisMatrixToLinearTransform()
           
 void inverse()
          The input matrix is left as-is, but the transformation matrix is inverted.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 vtkAbstractTransform makeTransform()
          Make a new transform of the same type.
 void setInput(vtkMatrix4x4 id0)
          Set the input matrix.
 void setMatrix(vtkMatrix4x4 id0)
           
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkLinearTransform
getLinearInverse, getThisLinearTransform, internalTransformNormal, internalTransformPoint, internalTransformVector, transformDoubleNormal, transformDoubleNormal, transformDoubleVector, transformDoubleVector, transformFloatNormal, transformFloatNormal, transformFloatVector, transformFloatVector, transformNormal, transformNormal, transformNormal, transformNormals, transformPoints, transformPointsNormalsVectors, transformVector, transformVector, transformVector, transformVectors
 
Methods inherited from class vtk.vtkHomogeneousTransform
getHomogeneousInverse, getMatrix, getMatrix, getThisHomogeneousTransform
 
Methods inherited from class vtk.vtkAbstractTransform
circuitCheck, deepCopy, getInverse, getThisAbstractTransform, identity, setInverse, transformDoubleNormalAtPoint, transformDoublePoint, transformDoublePoint, transformDoubleVectorAtPoint, transformFloatNormalAtPoint, transformFloatPoint, transformFloatPoint, transformFloatVectorAtPoint, transformNormalAtPoint, transformNormalAtPoint, transformPoint, transformPoint, transformPoint, transformVectorAtPoint, transformVectorAtPoint, unRegister, update
 
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

vtkMatrixToLinearTransform

public vtkMatrixToLinearTransform()

vtkMatrixToLinearTransform

protected vtkMatrixToLinearTransform(int dmy)
Method Detail

getThisMatrixToLinearTransform

public vtkMatrixToLinearTransform getThisMatrixToLinearTransform()

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 vtkLinearTransform

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 vtkLinearTransform

setInput

public void setInput(vtkMatrix4x4 id0)
Set the input matrix. Any modifications to the matrix will be reflected in the transformation.


getInput

public vtkMatrix4x4 getInput()
Set the input matrix. Any modifications to the matrix will be reflected in the transformation.


inverse

public void inverse()
The input matrix is left as-is, but the transformation matrix is inverted.

Overrides:
inverse in class vtkAbstractTransform

getMTime

public int getMTime()
Get the MTime: this is the bit of magic that makes everything work.

Overrides:
getMTime in class vtkAbstractTransform

makeTransform

public vtkAbstractTransform makeTransform()
Make a new transform of the same type.

Overrides:
makeTransform in class vtkAbstractTransform

setMatrix

public void setMatrix(vtkMatrix4x4 id0)

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkLinearTransform


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.