vtk
Class vtkHomogeneousTransform

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkAbstractTransform
              extended byvtk.vtkHomogeneousTransform
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkLinearTransform, vtkMatrixToHomogeneousTransform, vtkPerspectiveTransform

public class vtkHomogeneousTransform
extends vtkAbstractTransform
implements java.io.Serializable

vtkHomogeneousTransform - superclass for homogeneous transformations. vtkHomogeneousTransform provides a generic interface for homogeneous transformations, i.e. transformations which can be represented by multiplying a 4x4 matrix with a homogeneous coordinate. JavaBean wrapper for vtkHomogeneousTransform object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkHomogeneousTransform()
           
protected vtkHomogeneousTransform(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 vtkHomogeneousTransform getHomogeneousInverse()
          Just like GetInverse(), but includes typecast to vtkHomogeneousTransform.
 vtkMatrix4x4 getMatrix()
          Get a pointer to an internal vtkMatrix4x4 that represents the transformation.
 void getMatrix(vtkMatrix4x4 id0)
          Get a copy of the internal transformation matrix.
 vtkHomogeneousTransform getThisHomogeneousTransform()
           
 void internalTransformPoint(double[] id0, double[] id1)
          This will calculate the transformation without calling Update.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void transformPoints(vtkPoints id0, vtkPoints id1)
          Apply the transformation to a series of points, and append the results to outPts.
 void transformPointsNormalsVectors(vtkPoints id0, vtkPoints id1, vtkDataArray id2, vtkDataArray id3, vtkDataArray id4, vtkDataArray id5)
          Apply the transformation to a combination of points, normals and vectors.
protected  void VTKCastInit()
           
 
Methods inherited from class vtk.vtkAbstractTransform
circuitCheck, deepCopy, getInverse, getMTime, getThisAbstractTransform, identity, inverse, makeTransform, 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, VTKInit
 
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

vtkHomogeneousTransform

public vtkHomogeneousTransform()

vtkHomogeneousTransform

protected vtkHomogeneousTransform(int dmy)
Method Detail

getThisHomogeneousTransform

public vtkHomogeneousTransform getThisHomogeneousTransform()

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 vtkAbstractTransform

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 vtkAbstractTransform

transformPoints

public void transformPoints(vtkPoints id0,
                            vtkPoints id1)
Apply the transformation to a series of points, and append the results to outPts.

Overrides:
transformPoints in class vtkAbstractTransform

transformPointsNormalsVectors

public void transformPointsNormalsVectors(vtkPoints id0,
                                          vtkPoints id1,
                                          vtkDataArray id2,
                                          vtkDataArray id3,
                                          vtkDataArray id4,
                                          vtkDataArray id5)
Apply the transformation to a combination of points, normals and vectors.

Overrides:
transformPointsNormalsVectors in class vtkAbstractTransform

getMatrix

public void getMatrix(vtkMatrix4x4 id0)
Get a copy of the internal transformation matrix. The transform is Updated first, to guarantee that the matrix is valid.


getMatrix

public vtkMatrix4x4 getMatrix()
Get a pointer to an internal vtkMatrix4x4 that represents the transformation. An Update() is called on the transform to ensure that the matrix is up-to-date when you get it. You should not store the matrix pointer anywhere because it might become stale.


getHomogeneousInverse

public vtkHomogeneousTransform getHomogeneousInverse()
Just like GetInverse(), but includes typecast to vtkHomogeneousTransform.


internalTransformPoint

public void internalTransformPoint(double[] id0,
                                   double[] id1)
This will calculate the transformation without calling Update. Meant for use only within other VTK classes.

Overrides:
internalTransformPoint in class vtkAbstractTransform

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkAbstractTransform


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.