public class ViewAttributes extends AttributeSubject
| Constructor and Description |
|---|
ViewAttributes() |
ViewAttributes(int nMoreFields) |
ViewAttributes(ViewAttributes obj) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Attach, boolArrayToString, boolToString, boolVectorToString, 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, WriteSelectpublic ViewAttributes()
public ViewAttributes(int nMoreFields)
public ViewAttributes(ViewAttributes obj)
public int Offset()
AttributeSubjectOffset in class AttributeSubjectpublic int GetNumAdditionalAttributes()
AttributeSubjectGetNumAdditionalAttributes in class AttributeSubjectpublic boolean equals(ViewAttributes obj)
public void SetViewNormal(double[] viewNormal_)
public void SetViewNormal(double e0,
double e1,
double e2)
public void SetFocus(double[] focus_)
public void SetFocus(double e0,
double e1,
double e2)
public void SetViewUp(double[] viewUp_)
public void SetViewUp(double e0,
double e1,
double e2)
public void SetViewAngle(double viewAngle_)
public void SetSetScale(boolean setScale_)
public void SetParallelScale(double parallelScale_)
public void SetNearPlane(double nearPlane_)
public void SetFarPlane(double farPlane_)
public void SetImagePan(double[] imagePan_)
public void SetImagePan(double e0,
double e1)
public void SetImageZoom(double imageZoom_)
public void SetPerspective(boolean perspective_)
public void SetWindowCoords(double[] windowCoords_)
public void SetWindowCoords(double e0,
double e1,
double e2,
double e3)
public void SetViewportCoords(double[] viewportCoords_)
public void SetViewportCoords(double e0,
double e1,
double e2,
double e3)
public void SetEyeAngle(double eyeAngle_)
public double[] GetViewNormal()
public double[] GetFocus()
public double[] GetViewUp()
public double GetViewAngle()
public boolean GetSetScale()
public double GetParallelScale()
public double GetNearPlane()
public double GetFarPlane()
public double[] GetImagePan()
public double GetImageZoom()
public boolean GetPerspective()
public double[] GetWindowCoords()
public double[] GetViewportCoords()
public double GetEyeAngle()
public void WriteAtts(CommunicationBuffer buf)
AttributeSubjectWriteAtts in class AttributeSubjectbuf - The communication buffer to which the object will be written.public void ReadAtts(int index,
CommunicationBuffer buf)
AttributeSubjectReadAtts in class AttributeSubjectbuf - The communication buffer to from which the object will be read.public java.lang.String toString(java.lang.String indent)
toString in class AttributeSubject