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.AxisAngle4d
axis_LOS
protected org.jogamp.vecmath.AxisAngle4d
axis_Up
protected Camera3D
camera_start
protected org.jogamp.vecmath.Quat4d
q_LOS
protected org.jogamp.vecmath.Quat4d
q_Up
boolean
set_target
boolean
set_zoom
View3D
view_target
Fields 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.Object
clone()
protected boolean
do_it(InterfaceGraphic g, long time)
Perform this task, contingent ontime
.java.lang.String
getDTD()
Returns the Data Type Declaration (DTD) for this object's XML representationjava.lang.String
getName()
java.lang.String
getXML(int tab)
Returns this object's XML representation as a single string.static XMLObject
getXMLInstance(org.xml.sax.Attributes attributes)
java.lang.String
getXMLSchema()
Returns the XML schema for this object's XML representationvoid
handleXMLElementStart(java.lang.String localName, org.xml.sax.Attributes attributes, XMLObject.XMLType type)
Handles the start of an XML element.void
setFromTask(VideoTask task)
void
setView(View3D view)
java.lang.String
toString()
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, writeXML
Methods 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:VideoTask
Perform this task, contingent ontime
.- Specified by:
do_it
in classVideoTask
- Returns:
- Throws:
VideoException
-
setView
-
getName
public java.lang.String getName() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getDTD
public java.lang.String getDTD()Description copied from interface:XMLObject
Returns 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:XMLObject
Returns the XML schema for this object's XML representation- Returns:
-
getXML
public java.lang.String getXML(int tab)Description copied from interface:XMLObject
Returns 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:XMLObject
Handles the start of an XML element.- Specified by:
handleXMLElementStart
in interfaceXMLObject
- Overrides:
handleXMLElementStart
in classVideoTask
- Parameters:
localName
- Local name of the elementattributes
- Set of element attributestype
- TheXMLType
of this element
-
setFromTask
- Specified by:
setFromTask
in classVideoTask
-
clone
public java.lang.Object clone() -
getXMLInstance
-