llnl.visit
Class ViewAttributes

java.lang.Object
  extended by llnl.visit.AttributeSubject
      extended by llnl.visit.ViewAttributes

public class ViewAttributes
extends AttributeSubject


Constructor Summary
ViewAttributes()
           
ViewAttributes(int nMoreFields)
           
ViewAttributes(ViewAttributes obj)
           
 
Method Summary
 boolean equals(ViewAttributes obj)
           
 double GetEyeAngle()
           
 double GetFarPlane()
           
 double[] GetFocus()
           
 double[] GetImagePan()
           
 double GetImageZoom()
           
 double GetNearPlane()
           
 int GetNumAdditionalAttributes()
          Returns the number of attributes added in this level of the state object.
 double GetParallelScale()
           
 boolean GetPerspective()
           
 boolean GetSetScale()
           
 double GetViewAngle()
           
 double[] GetViewNormal()
           
 double[] GetViewportCoords()
           
 double[] GetViewUp()
           
 double[] GetWindowCoords()
           
 int Offset()
          Returns the offset into the selected table where this state object's fields begin.
 void ReadAtts(int index, CommunicationBuffer buf)
          Reads the specified index's data from the buffer into the object.
 void SetEyeAngle(double eyeAngle_)
           
 void SetFarPlane(double farPlane_)
           
 void SetFocus(double[] focus_)
           
 void SetFocus(double e0, double e1, double e2)
           
 void SetImagePan(double[] imagePan_)
           
 void SetImagePan(double e0, double e1)
           
 void SetImageZoom(double imageZoom_)
           
 void SetNearPlane(double nearPlane_)
           
 void SetParallelScale(double parallelScale_)
           
 void SetPerspective(boolean perspective_)
           
 void SetSetScale(boolean setScale_)
           
 void SetViewAngle(double viewAngle_)
           
 void SetViewNormal(double[] viewNormal_)
           
 void SetViewNormal(double e0, double e1, double e2)
           
 void SetViewportCoords(double[] viewportCoords_)
           
 void SetViewportCoords(double e0, double e1, double e2, double e3)
           
 void SetViewUp(double[] viewUp_)
           
 void SetViewUp(double e0, double e1, double e2)
           
 void SetWindowCoords(double[] windowCoords_)
           
 void SetWindowCoords(double e0, double e1, double e2, double e3)
           
 java.lang.String toString(java.lang.String indent)
           
 void WriteAtts(CommunicationBuffer buf)
          Writes the selected fields of the object to the buffer.
 
Methods inherited from class llnl.visit.AttributeSubject
Attach, boolToString, Detach, doubleArrayToString, doubleToString, doubleVectorToString, floatArrayToString, floatToString, floatVectorToString, GetAttributeId, GetClassName, intArrayToString, intToString, intVectorToString, IsSelected, Notify, NumAttributes, NumAttributesSelected, Read, Select, SelectAll, SetAttributeId, stringToString, stringVectorToString, toString, ucharArrayToString, ucharToString, ucharVectorToString, UnSelectAll, Write, WriteSelect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewAttributes

public ViewAttributes()

ViewAttributes

public ViewAttributes(int nMoreFields)

ViewAttributes

public ViewAttributes(ViewAttributes obj)
Method Detail

Offset

public int Offset()
Description copied from class: AttributeSubject
Returns the offset into the selected table where this state object's fields begin.

Overrides:
Offset in class AttributeSubject
Returns:
An offset into the selected table.

GetNumAdditionalAttributes

public int GetNumAdditionalAttributes()
Description copied from class: AttributeSubject
Returns the number of attributes added in this level of the state object.

Overrides:
GetNumAdditionalAttributes in class AttributeSubject
Returns:
The number of attributes added in this level of the state object.

equals

public boolean equals(ViewAttributes obj)

SetViewNormal

public void SetViewNormal(double[] viewNormal_)

SetViewNormal

public void SetViewNormal(double e0,
                          double e1,
                          double e2)

SetFocus

public void SetFocus(double[] focus_)

SetFocus

public void SetFocus(double e0,
                     double e1,
                     double e2)

SetViewUp

public void SetViewUp(double[] viewUp_)

SetViewUp

public void SetViewUp(double e0,
                      double e1,
                      double e2)

SetViewAngle

public void SetViewAngle(double viewAngle_)

SetSetScale

public void SetSetScale(boolean setScale_)

SetParallelScale

public void SetParallelScale(double parallelScale_)

SetNearPlane

public void SetNearPlane(double nearPlane_)

SetFarPlane

public void SetFarPlane(double farPlane_)

SetImagePan

public void SetImagePan(double[] imagePan_)

SetImagePan

public void SetImagePan(double e0,
                        double e1)

SetImageZoom

public void SetImageZoom(double imageZoom_)

SetPerspective

public void SetPerspective(boolean perspective_)

SetWindowCoords

public void SetWindowCoords(double[] windowCoords_)

SetWindowCoords

public void SetWindowCoords(double e0,
                            double e1,
                            double e2,
                            double e3)

SetViewportCoords

public void SetViewportCoords(double[] viewportCoords_)

SetViewportCoords

public void SetViewportCoords(double e0,
                              double e1,
                              double e2,
                              double e3)

SetEyeAngle

public void SetEyeAngle(double eyeAngle_)

GetViewNormal

public double[] GetViewNormal()

GetFocus

public double[] GetFocus()

GetViewUp

public double[] GetViewUp()

GetViewAngle

public double GetViewAngle()

GetSetScale

public boolean GetSetScale()

GetParallelScale

public double GetParallelScale()

GetNearPlane

public double GetNearPlane()

GetFarPlane

public double GetFarPlane()

GetImagePan

public double[] GetImagePan()

GetImageZoom

public double GetImageZoom()

GetPerspective

public boolean GetPerspective()

GetWindowCoords

public double[] GetWindowCoords()

GetViewportCoords

public double[] GetViewportCoords()

GetEyeAngle

public double GetEyeAngle()

WriteAtts

public void WriteAtts(CommunicationBuffer buf)
Description copied from class: AttributeSubject
Writes the selected fields of the object to the buffer.

Overrides:
WriteAtts in class AttributeSubject
Parameters:
buf - The communication buffer to which the object will be written.

ReadAtts

public void ReadAtts(int index,
                     CommunicationBuffer buf)
Description copied from class: AttributeSubject
Reads the specified index's data from the buffer into the object.

Specified by:
ReadAtts in class AttributeSubject
buf - The communication buffer to from which the object will be read.

toString

public java.lang.String toString(java.lang.String indent)
Overrides:
toString in class AttributeSubject