vtk
Class vtkTensor

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkTensor
All Implemented Interfaces:
java.io.Serializable

public class vtkTensor
extends vtkObject
implements java.io.Serializable

vtkTensor - supporting class to enable assignment and referencing of tensors. vtkTensor is a floating point representation of an nxn tensor. vtkTensor provides methods for assignment and reference of tensor components. It does it in such a way as to minimize data copying. JavaBean wrapper for vtkTensor object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkTensor()
           
protected vtkTensor(int dmy)
           
 
Method Summary
 void addComponent(int id0, int id1, double id2)
          Add to the value of the tensor component at location (i,j).
 void deepCopy(vtkTensor id0)
          Deep copy of one tensor to another tensor.
 java.lang.String getClassName()
          Return the class name as a string.
 double getComponent(int id0, int id1)
          Get the tensor component (i,j).
 vtkTensor getThisTensor()
           
 void initialize()
          Initialize tensor components to 0.0.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setComponent(int id0, int id1, double id2)
          Set the value of the tensor component (i,j).
protected  void VTKCastInit()
           
 void VTKInit()
           
 
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, unRegister
 
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

vtkTensor

public vtkTensor()

vtkTensor

protected vtkTensor(int dmy)
Method Detail

getThisTensor

public vtkTensor getThisTensor()

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 vtkObject

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 vtkObject

initialize

public void initialize()
Initialize tensor components to 0.0.


getComponent

public double getComponent(int id0,
                           int id1)
Get the tensor component (i,j).


setComponent

public void setComponent(int id0,
                         int id1,
                         double id2)
Set the value of the tensor component (i,j).


addComponent

public void addComponent(int id0,
                         int id1,
                         double id2)
Add to the value of the tensor component at location (i,j).


deepCopy

public void deepCopy(vtkTensor id0)
Deep copy of one tensor to another tensor.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkObject


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.