Package mgui.interfaces.graphics.video
Class SetView3DTask
java.lang.Object
mgui.interfaces.graphics.video.VideoTask
mgui.interfaces.graphics.video.VideoTask3D
mgui.interfaces.graphics.video.SetView3DTask
public class SetView3DTask extends VideoTask3D
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType -
Field Summary
Fields Modifier and Type Field Description protected org.jogamp.vecmath.AxisAngle4daxis_LOSprotected org.jogamp.vecmath.AxisAngle4daxis_Upprotected Camera3Dcamera_startprotected org.jogamp.vecmath.Quat4dq_LOSprotected org.jogamp.vecmath.Quat4dq_Upbooleanset_targetbooleanset_zoomView3Dview_targetFields inherited from class mgui.interfaces.graphics.video.VideoTask
isOn, start_time, started, stop_time -
Constructor Summary
Constructors Constructor Description SetView3DTask()SetView3DTask(long start, long stop, View3D view)SetView3DTask(long start, long stop, View3D view, boolean set_zoom, boolean set_target) -
Method Summary
Modifier and Type Method Description java.lang.Objectclone()protected booleando_it(InterfaceGraphic g, long time)Perform this task, contingent ontime.java.lang.StringgetDTD()Returns the Data Type Declaration (DTD) for this object's XML representationjava.lang.StringgetName()java.lang.StringgetXML(int tab)Returns this object's XML representation as a single string.static XMLObjectgetXMLInstance(org.xml.sax.Attributes attributes)java.lang.StringgetXMLSchema()Returns the XML schema for this object's XML representationvoidhandleXMLElementStart(java.lang.String localName, org.xml.sax.Attributes attributes, XMLObject.XMLType type)Handles the start of an XML element.voidsetFromTask(VideoTask task)voidsetView(View3D view)java.lang.StringtoString()Methods inherited from class mgui.interfaces.graphics.video.VideoTask
compareTo, getLocalName, getSchema, getShortXML, getShortXML, getStart, getStop, getXML, handleXMLElementEnd, handleXMLString, isActive, perform, reset, setStart, setStop, updateTask, writeXML, writeXML, writeXMLMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
view_target
-
camera_start
-
q_LOS
protected org.jogamp.vecmath.Quat4d q_LOS -
q_Up
protected org.jogamp.vecmath.Quat4d q_Up -
axis_LOS
protected org.jogamp.vecmath.AxisAngle4d axis_LOS -
axis_Up
protected org.jogamp.vecmath.AxisAngle4d axis_Up -
set_zoom
public boolean set_zoom -
set_target
public boolean set_target
-
-
Constructor Details
-
SetView3DTask
public SetView3DTask() -
SetView3DTask
-
SetView3DTask
-
-
Method Details
-
do_it
Description copied from class:VideoTaskPerform this task, contingent ontime.- Specified by:
do_itin classVideoTask- Returns:
- Throws:
VideoException
-
setView
-
getName
public java.lang.String getName() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getDTD
public java.lang.String getDTD()Description copied from interface:XMLObjectReturns the Data Type Declaration (DTD) for this object's XML representationSee http://en.wikipedia.org/wiki/Document_Type_Definition for a description.
-
getXMLSchema
public java.lang.String getXMLSchema()Description copied from interface:XMLObjectReturns the XML schema for this object's XML representation- Returns:
-
getXML
public java.lang.String getXML(int tab)Description copied from interface:XMLObjectReturns this object's XML representation as a single string. NOTE: this is not feasible for larger objects and containers, thus may not be implemented for these objects. Use theXMLObject.writeXML(int,java.io.Writer,mgui.io.standard.xml.XMLOutputOptions,mgui.interfaces.ProgressUpdater)functions to write larger objects to file. -
handleXMLElementStart
public void handleXMLElementStart(java.lang.String localName, org.xml.sax.Attributes attributes, XMLObject.XMLType type)Description copied from interface:XMLObjectHandles the start of an XML element.- Specified by:
handleXMLElementStartin interfaceXMLObject- Overrides:
handleXMLElementStartin classVideoTask- Parameters:
localName- Local name of the elementattributes- Set of element attributestype- TheXMLTypeof this element
-
setFromTask
- Specified by:
setFromTaskin classVideoTask
-
clone
public java.lang.Object clone() -
getXMLInstance
-