X.HoverEndEvent
diff --git a/HoverEvent.html b/HoverEvent.html index 2a07745..7a3051e 100644 --- a/HoverEvent.html +++ b/HoverEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.HoverEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.HoverEvent
diff --git a/ModifiedEvent.html b/ModifiedEvent.html index 9aa1fcd..3baf082 100644 --- a/ModifiedEvent.html +++ b/ModifiedEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.ModifiedEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.ModifiedEvent
diff --git a/PanEvent.html b/PanEvent.html index e555ab8..86f6f2e 100644 --- a/PanEvent.html +++ b/PanEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.PanEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.PanEvent
@@ -93,7 +93,7 @@X.PanEvent
/** * The distance to pan in screen space. * -* @type {!goog.math.Vec2} +* @type {!X.vector} * @protected */P._distance = $_DISTANCE;
diff --git a/ProgressEvent.html b/ProgressEvent.html
index 8d1da59..fb33a54 100644
--- a/ProgressEvent.html
+++ b/ProgressEvent.html
@@ -52,7 +52,7 @@
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
- [{v:"goog.events.Event",f:"goog.events.Event"},null,null],
+ [{v:"goog.events.Event",f:"goog.events.Event"},null,null],
["X.event","goog.events.Event",null],
["X.ProgressEvent","X.event",null],
@@ -71,7 +71,7 @@
The X Toolkit API
- +X.ProgressEvent
diff --git a/RenderEvent.html b/RenderEvent.html index beceb64..3d38da1 100644 --- a/RenderEvent.html +++ b/RenderEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.RenderEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.RenderEvent
diff --git a/ResetViewEvent.html b/ResetViewEvent.html index 5cab14d..20a3752 100644 --- a/ResetViewEvent.html +++ b/ResetViewEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.ResetViewEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.ResetViewEvent
diff --git a/RotateEvent.html b/RotateEvent.html index 8b9f1e1..764faba 100644 --- a/RotateEvent.html +++ b/RotateEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.RotateEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.RotateEvent
@@ -93,7 +93,7 @@X.RotateEvent
/** * The distance to pan in screen space. * -* @type {!goog.math.Vec2} +* @type {!X.vector} * @protected */R._distance = $_DISTANCE;
diff --git a/ScrollEvent.html b/ScrollEvent.html
index 6439976..6198874 100644
--- a/ScrollEvent.html
+++ b/ScrollEvent.html
@@ -52,7 +52,7 @@
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
- [{v:"goog.events.Event",f:"goog.events.Event"},null,null],
+ [{v:"goog.events.Event",f:"goog.events.Event"},null,null],
["X.event","goog.events.Event",null],
["X.ScrollEvent","X.event",null],
@@ -71,7 +71,7 @@
The X Toolkit API
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ZoomEvent.html b/ZoomEvent.html index 4503eac..905e50b 100644 --- a/ZoomEvent.html +++ b/ZoomEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.ZoomEvent","X.event",null], @@ -71,7 +71,7 @@
The X Toolkit API
- +X.ScrollEvent
diff --git a/WindowLevelEvent.html b/WindowLevelEvent.html index 0df433f..5cf6ef9 100644 --- a/WindowLevelEvent.html +++ b/WindowLevelEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.WindowLevelEvent","X.event",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.WindowLevelEvent
diff --git a/X.html b/X.html new file mode 100644 index 0000000..03e2409 --- /dev/null +++ b/X.html @@ -0,0 +1,135 @@ + + +The X Toolkit API
+ + +
+
+
+ X.X
+ This class has no public members.
+
/** +* Can be used to check if the XTK library was compiled. +* +* +* if (X.DEV === undefined) { +* // xtk was compiled +* } +* +* +* @type {boolean} +*/+X.X.DEV();
+
/** +* Timer functionality which can be used in developer mode to clock certain +* things. +* +* +* X.TIMER(this._classname+'.functionname'); +* +* ... stuff is happening +* +* +* @param {string} what The title of this timer. +*/+X.X.TIMER($WHAT);
+
+ /** +* Timer functionality which can be used in developer mode to clock certain +* things. +* +* +* ... stuff was happening +* +* X.TIMERSTOP(this._classname+'.functionname'); +* +* +* @param {string} what The title of this timer. +*/+X.X.TIMERSTOP($WHAT);
+
+ CONSTRUCTORS
+
+ PROPERTIES
+
+ GETTERS/SETTERS
+
+ FUNCTIONS
+
+ STATIC
+ DEV
TIMER
TIMERSTOP
+SOURCECODE
+
+
+ + CONSTRUCTORS
+
+ PROPERTIES
+
+ GETTERS/SETTERS
+
+ FUNCTIONS
+
+ STATIC
+ DEV
TIMER
TIMERSTOP
+
+ + + \ No newline at end of file diff --git a/ZoomEvent.html b/ZoomEvent.html index 4503eac..905e50b 100644 --- a/ZoomEvent.html +++ b/ZoomEvent.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ["X.ZoomEvent","X.event",null], @@ -71,7 +71,7 @@
The X Toolkit API
- +X.ZoomEvent
diff --git a/array.html b/array.html index 398c591..15442e2 100644 --- a/array.html +++ b/array.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.array","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.array
diff --git a/base.html b/base.html index 1ad11bd..aa973d4 100644 --- a/base.html +++ b/base.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ]); @@ -70,7 +70,7 @@The X Toolkit API
- +X.base
diff --git a/buffer.html b/buffer.html index f9b6c7b..cb68f97 100644 --- a/buffer.html +++ b/buffer.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.buffer","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.buffer
diff --git a/camera.html b/camera.html index 5247c6f..46cde62 100644 --- a/camera.html +++ b/camera.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.camera","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.camera
@@ -102,17 +102,10 @@X.camera
/** * The focus point of this camera, by default 0, 0, 0. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */-c._focus = $_FOCUS;
-
/** -* The view matrix as a 'ready-to-use'-gl version. -* -* @type {!Object} -* @protected -*/-c._glview = $_GLVIEW;
+c._focus = $_FOCUS;
/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -123,21 +116,21 @@X.camera
/** * The position of this camera, by default 0, 0, 100. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._position = $_POSITION;
/** * The unit vector pointing to the top of the three-dimensional space. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._up = $_UP;
/** * The view matrix. * -* @type {!X.matrix} +* @type {!Float32Array} * @protected */c._view = $_VIEW;
@@ -204,13 +197,13 @@
X.camera
/** * Get the view matrix for the three-dimensional space. * -* @return {!X.matrix} The view matrix. +* @return {!Float32Array} The view matrix. */var _view = c.view;
/** * Set the view matrix for the three-dimensional space. * -* @param {!X.matrix} view The view matrix. +* @param {!Float32Array} view The view matrix. * @throws {Error} An exception if the view matrix is invalid. * @public */@@ -218,9 +211,9 @@
X.camera
/** * Calculate a view matrix by using the camera position and a focus point. * -* @param {!goog.math.Vec3} cameraPosition The camera position. -* @param {!goog.math.Vec3} targetPoint The focus (target) point. -* @return {!X.matrix} The view matrix. +* @param {!X.vector} cameraPosition The camera position. +* @param {!X.vector} targetPoint The focus (target) point. +* @return {!Float32Array} The view matrix. * @throws {Error} If the given arguments are invalid. * @protected */@@ -257,10 +250,9 @@
X.camera
*/ c.onZoom_($EVENT);/** -* Perform a pan operation. This method fires a X.event.RenderEvent() after the -* calculation is done. +* Perform a pan operation. * -* @param {!goog.math.Vec2} distance The distance of the panning in respect of +* @param {!X.vector|!Array} distance The distance of the panning in respect of * the last camera position. * @public */@@ -270,18 +262,16 @@
X.camera
*/ c.reset();/** -* Perform a rotate operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a rotate operation. * -* @param {!goog.math.Vec2|!Array} distance The distance of the rotation in +* @param {!X.vector|!Array} distance The distance of the rotation in * respect of the last camera position as either a 2D Array or a -* goog.math.Vec2 containing the X and Y distances for the rotation. +* X.vector containing the X and Y distances for the rotation. * @public */c.rotate($DISTANCE);
/** -* Perform a zoom in operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom in operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -289,8 +279,7 @@c.zoomIn($FAST);X.camera
*/
/** -* Perform a zoom out operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom out operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -304,7 +293,7 @@X.camera
CONSTRUCTORS
X.camera
PROPERTIES
- _classname
_dirty
_focus
_glview
_id
_position
_up
_view
+ _classname
_dirty
_focus
_id
_position
_up
_view
GETTERS/SETTERS
classname
focus
id
position
up
view
FUNCTIONS
diff --git a/camera2D.html b/camera2D.html index b97746a..4dda60a 100644 --- a/camera2D.html +++ b/camera2D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.camera","X.base",null], ["X.camera2D","X.camera",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.camera2D
@@ -103,17 +103,10 @@X.camera2D
/** * The focus point of this camera, by default 0, 0, 0. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */-c._focus = $_FOCUS;-/** -* The view matrix as a 'ready-to-use'-gl version. -* -* @type {!Object} -* @protected -*/-c._glview = $_GLVIEW;+c._focus = $_FOCUS;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -124,21 +117,21 @@X.camera2D
/** * The position of this camera, by default 0, 0, 100. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._position = $_POSITION;/** * The unit vector pointing to the top of the three-dimensional space. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._up = $_UP;/** * The view matrix. * -* @type {!X.matrix} +* @type {!Float32Array} * @protected */c._view = $_VIEW;@@ -205,13 +198,13 @@X.camera2D
/** * Get the view matrix for the three-dimensional space. * -* @return {!X.matrix} The view matrix. +* @return {!Float32Array} The view matrix. */var _view = c.view;/** * Set the view matrix for the three-dimensional space. * -* @param {!X.matrix} view The view matrix. +* @param {!Float32Array} view The view matrix. * @throws {Error} An exception if the view matrix is invalid. * @public */@@ -219,9 +212,9 @@X.camera2D
/** * Calculate a view matrix by using the camera position and a focus point. * -* @param {!goog.math.Vec3} cameraPosition The camera position. -* @param {!goog.math.Vec3} targetPoint The focus (target) point. -* @return {!X.matrix} The view matrix. +* @param {!X.vector} cameraPosition The camera position. +* @param {!X.vector} targetPoint The focus (target) point. +* @return {!Float32Array} The view matrix. * @throws {Error} If the given arguments are invalid. * @protected */@@ -258,10 +251,9 @@X.camera2D
*/ c.onZoom_($EVENT);/** -* Perform a pan operation. This method fires a X.event.RenderEvent() after the -* calculation is done. +* Perform a pan operation. * -* @param {!goog.math.Vec2} distance The distance of the panning in respect of +* @param {!X.vector|!Array} distance The distance of the panning in respect of * the last camera position. * @public */@@ -271,18 +263,16 @@X.camera2D
*/ c.reset();/** -* Perform a rotate operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a rotate operation. * -* @param {!goog.math.Vec2|!Array} distance The distance of the rotation in +* @param {!X.vector|!Array} distance The distance of the rotation in * respect of the last camera position as either a 2D Array or a -* goog.math.Vec2 containing the X and Y distances for the rotation. +* X.vector containing the X and Y distances for the rotation. * @public */c.rotate($DISTANCE);/** -* Perform a zoom in operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom in operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -290,8 +280,7 @@c.zoomIn($FAST);X.camera2D
*//** -* Perform a zoom out operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom out operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -305,7 +294,7 @@X.camera2D
CONSTRUCTORS
X.camera2D
PROPERTIES
- _classname
_dirty
_focus
_glview
_id
_position
_up
_view
+ _classname
_dirty
_focus
_id
_position
_up
_view
GETTERS/SETTERS
classname
focus
id
position
up
view
FUNCTIONS
diff --git a/camera3D.html b/camera3D.html index 7f8960c..ca84615 100644 --- a/camera3D.html +++ b/camera3D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.camera","X.base",null], ["X.camera3D","X.camera",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.camera3D
@@ -110,17 +110,10 @@X.camera3D
/** * The focus point of this camera, by default 0, 0, 0. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */-c._focus = $_FOCUS;-/** -* The view matrix as a 'ready-to-use'-gl version. -* -* @type {!Object} -* @protected -*/-c._glview = $_GLVIEW;+c._focus = $_FOCUS;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -131,28 +124,28 @@X.camera3D
/** * The perspective matrix. * -* @type {!Object} +* @type {Array.c._perspective = $_PERSPECTIVE;|Float32Array|Float64Array|null} * @protected */ /** * The position of this camera, by default 0, 0, 100. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._position = $_POSITION;/** * The unit vector pointing to the top of the three-dimensional space. * -* @type {!goog.math.Vec3} +* @type {!X.vector} * @protected */c._up = $_UP;/** * The view matrix. * -* @type {!X.matrix} +* @type {!Float32Array} * @protected */c._view = $_VIEW;@@ -219,54 +212,23 @@X.camera3D
/** * Get the view matrix for the three-dimensional space. * -* @return {!X.matrix} The view matrix. +* @return {!Float32Array} The view matrix. */var _view = c.view;/** * Set the view matrix for the three-dimensional space. * -* @param {!X.matrix} view The view matrix. +* @param {!Float32Array} view The view matrix. * @throws {Error} An exception if the view matrix is invalid. * @public */-c.view = $VIEW;-/** -* Calculate a perspective matrix based on the given values. This calculation is -* based on known principles of Computer Vision (Source: TODO?). -* -* @param {number} fieldOfViewY The field of view in degrees in Y direction. -* @param {number} aspectRatio The aspect ratio between width and height of the -* viewport. -* @param {number} zNearClippingPlane The Z coordinate of the near clipping -* plane (close to the eye). -* @param {number} zFarClippingPlane The Z coordinate of the far clipping plane -* (far from the eye). -* @return {X.matrix} The perspective matrix. -* @private -*/-var calculatePerspective_ = c.calculatePerspective_($FIELDOFVIEWY, $ASPECTRATIO, $ZNEARCLIPPINGPLANE, $ZFARCLIPPINGPLANE);-/** -* Calculate the viewing frustum which is the three-dimensional area which is -* visible to the eye by 'trimming' the world space. This calculation is based -* on known principles of Computer Vision (Source: -* http://en.wikipedia.org/wiki/Viewing_frustum). -* -* @param {number} left The Y coordinate of the left border. -* @param {number} right The Y coordinate of the right border. -* @param {number} bottom The X coordinate of the bottom border. -* @param {number} top The X coordinate of the top border. -* @param {number} znear The Z coordinate of the near the eye border. -* @param {number} zfar The Z coordinate of the far of the eye border. -* @return {X.matrix} The frustum matrix. -* @private -*/-var calculateViewingFrustum_ = c.calculateViewingFrustum_($LEFT, $RIGHT, $BOTTOM, $TOP, $ZNEAR, $ZFAR);+c.view = $VIEW;/** * Calculate a view matrix by using the camera position and a focus point. * -* @param {!goog.math.Vec3} cameraPosition The camera position. -* @param {!goog.math.Vec3} targetPoint The focus (target) point. -* @return {!X.matrix} The view matrix. +* @param {!X.vector} cameraPosition The camera position. +* @param {!X.vector} targetPoint The focus (target) point. +* @return {!Float32Array} The view matrix. * @throws {Error} If the given arguments are invalid. * @protected */@@ -303,10 +265,9 @@X.camera3D
*/ c.onZoom_($EVENT);/** -* Perform a pan operation. This method fires a X.event.RenderEvent() after the -* calculation is done. +* Perform a pan operation. * -* @param {!goog.math.Vec2} distance The distance of the panning in respect of +* @param {!X.vector|!Array} distance The distance of the panning in respect of * the last camera position. * @public */@@ -316,18 +277,16 @@X.camera3D
*/ c.reset();/** -* Perform a rotate operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a rotate operation. * -* @param {!goog.math.Vec2|!Array} distance The distance of the rotation in +* @param {!X.vector|!Array} distance The distance of the rotation in * respect of the last camera position as either a 2D Array or a -* goog.math.Vec2 containing the X and Y distances for the rotation. +* X.vector containing the X and Y distances for the rotation. * @public */c.rotate($DISTANCE);/** -* Perform a zoom in operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom in operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -335,8 +294,7 @@c.zoomIn($FAST);X.camera3D
*//** -* Perform a zoom out operation. This method fires a X.event.RenderEvent() after -* the calculation is done. +* Perform a zoom out operation. * * @param {boolean} fast Enables/disables the fast mode which zooms much * quicker. @@ -350,11 +308,11 @@X.camera3D
CONSTRUCTORS
X.camera3D
PROPERTIES
- _classname
_dirty
_fieldOfView
_focus
_glview
_id
_perspective
_position
_up
_view
+ _classname
_dirty
_fieldOfView
_focus
_id
_perspective
_position
_up
_view
GETTERS/SETTERS
classname
focus
id
position
up
view
FUNCTIONS
- calculatePerspective_
calculateViewingFrustum_
lookAt_
observe
onPan_
onRotate_
onZoom_
pan
reset
rotate
zoomIn
zoomOut
+ lookAt_
observe
onPan_
onRotate_
onZoom_
pan
reset
rotate
zoomIn
zoomOut
STATIC
SOURCECODE diff --git a/caption.html b/caption.html index 7641979..ddb6879 100644 --- a/caption.html +++ b/caption.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.ui.Tooltip",f:"goog.ui.Tooltip"},null,null], + [{v:"goog.ui.Tooltip",f:"goog.ui.Tooltip"},null,null], ["X.caption","goog.ui.Tooltip",null], ]); @@ -70,7 +70,7 @@The X Toolkit API
- +X.caption
diff --git a/colortable.html b/colortable.html index c2f2a2f..ddd8725 100644 --- a/colortable.html +++ b/colortable.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.colortable","X.base",null], [{v:"X.loadable",f:"X.loadable"},null,null], @@ -73,7 +73,7 @@The X Toolkit API
- +X.colortable
diff --git a/constructable.html b/constructable.html index 4e39360..75f3dde 100644 --- a/constructable.html +++ b/constructable.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"X.constructable",f:"X.constructable"},null,null], + [{v:"X.constructable",f:"X.constructable"},null,null], ]); @@ -69,7 +69,7 @@The X Toolkit API
- +X.constructable
diff --git a/counter.html b/counter.html index 9bc4c93..bcbfdc3 100644 --- a/counter.html +++ b/counter.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"X.counter",f:"X.counter"},null,null], + [{v:"X.counter",f:"X.counter"},null,null], ]); @@ -69,7 +69,7 @@The X Toolkit API
- +X.counter
diff --git a/cube.html b/cube.html index 439b96d..dbc81a2 100644 --- a/cube.html +++ b/cube.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -76,7 +76,7 @@The X Toolkit API
- +X.cube
@@ -527,7 +527,7 @@X.cube
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ c.copy_($OBJECT);@@ -557,8 +557,10 @@X.cube
var inverse = c.inverse();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-c.modified();+c.modified($PROPAGATEEVENT);/** * Subtract an X.object or a CSG object from this X.object and return a new * X.object. diff --git a/cylinder.html b/cylinder.html index 6c98a30..02309ef 100644 --- a/cylinder.html +++ b/cylinder.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -76,7 +76,7 @@The X Toolkit API
- +X.cylinder
@@ -512,7 +512,7 @@X.cylinder
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ c.copy_($OBJECT);@@ -542,8 +542,10 @@X.cylinder
var inverse = c.inverse();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-c.modified();+c.modified($PROPAGATEEVENT);/** * Subtract an X.object or a CSG object from this X.object and return a new * X.object. diff --git a/displayable.html b/displayable.html index 00f2169..72c71f0 100644 --- a/displayable.html +++ b/displayable.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"X.displayable",f:"X.displayable"},null,null], + [{v:"X.displayable",f:"X.displayable"},null,null], ]); @@ -69,7 +69,7 @@The X Toolkit API
- +X.displayable
diff --git a/event.html b/event.html index d72f8be..60b404a 100644 --- a/event.html +++ b/event.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.Event",f:"goog.events.Event"},null,null], + [{v:"goog.events.Event",f:"goog.events.Event"},null,null], ["X.event","goog.events.Event",null], ]); @@ -70,7 +70,7 @@The X Toolkit API
- +X.event
diff --git a/fibers.html b/fibers.html index 41b5e3c..fb1a024 100644 --- a/fibers.html +++ b/fibers.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -76,7 +76,7 @@The X Toolkit API
- +X.fibers
@@ -480,14 +480,16 @@X.fibers
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ f.copy_($OBJECT);/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-f.modified();+f.modified($PROPAGATEEVENT);/** * Compare two X.objects by their opacity values and their distance to the * viewer's eye. Fully opaque objects should be always ordered before diff --git a/file.html b/file.html index 470bccc..a462a4e 100644 --- a/file.html +++ b/file.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.file","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.file
diff --git a/index.html b/index.html index b988776..3b750e4 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - + ]); // Create and draw the visualization. @@ -68,7 +68,7 @@The X Toolkit API
- +diff --git a/indexer.html b/indexer.html index ebcd2dc..7bacc5f 100644 --- a/indexer.html +++ b/indexer.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.indexer","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.indexer
diff --git a/interactor.html b/interactor.html index 59fdc03..2ae92e7 100644 --- a/interactor.html +++ b/interactor.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.interactor","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.interactor
@@ -110,7 +110,14 @@X.interactor
* @type {!Element} * @protected */ -i._element = $_ELEMENT;+i._element = $_ELEMENT;+/** +* The hover timeout index. +* +* @type {?number} +* @protected +*/+i._hoverTrigger = $_HOVERTRIGGER;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -121,10 +128,17 @@X.interactor
/** * The previous mouse position. * -* @type {!goog.math.Vec2} +* @type {!X.vector} * @protected */-i._lastMousePosition = $_LASTMOUSEPOSITION;+i._lastMousePosition = $_LASTMOUSEPOSITION;+/** +* The previous touch position of the first finger. +* +* @type {!X.vector} +* @protected +*/+i._lastTouchPosition = $_LASTTOUCHPOSITION;/** * Indicates if the left mouse button is pressed. * @@ -142,7 +156,7 @@X.interactor
/** * The listener id for mouse down observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseDownListener = $_MOUSEDOWNLISTENER;@@ -156,14 +170,14 @@X.interactor
/** * The listener id for mouse move observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseMoveListener = $_MOUSEMOVELISTENER;/** * The listener id for mouse out observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseOutListener = $_MOUSEOUTLISTENER;@@ -177,7 +191,7 @@X.interactor
/** * The listener id for mouse up observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseUpListener = $_MOUSEUPLISTENER;@@ -191,7 +205,7 @@X.interactor
/** * The listener id for mouse wheel observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseWheelListener = $_MOUSEWHEELLISTENER;@@ -201,7 +215,21 @@X.interactor
* @type {boolean} * @protected */ -i._rightButtonDown = $_RIGHTBUTTONDOWN;+i._rightButtonDown = $_RIGHTBUTTONDOWN;+/** +* The touch hover timeout index. +* +* @type {?number} +* @protected +*/+i._touchHoverTrigger = $_TOUCHHOVERTRIGGER;+/** +* The last distance between the first and second finger. +* +* @type {!number} +* @protected +*/+i.lastFingerDistance = $LASTFINGERDISTANCE;+i.onMouseWheel_($EVENT);/** * Get the className of this object. * @@ -219,6 +247,8 @@-i.onMouseWheel_($EVENT);X.interactor
* config.KEYBOARD_ENABLED: true * config.HOVERING_ENABLED: true * config.CONTEXTMENU_ENABLED: false +* config.TOUCH_ENABLED: true +* config.TOUCH_BOUNCING_ENABLED: false * * * @return {Object} The configuration. @@ -344,7 +374,64 @@X.interactor
* @param {Event} event The browser fired event. * @protected */+/** +* Overload this function to execute code on touch end. +*/+i.onTouchEnd();+/** +* The callback for the touch end event. +* +* @param {Event} event The browser fired event. +*/+i.onTouchEnd_($EVENT);+/** +* Overload this function to execute code on touch hover. This gets called if a +* finger touches the screen for 500ms at the same position. +* +* @param {!number} x The x coordinate of the touch hover event. +* @param {!number} y The y coordinate of the touch hover event. +*/+i.onTouchHover($X, $Y);+/** +* The callback for the touch hover event which gets triggered when a finger +* sits at the same position for 500 ms. +* +* @param {!goog.events.Event} event The browser fired event. +*/+i.onTouchHover_($EVENT);+/** +* Overload this function to execute code on touch move. +* +* @param {Event} event The browser fired event. +*/+i.onTouchMove($EVENT);+/** +* The callback for the touch move event. This performs several actions like +* rotating, zooming, panning etc. +* +* @param {goog.events.Event} event The browser fired event. +*/+i.onTouchMove_($EVENT);+/** +* Overload this function to execute code on touch start of the first finger. +* +* @param {!number} x The x coordinate of the touch start event. +* @param {!number} y The y coordinate of the touch start event. +*/+i.onTouchStart($X, $Y);+/** +* Callback for the touch start event. +* +* @param {goog.events.Event} event The browser fired event. +* @protected +*/+i.onTouchStart_($EVENT);+/** +* Reset the current touch hover callback, f.e. if the finger moves or gets +* released. +*/+i.resetTouchHover_();@@ -352,11 +439,11 @@X.interactor
CONSTRUCTORS
X.interactor
PROPERTIES
- _classname
_config
_dirty
_element
_id
_lastMousePosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
+ _classname
_config
_dirty
_element
_hoverTrigger
_id
_lastMousePosition
_lastTouchPosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
_touchHoverTrigger
lastFingerDistance
GETTERS/SETTERS
classname
config
id
leftButtonDown
middleButtonDown
mousePosition
rightButtonDown
FUNCTIONS
- hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
+ hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
onTouchEnd
onTouchEnd_
onTouchHover
onTouchHover_
onTouchMove
onTouchMove_
onTouchStart
onTouchStart_
resetTouchHover_
STATIC
SOURCECODE diff --git a/interactor2D.html b/interactor2D.html index 38b8df4..d738449 100644 --- a/interactor2D.html +++ b/interactor2D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.interactor","X.base",null], ["X.interactor2D","X.interactor",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.interactor2D
@@ -111,7 +111,14 @@X.interactor2D
* @type {!Element} * @protected */ -i._element = $_ELEMENT;+i._element = $_ELEMENT;+/** +* The hover timeout index. +* +* @type {?number} +* @protected +*/+i._hoverTrigger = $_HOVERTRIGGER;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -122,10 +129,17 @@X.interactor2D
/** * The previous mouse position. * -* @type {!goog.math.Vec2} +* @type {!X.vector} * @protected */-i._lastMousePosition = $_LASTMOUSEPOSITION;+i._lastMousePosition = $_LASTMOUSEPOSITION;+/** +* The previous touch position of the first finger. +* +* @type {!X.vector} +* @protected +*/+i._lastTouchPosition = $_LASTTOUCHPOSITION;/** * Indicates if the left mouse button is pressed. * @@ -143,7 +157,7 @@X.interactor2D
/** * The listener id for mouse down observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseDownListener = $_MOUSEDOWNLISTENER;@@ -157,14 +171,14 @@X.interactor2D
/** * The listener id for mouse move observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseMoveListener = $_MOUSEMOVELISTENER;/** * The listener id for mouse out observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseOutListener = $_MOUSEOUTLISTENER;@@ -178,7 +192,7 @@X.interactor2D
/** * The listener id for mouse up observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseUpListener = $_MOUSEUPLISTENER;@@ -192,7 +206,7 @@X.interactor2D
/** * The listener id for mouse wheel observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseWheelListener = $_MOUSEWHEELLISTENER;@@ -202,7 +216,21 @@X.interactor2D
* @type {boolean} * @protected */ -i._rightButtonDown = $_RIGHTBUTTONDOWN;+i._rightButtonDown = $_RIGHTBUTTONDOWN;+/** +* The touch hover timeout index. +* +* @type {?number} +* @protected +*/+i._touchHoverTrigger = $_TOUCHHOVERTRIGGER;+/** +* The last distance between the first and second finger. +* +* @type {!number} +* @protected +*/+i.lastFingerDistance = $LASTFINGERDISTANCE;+i.onMouseWheel_($EVENT);/** * Get the className of this object. * @@ -220,6 +248,8 @@-i.onMouseWheel_($EVENT);X.interactor2D
* config.KEYBOARD_ENABLED: true * config.HOVERING_ENABLED: true * config.CONTEXTMENU_ENABLED: false +* config.TOUCH_ENABLED: true +* config.TOUCH_BOUNCING_ENABLED: false * * * @return {Object} The configuration. @@ -345,7 +375,64 @@X.interactor2D
* @param {Event} event The browser fired event. * @protected */+/** +* Overload this function to execute code on touch end. +*/+i.onTouchEnd();+/** +* The callback for the touch end event. +* +* @param {Event} event The browser fired event. +*/+i.onTouchEnd_($EVENT);+/** +* Overload this function to execute code on touch hover. This gets called if a +* finger touches the screen for 500ms at the same position. +* +* @param {!number} x The x coordinate of the touch hover event. +* @param {!number} y The y coordinate of the touch hover event. +*/+i.onTouchHover($X, $Y);+/** +* The callback for the touch hover event which gets triggered when a finger +* sits at the same position for 500 ms. +* +* @param {!goog.events.Event} event The browser fired event. +*/+i.onTouchHover_($EVENT);+/** +* Overload this function to execute code on touch move. +* +* @param {Event} event The browser fired event. +*/+i.onTouchMove($EVENT);+/** +* The callback for the touch move event. This performs several actions like +* rotating, zooming, panning etc. +* +* @param {goog.events.Event} event The browser fired event. +*/+i.onTouchMove_($EVENT);+/** +* Overload this function to execute code on touch start of the first finger. +* +* @param {!number} x The x coordinate of the touch start event. +* @param {!number} y The y coordinate of the touch start event. +*/+i.onTouchStart($X, $Y);+/** +* Callback for the touch start event. +* +* @param {goog.events.Event} event The browser fired event. +* @protected +*/+i.onTouchStart_($EVENT);+/** +* Reset the current touch hover callback, f.e. if the finger moves or gets +* released. +*/+i.resetTouchHover_();@@ -353,11 +440,11 @@X.interactor2D
CONSTRUCTORS
X.interactor2D
PROPERTIES
- _classname
_config
_dirty
_element
_id
_lastMousePosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
+ _classname
_config
_dirty
_element
_hoverTrigger
_id
_lastMousePosition
_lastTouchPosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
_touchHoverTrigger
lastFingerDistance
GETTERS/SETTERS
classname
config
id
leftButtonDown
middleButtonDown
mousePosition
rightButtonDown
FUNCTIONS
- hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
+ hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
onTouchEnd
onTouchEnd_
onTouchHover
onTouchHover_
onTouchMove
onTouchMove_
onTouchStart
onTouchStart_
resetTouchHover_
STATIC
SOURCECODE diff --git a/interactor3D.html b/interactor3D.html index 4a9df3e..90ef80e 100644 --- a/interactor3D.html +++ b/interactor3D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.interactor","X.base",null], ["X.interactor3D","X.interactor",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.interactor3D
@@ -111,7 +111,14 @@X.interactor3D
* @type {!Element} * @protected */ -i._element = $_ELEMENT;+i._element = $_ELEMENT;+/** +* The hover timeout index. +* +* @type {?number} +* @protected +*/+i._hoverTrigger = $_HOVERTRIGGER;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -122,10 +129,17 @@X.interactor3D
/** * The previous mouse position. * -* @type {!goog.math.Vec2} +* @type {!X.vector} * @protected */-i._lastMousePosition = $_LASTMOUSEPOSITION;+i._lastMousePosition = $_LASTMOUSEPOSITION;+/** +* The previous touch position of the first finger. +* +* @type {!X.vector} +* @protected +*/+i._lastTouchPosition = $_LASTTOUCHPOSITION;/** * Indicates if the left mouse button is pressed. * @@ -143,7 +157,7 @@X.interactor3D
/** * The listener id for mouse down observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseDownListener = $_MOUSEDOWNLISTENER;@@ -157,14 +171,14 @@X.interactor3D
/** * The listener id for mouse move observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseMoveListener = $_MOUSEMOVELISTENER;/** * The listener id for mouse out observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseOutListener = $_MOUSEOUTLISTENER;@@ -178,7 +192,7 @@X.interactor3D
/** * The listener id for mouse up observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseUpListener = $_MOUSEUPLISTENER;@@ -192,7 +206,7 @@X.interactor3D
/** * The listener id for mouse wheel observation. * -* @type {?number} +* @type {?number|goog.events.ListenableKey} * @protected */i._mouseWheelListener = $_MOUSEWHEELLISTENER;@@ -202,7 +216,21 @@X.interactor3D
* @type {boolean} * @protected */ -i._rightButtonDown = $_RIGHTBUTTONDOWN;+i._rightButtonDown = $_RIGHTBUTTONDOWN;+/** +* The touch hover timeout index. +* +* @type {?number} +* @protected +*/+i._touchHoverTrigger = $_TOUCHHOVERTRIGGER;+/** +* The last distance between the first and second finger. +* +* @type {!number} +* @protected +*/+i.lastFingerDistance = $LASTFINGERDISTANCE;+i.onMouseWheel_($EVENT);/** * Get the className of this object. * @@ -220,6 +248,8 @@-i.onMouseWheel_($EVENT);X.interactor3D
* config.KEYBOARD_ENABLED: true * config.HOVERING_ENABLED: true * config.CONTEXTMENU_ENABLED: false +* config.TOUCH_ENABLED: true +* config.TOUCH_BOUNCING_ENABLED: false * * * @return {Object} The configuration. @@ -345,7 +375,64 @@X.interactor3D
* @param {Event} event The browser fired event. * @protected */+/** +* Overload this function to execute code on touch end. +*/+i.onTouchEnd();+/** +* The callback for the touch end event. +* +* @param {Event} event The browser fired event. +*/+i.onTouchEnd_($EVENT);+/** +* Overload this function to execute code on touch hover. This gets called if a +* finger touches the screen for 500ms at the same position. +* +* @param {!number} x The x coordinate of the touch hover event. +* @param {!number} y The y coordinate of the touch hover event. +*/+i.onTouchHover($X, $Y);+/** +* The callback for the touch hover event which gets triggered when a finger +* sits at the same position for 500 ms. +* +* @param {!goog.events.Event} event The browser fired event. +*/+i.onTouchHover_($EVENT);+/** +* Overload this function to execute code on touch move. +* +* @param {Event} event The browser fired event. +*/+i.onTouchMove($EVENT);+/** +* The callback for the touch move event. This performs several actions like +* rotating, zooming, panning etc. +* +* @param {goog.events.Event} event The browser fired event. +*/+i.onTouchMove_($EVENT);+/** +* Overload this function to execute code on touch start of the first finger. +* +* @param {!number} x The x coordinate of the touch start event. +* @param {!number} y The y coordinate of the touch start event. +*/+i.onTouchStart($X, $Y);+/** +* Callback for the touch start event. +* +* @param {goog.events.Event} event The browser fired event. +* @protected +*/+i.onTouchStart_($EVENT);+/** +* Reset the current touch hover callback, f.e. if the finger moves or gets +* released. +*/+i.resetTouchHover_();@@ -353,11 +440,11 @@X.interactor3D
CONSTRUCTORS
X.interactor3D
PROPERTIES
- _classname
_config
_dirty
_element
_id
_lastMousePosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
+ _classname
_config
_dirty
_element
_hoverTrigger
_id
_lastMousePosition
_lastTouchPosition
_leftButtonDown
_middleButtonDown
_mouseDownListener
_mouseInside
_mouseMoveListener
_mouseOutListener
_mousePosition
_mouseUpListener
_mouseWheelHandler
_mouseWheelListener
_rightButtonDown
_touchHoverTrigger
lastFingerDistance
GETTERS/SETTERS
classname
config
id
leftButtonDown
middleButtonDown
mousePosition
rightButtonDown
FUNCTIONS
- hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
+ hoverEnd_
init
onKey
onKey_
onMouseDown
onMouseDown_
onMouseMove
onMouseMovementInside_
onMouseMovementOutside_
onMouseUp
onMouseUp_
onMouseWheel
onMouseWheel_
onTouchEnd
onTouchEnd_
onTouchHover
onTouchHover_
onTouchMove
onTouchMove_
onTouchStart
onTouchStart_
resetTouchHover_
STATIC
SOURCECODE diff --git a/labelmap.html b/labelmap.html index f92825d..8bffb8e 100644 --- a/labelmap.html +++ b/labelmap.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -79,7 +79,7 @@The X Toolkit API
- +X.labelmap
@@ -331,7 +331,14 @@X.labelmap
* @type {number} * @protected */ -l._pointsize = $_POINTSIZE;+l._pointsize = $_POINTSIZE;+/** +* The reslicing flag. +* +* @type {!boolean} +* @protected +*/+l._reslicing = $_RESLICING;/** * The scalars of this object. * @@ -771,7 +778,23 @@-l.pointsize = $SIZE;X.labelmap
* @param {!number} size The point size. * @throws {Error} An exception if the given size is invalid. */+l.pointsize = $SIZE;+/** +* Return the reslicing flag. +* +* @return {boolean} TRUE if reslicing is enabled, FALSE otherwise. +* @public +*/+var _reslicing = l.reslicing;+/** +* Set the borders flag. Must be called before the volume gets created +* internally. After that, the borders can be modified using the children of +* each slice. +* +* @param {boolean} reslicing TRUE to enable reslicing, FALSE to disable it. +* @public +*/+l.reslicing = $RESLICING;/** * The scalars associated with this object. * @@ -876,7 +899,7 @@X.labelmap
/** * Copies the properties from a given volume to this volume. * -* @param {!X.volume} volume The given volume. +* @param {*} volume The given volume. * @protected */l.copy_($VOLUME);@@ -888,8 +911,10 @@X.labelmap
l.create_();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-l.modified();+l.modified($PROPAGATEEVENT);/** * Show the current slices which are set by this._indexX, this._indexY and * this._indexZ and hide all others. @@ -930,9 +955,9 @@X.labelmap
CONSTRUCTORS
X.labelmap
PROPERTIES
- _borders
_caption
_center
_children
_classname
_color
_colors
_colortable
_dimensions
_dirty
_distance
_file
_filedata
_id
_image
_indexX
_indexXold
_indexY
_indexYold
_indexZ
_indexZold
_labelmap
_linewidth
_lowerThreshold
_magicmode
_max
_maxColor
_min
_minColor
_normals
_opacity
_pointIndices
_points
_pointsize
_scalars
_slicesX
_slicesY
_slicesZ
_spacing
_texture
_textureCoordinateMap
_transform
_type
_upperThreshold
_visible
_volumeRendering
_volumeRenderingDirection
_volumeRenderingOld
_windowHigh
_windowLow
+ _borders
_caption
_center
_children
_classname
_color
_colors
_colortable
_dimensions
_dirty
_distance
_file
_filedata
_id
_image
_indexX
_indexXold
_indexY
_indexYold
_indexZ
_indexZold
_labelmap
_linewidth
_lowerThreshold
_magicmode
_max
_maxColor
_min
_minColor
_normals
_opacity
_pointIndices
_points
_pointsize
_reslicing
_scalars
_slicesX
_slicesY
_slicesZ
_spacing
_texture
_textureCoordinateMap
_transform
_type
_upperThreshold
_visible
_volumeRendering
_volumeRenderingDirection
_volumeRenderingOld
_windowHigh
_windowLow
GETTERS/SETTERS
- borders
caption
center
children
classname
color
colors
colortable
dimensions
file
filedata
id
image
indexX
indexY
indexZ
labelmap
linewidth
lowerThreshold
magicmode
maxColor
max
minColor
min
normals
opacity
points
pointsize
scalars
texture
transform
type
upperThreshold
visible
volumeRendering
windowHigh
windowLow
+ borders
caption
center
children
classname
color
colors
colortable
dimensions
file
filedata
id
image
indexX
indexY
indexZ
labelmap
linewidth
lowerThreshold
magicmode
maxColor
max
minColor
min
normals
opacity
points
pointsize
reslicing
scalars
texture
transform
type
upperThreshold
visible
volumeRendering
windowHigh
windowLow
FUNCTIONS
copy_
create_
modified
slicing_
volumeRendering_
STATIC
diff --git a/loadable.html b/loadable.html index 142a31f..c8c57f1 100644 --- a/loadable.html +++ b/loadable.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"X.loadable",f:"X.loadable"},null,null], + [{v:"X.loadable",f:"X.loadable"},null,null], ]); @@ -69,7 +69,7 @@The X Toolkit API
- +X.loadable
diff --git a/loader.html b/loader.html index 1047442..2d58874 100644 --- a/loader.html +++ b/loader.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.loader","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.loader
diff --git a/matrix.html b/matrix.html index ebe6b51..3cd0cc7 100644 --- a/matrix.html +++ b/matrix.html @@ -52,8 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.math.Matrix",f:"goog.math.Matrix"},null,null], -["X.matrix","goog.math.Matrix",null], + [{v:"X.matrix",f:"X.matrix"},null,null], ]); @@ -70,110 +69,127 @@The X Toolkit API
- +X.matrix
-+/** -* Create a matrix as an object based on goog.math.Matrix but with additional -* functionality. -* -* @constructor -* @param {goog.math.Matrix|Array.-var m = new X.matrix();>|goog.math.Size|number} m A -* matrix to copy, a 2D-array to take as a template, a size object for -* dimensions, or the number of rows. -* @param {number=} opt_n Number of columns of the matrix (only applicable if -* the first argument is also numeric). -* @extends goog.math.Matrix +* @see goog.vec.Mat4.cloneFloat32 */ +X.matrix.clone();/** -* The className of this class. -* -* @type {string} -* @protected +* @see goog.vec.Mat4.determinant */-m._classname = $_CLASSNAME;+X.matrix.determinant();/** -* Create a flattened, one-dimensional representation of a matrix. Notice: This -* method flattens column by column. -* -* @this {X.matrix} -* @return {Array} A one-dimensional representation of this matrix. +* @see goog.vec.Mat4.createFloat32Identity */-var flatten = m.flatten();+X.matrix.identity();/** -* Multiply 3x3 or 4x4 matrix by a vector. The vector has to be at least 3 -* dimensional. -* -* @this {X.matrix} -* @param {!goog.math.Vec3} vector The multiplication vector. -* @return {!goog.math.Vec3} The result of this multiplication. -* @throws {Error} An exception if the multiplication fails. +* @see goog.vec.Mat4.invert */-var multiplyByVector = m.multiplyByVector($VECTOR);+X.matrix.invert();/** -* Rotate a 4x4 matrix by an angle around an axis. -* -* @this {X.matrix} -* @param {!number} angle The rotation angle. -* @param {!goog.math.Vec3} iaxis The axis to rotate around. -* @return {!X.matrix} The result of this rotation. -* @throws {Error} An exception if the rotation fails. +* @see goog.vec.Mat4.makeFrustum */-var rotate = m.rotate($ANGLE, $IAXIS);+X.matrix.makeFrustum();/** -* Swap two columns. +* Makes the given 4x4 matrix a modelview matrix of a camera so that +* the camera is 'looking at' the given center point. * -* @param {number} col1 Index of the first column. -* @param {number} col2 Index of the second column. +* @param {!Float32Array} mat The matrix. +* @param {!X.vector} eyePt The position of the eye point +* (camera origin). +* @param {!X.vector} centerPt The point to aim the camera at. +* @param {!X.vector} worldUpVec The vector that identifies +* the up direction for the camera. +* @return {!Float32Array} return mat so that operations can be +* chained. */-m.swapCols($COL1, $COL2);+var makeLookAt = X.matrix.makeLookAt($MAT, $EYEPT, $CENTERPT, $WORLDUPVEC);/** -* Swap two rows. -* -* @param {number} row1 Index of the first row. -* @param {number} row2 Index of the second row. +* @see goog.vec.Mat4.makeOrtho +*/+X.matrix.makeOrtho();+/** +* @see goog.vec.Mat4.makePerspective */-m.swapRows($ROW1, $ROW2);+X.matrix.makePerspective();/** -* Translate a 3x3 or 4x4 matrix by a vector. In the 3x3 case, the vector has to -* be 2 dimensional. In the 4x4 case, the vector has to be 3 dimensional. +* @see goog.vec.Mat4.multMat +*/+X.matrix.multiply();+/** +* Multiply the matrix by a vector. * -* @this {X.matrix} -* @param {!goog.math.Vec2|!goog.math.Vec3} vector The translation vector. -* @return {!X.matrix} The result of this translation. -* @throws {Error} An exception if the translation fails. +* @param {!Float32Array} mat The matrix. +* @param {!number} x The x coordinate of the vector. +* @param {!number} y The y coordinate of the vector. +* @param {!number} z The z coordinate of the vector. +* @return {!X.vector} The resulting vector. +*/+var multiplyByVector = X.matrix.multiplyByVector($MAT, $X, $Y, $Z);+/** +* @see goog.vec.Mat4.rotate */-var translate = m.translate($VECTOR);+X.matrix.rotate();/** -* Creates a square identity matrix. i.e. for n = 3: +* @see goog.vec.Mat4.rotateX +*/+X.matrix.rotateX();+/** +* @see goog.vec.Mat4.rotateY +*/+X.matrix.rotateY();+/** +* @see goog.vec.Mat4.rotateZ +*/+X.matrix.rotateZ();+/** +* @see goog.vec.Mat4.scale +*/+X.matrix.scale();+/** +* Swap two columns of a matrix. * -* -* [ 1 0 0 ] -* [ 0 1 0 ] -* [ 0 0 1 ] -* +* @param {!Float32Array} mat The matrix. +* @param {!number} col1 The index of the first column. +* @param {!number} col2 The index of the second column. +* @return {!Float32Array} The resulting matrix. +*/+var swapCols = X.matrix.swapCols($MAT, $COL1, $COL2);++var swapRows = X.matrix.swapRows($MAT, $ROW1, $ROW2);/** +* Swap two rows of a matrix. * -* @param {number} n The size of the square identity matrix. -* @return {!X.matrix} Identity matrix of width and height {@code n}. +* @param {!Float32Array} mat The matrix. +* @param {!number} row1 The index of the first row. +* @param {!number} row2 The index of the second row. +* @return {!Float32Array} The resulting matrix. */-var createIdentityMatrix = X.matrix.createIdentityMatrix($N);+/** +* @see goog.vec.Mat4.translate +*/+X.matrix.translate();+/** +* @see goog.vec.Mat4.transpose +*/+X.matrix.transpose();diff --git a/mesh.html b/mesh.html index 9ef22bc..bfa60a3 100644 --- a/mesh.html +++ b/mesh.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -76,7 +76,7 @@
CONSTRUCTORS
- X.matrix
+
PROPERTIES
- _classname
+
GETTERS/SETTERS
FUNCTIONS
- flatten
multiplyByVector
rotate
swapCols
swapRows
translate
+
STATIC
- createIdentityMatrix
+ clone
determinant
identity
invert
makeFrustum
makeLookAt
makeOrtho
makePerspective
multiply
multiplyByVector
rotate
rotateX
rotateY
rotateZ
scale
swapCols
swapRows
translate
transpose
SOURCECODE The X Toolkit API
- +X.mesh
@@ -480,14 +480,16 @@X.mesh
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ m.copy_($OBJECT);/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-m.modified();+m.modified($PROPAGATEEVENT);/** * Compare two X.objects by their opacity values and their distance to the * viewer's eye. Fully opaque objects should be always ordered before diff --git a/object.html b/object.html index eeb61d7..9cb9128 100644 --- a/object.html +++ b/object.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -73,7 +73,7 @@The X Toolkit API
- +X.object
@@ -440,14 +440,16 @@X.object
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ o.copy_($OBJECT);/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-o.modified();+o.modified($PROPAGATEEVENT);/** * Compare two X.objects by their opacity values and their distance to the * viewer's eye. Fully opaque objects should be always ordered before diff --git a/parser.html b/parser.html index 589d79d..5cac654 100644 --- a/parser.html +++ b/parser.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.parser
@@ -194,7 +194,19 @@X.parser
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -292,7 +304,7 @@X.parser
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserCRV.html b/parserCRV.html index 53f6c90..61620f7 100644 --- a/parserCRV.html +++ b/parserCRV.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserCRV","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserCRV
@@ -195,7 +195,19 @@X.parserCRV
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -293,7 +305,7 @@X.parserCRV
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserDCM.html b/parserDCM.html index 0c9f998..6c9daec 100644 --- a/parserDCM.html +++ b/parserDCM.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserDCM","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserDCM
@@ -195,7 +195,19 @@X.parserDCM
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Parse the data stream according to the .nii/.nii.gz file format and return an * MRI structure which holds all parsed information. @@ -302,7 +314,7 @@X.parserDCM
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserFSM.html b/parserFSM.html index d7746fe..02db23b 100644 --- a/parserFSM.html +++ b/parserFSM.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserFSM","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserFSM
@@ -195,7 +195,19 @@X.parserFSM
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -293,7 +305,7 @@X.parserFSM
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserIMAGE.html b/parserIMAGE.html index 45f1992..d427799 100644 --- a/parserIMAGE.html +++ b/parserIMAGE.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserIMAGE","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserIMAGE
@@ -195,7 +195,19 @@X.parserIMAGE
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * The callback which gets called when the image was set up using data uri. We * fire the modified event here to tell the X.loader that we are done. @@ -305,7 +317,7 @@X.parserIMAGE
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
parseCompleted
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
parseCompleted
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserLBL.html b/parserLBL.html index 2f26be2..bd0b9d5 100644 --- a/parserLBL.html +++ b/parserLBL.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserLBL","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserLBL
@@ -195,7 +195,19 @@X.parserLBL
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -293,7 +305,7 @@X.parserLBL
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserLUT.html b/parserLUT.html index e409291..e2526d9 100644 --- a/parserLUT.html +++ b/parserLUT.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserLUT","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserLUT
@@ -195,7 +195,19 @@X.parserLUT
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -293,7 +305,7 @@X.parserLUT
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserMGZ.html b/parserMGZ.html index d2e35ec..20e425e 100644 --- a/parserMGZ.html +++ b/parserMGZ.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserMGZ","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserMGZ
@@ -196,7 +196,19 @@X.parserMGZ
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Parse the data stream according to the MGH/MGZ file format and return an MRI * structure which holds all parsed information. @@ -302,7 +314,7 @@X.parserMGZ
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserNII.html b/parserNII.html index a8acc70..406abde 100644 --- a/parserNII.html +++ b/parserNII.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserNII","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserNII
@@ -195,7 +195,19 @@X.parserNII
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Parse the data stream according to the .nii/.nii.gz file format and return an * MRI structure which holds all parsed information. @@ -301,7 +313,7 @@X.parserNII
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
parseStream
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserNRRD.html b/parserNRRD.html index 4a0baba..76e6b6f 100644 --- a/parserNRRD.html +++ b/parserNRRD.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserNRRD","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserNRRD
@@ -201,7 +201,19 @@X.parserNRRD
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Parse a NRRD file header. * @@ -306,7 +318,7 @@X.parserNRRD
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
fieldFunctions
flipEndianness
jumpTo
parse
parseHeader
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
fieldFunctions
flipEndianness
jumpTo
parse
parseChars
parseHeader
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserOBJ.html b/parserOBJ.html new file mode 100644 index 0000000..1a351db --- /dev/null +++ b/parserOBJ.html @@ -0,0 +1,317 @@ + + +The X Toolkit API + + + + + + + +The X Toolkit API
+ + +++ +X.parserOBJ
++/** +* Create a parser for the .OBJ format. ASCII or binary format is supported. +* +* @constructor +* @extends X.parser +*/+var p = new X.parserOBJ();+/** +* The className of this class. +* +* @type {string} +* @protected +*/+p._classname = $_CLASSNAME;+/** +* The data. +* +* @type {?ArrayBuffer} +* @protected +*/+p._data = $_DATA;+/** +* The pointer to the current byte. +* +* @type {!number} +* @protected +*/+p._dataPointer = $_DATAPOINTER;+/** +* The 'dirty' flag of this object. +* +* @type {boolean} +* @protected +*/+p._dirty = $_DIRTY;+/** +* The uniqueId of this instance. Each class instance in XTK has a uniqueId. +* +* @type {number} +* @protected +*/+p._id = $_ID;+/** +* The max value of the last parsing attempt. +* +* @type {!number} +* @protected +*/+p._lastMax = $_LASTMAX;+/** +* The min value of the last parsing attempt. +* +* @type {!number} +* @protected +*/+p._lastMin = $_LASTMIN;+/** +* The data-specific endianness flag. +* +* @type {!boolean} +* @protected +*/+p._littleEndian = $_LITTLEENDIAN;+/** +* The native endianness flag. Based on +* https://github.com/kig/DataStream.js/blob/master/DataStream.js +* +* @type {!boolean} +* @protected +*/+p._nativeLittleEndian = $_NATIVELITTLEENDIAN;+/** +* Get the className of this object. +* +* @return {string} The className of this object. +* @public +*/+var _classname = p.classname;+/** +* Get the id of this instance. +* +* @return {string} The className of this object. +* @public +*/+var _id = p.id;+/** +* Get the min and max values of an array. +* +* @param {!Array} data The data array to analyze. +* @return {!Array} An array with length 2 containing the [min, max] values. +*/+var arrayMinMax = p.arrayMinMax($DATA);+/** +* Flips typed array endianness in-place. Based on +* https://github.com/kig/DataStream.js/blob/master/DataStream.js. +* +* @param {!Object} array Typed array to flip. +* @param {!number} chunkSize The size of each element. +* @return {!Object} The converted typed array. +*/+var flipEndianness = p.flipEndianness($ARRAY, $CHUNKSIZE);+/** +* Jump to a position in the byte stream. +* +* @param {!number} position The new offset. +*/+p.jumpTo($POSITION);+/** +* Parse data and configure the given object. When complete, a +* X.parser.ModifiedEvent is fired. +* +* @param {!X.base} container A container which holds the loaded data. This can +* be an X.object as well. +* @param {!X.object} object The object to configure. +* @param {!ArrayBuffer} data The data to parse. +* @param {*} flag An additional flag. +* @throws {Error} An exception if something goes wrong. +*/+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);+/** +* Reslice a data stream to fill the slices of an X.volume in X,Y and Z +* directions. The given volume (object) has to be created at this point +* according to the proper dimensions. This also takes care of a possible +* associated label map which has to be loaded before. +* +* @param {!X.object} object The X.volume to fill. +* @param {!Object} MRI The MRI object which contains the min, max, data and +* type. +* @return {!Array} The volume data as a 3D Array. +*/+var reslice = p.reslice($OBJECT, $MRI);+/** +* Create Slice for a given colortable in one direction +* +* @param {!number} sizeX The volume size in X direction. +* @param {!number} sizeY The volume size in Y direction. +* @param {!number} sizeZ The volume size in Z direction. +* @param {!Array} image The array containing the image. +* @param {!number} max The object's max intensity. +* @param {!X.colortable} colorTable The colortable. +* @param {!X.object} targetSlice The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap The object containing the labelmap if any. +* @param {!boolean} invert invert rows and columns when accessing pixel value +* @protected +*/+p.reslice1DColorTable_($SIZEX, $SIZEY, $SIZEZ, $IMAGE, $MAX, $COLORTABLE, $TARGETSLICE, $TARGETLABELMAP, $INVERT);+/** +* Create Slice for a given volume in one direction +* +* @param {!number} sizeX The volume size in X direction. +* @param {!number} sizeY The volume size in Y direction. +* @param {!number} sizeZ The volume size in Z direction. +* @param {!Array} image The array containing the image. +* @param {!number} max The object's max intensity. +* @param {!X.object} targetSlice The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap The object containing the labelmap if any. +* @param {!boolean} invert invert rows and columns when accessing pixel value +* @protected +*/+p.reslice1D_($SIZEX, $SIZEY, $SIZEZ, $IMAGE, $MAX, $TARGETSLICE, $TARGETLABELMAP, $INVERT);+/** +* Create Slices for a colortable in two direction +* +* @param {!number} sizeX The volume size in X direction. +* @param {!number} sizeY The volume size in Y direction. +* @param {!number} sizeZ The volume size in Z direction. +* @param {!Array} image The array containing the image. +* @param {!number} max The object's max intensity. +* @param {!X.colortable} colorTable The colortable. +* @param {!X.object} targetSlice1 The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap1 The object containing the labelmap if any. +* @param {!X.object} targetSlice2 The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap2 The object containing the labelmap if any. +* @protected +*/+p.reslice2DColorTable_($SIZEX, $SIZEY, $SIZEZ, $IMAGE, $MAX, $COLORTABLE, $TARGETSLICE1, $TARGETLABELMAP1, $TARGETSLICE2, $TARGETLABELMAP2);+/** +* Create Slices for a given volume in two direction +* +* @param {!number} sizeX The volume size in X direction. +* @param {!number} sizeY The volume size in Y direction. +* @param {!number} sizeZ The volume size in Z direction. +* @param {!Array} image The array containing the image. +* @param {!number} max The object's max intensity. +* @param {!X.object} targetSlice1 The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap1 The object containing the labelmap if any. +* @param {!X.object} targetSlice2 The object containing the slices to be +* computed. +* @param {?X.volume} targetLabelMap2 The object containing the labelmap if any. +* @protected +*/+p.reslice2D_($SIZEX, $SIZEY, $SIZEZ, $IMAGE, $MAX, $TARGETSLICE1, $TARGETLABELMAP1, $TARGETSLICE2, $TARGETLABELMAP2);++/** +* Scan binary data relative to the internal position in the byte stream. +* +* @param {!string} type The data type to scan, f.e. +* 'uchar','schar','ushort','sshort','uint','sint','float' +* @param {!number=} chunks The number of chunks to scan. By default, 1. +*/+p.scan($TYPE, $CHUNKS);++ +
+ CONSTRUCTORS
+ X.parserOBJ
+ PROPERTIES
+ _classname
_data
_dataPointer
_dirty
_id
_lastMax
_lastMin
_littleEndian
_nativeLittleEndian
+ GETTERS/SETTERS
+ classname
id
+ FUNCTIONS
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ STATIC
+
+SOURCECODE +
+ + + \ No newline at end of file diff --git a/parserSTL.html b/parserSTL.html index 759cc21..dfb728e 100644 --- a/parserSTL.html +++ b/parserSTL.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserSTL","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserSTL
@@ -213,7 +213,19 @@X.parserSTL
* @param {!X.triplets} n The object's normals as a X.triplets container. * @param {!number} triangleCount The number of triangles. */ -p.parseBIN($P, $N, $TRIANGLECOUNT);+p.parseBIN($P, $N, $TRIANGLECOUNT);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -311,7 +323,7 @@X.parserSTL
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
parseASCII
parseBIN
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseASCII
parseBIN
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserTRK.html b/parserTRK.html index 618e7d3..52ee59d 100644 --- a/parserTRK.html +++ b/parserTRK.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserTRK","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserTRK
@@ -195,7 +195,19 @@X.parserTRK
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Reslice a data stream to fill the slices of an X.volume in X,Y and Z * directions. The given volume (object) has to be created at this point @@ -293,7 +305,7 @@X.parserTRK
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
flipEndianness
jumpTo
parse
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
flipEndianness
jumpTo
parse
parseChars
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/parserVTK.html b/parserVTK.html index c9206be..c10eb86 100644 --- a/parserVTK.html +++ b/parserVTK.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.parser","X.base",null], ["X.parserVTK","X.parser",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.parserVTK
@@ -203,7 +203,19 @@X.parserVTK
* @param {*} flag An additional flag. * @throws {Error} An exception if something goes wrong. */ -p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+p.parse($CONTAINER, $OBJECT, $DATA, $FLAG);+/** +* Create a string from a bunch of UChars. This replaces a +* String.fromCharCode.apply call and therefor supports more platforms (like the +* Android stock browser). +* +* @param {!Array|Uint8Array} array The Uint8Array. +* @param {?number=} start The start position. If undefined, use the whole +* array. +* @param {?number=} end The end position. If undefined, use the whole array. +* @return {string} The created string. +*/+var parseChars = p.parseChars($ARRAY, $START, $END);/** * Parses a line of .VTK data and modifies the given X.triplets containers. * @@ -308,7 +320,7 @@X.parserVTK
GETTERS/SETTERS
classname
id
FUNCTIONS
- arrayMinMax
configure
flipEndianness
jumpTo
parse
parseLine
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
+ arrayMinMax
configure
flipEndianness
jumpTo
parse
parseChars
parseLine
reslice
reslice1DColorTable_
reslice1D_
reslice2DColorTable_
reslice2D_
scan
STATIC
SOURCECODE diff --git a/progressbar.html b/progressbar.html index ed55776..8c33830 100644 --- a/progressbar.html +++ b/progressbar.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.ui.ProgressBar",f:"goog.ui.ProgressBar"},null,null], + [{v:"goog.ui.ProgressBar",f:"goog.ui.ProgressBar"},null,null], ["X.progressbar","goog.ui.ProgressBar",null], ]); @@ -70,7 +70,7 @@The X Toolkit API
- +X.progressbar
@@ -111,7 +111,14 @@X.progressbar
* @type {?Element} * @protected */ -p._parent = $_PARENT;+p._parent = $_PARENT;+/** +* The original position style setting of the parent. +* +* @type {string} +* @protected +*/+p._parent_position_original = $_PARENT_POSITION_ORIGINAL;/** * The element for the CSS style of this progress bar. * @@ -141,7 +148,7 @@X.progressbar
CONSTRUCTORS
X.progressbar
PROPERTIES
- _classname
_css
_doneProgressBar
_parent
_style
+ _classname
_css
_doneProgressBar
_parent
_parent_position_original
_style
GETTERS/SETTERS
FUNCTIONS
diff --git a/renderer.html b/renderer.html index c6a9eda..f88c0ab 100644 --- a/renderer.html +++ b/renderer.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.renderer","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.renderer
diff --git a/renderer2D.html b/renderer2D.html index c3acf81..99cd408 100644 --- a/renderer2D.html +++ b/renderer2D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.renderer","X.base",null], ["X.renderer2D","X.renderer",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.renderer2D
@@ -131,7 +131,14 @@X.renderer2D
* @type {?Object} * @protected */ -r._context = $_CONTEXT;+r._context = $_CONTEXT;+/** +* The buffer of the current slice index. +* +* @type {!number} +* @protected +*/+r._currentSlice = $_CURRENTSLICE;/** * The 'dirty' flag of this object. * @@ -208,7 +215,14 @@-r._locked = $_LOCKED;X.renderer2D
* @type {boolean} * @protected */+r._locked = $_LOCKED;+/** +* The buffer of the current lower threshold. +* +* @type {!number} +* @protected +*/+r._lowerThreshold = $_LOWERTHRESHOLD;/** * An X.array containing the displayable objects of this renderer. The object * reflects the rendering order for the associated objects. @@ -282,14 +296,35 @@-r._topLevelObjects = $_TOPLEVELOBJECTS;X.renderer2D
* @type {!Array} * @protected */+r._topLevelObjects = $_TOPLEVELOBJECTS;+/** +* The buffer of the current upper threshold. +* +* @type {!number} +* @protected +*/+r._upperThreshold = $_UPPERTHRESHOLD;/** * The width of this renderer. * * @type {!number} * @public */-r._width = $_WIDTH;+r._width = $_WIDTH;+/** +* The buffer of the current w/l high value. +* +* @type {!number} +* @protected +*/+r._windowHigh = $_WINDOWHIGH;+/** +* The buffer of the current w/l low value. +* +* @type {!number} +* @protected +*/+r._windowLow = $_WINDOWLOW;/** * Get the camera of this renderer. The camera is null until this renderer is * initialized. @@ -562,7 +597,7 @@X.renderer2D
CONSTRUCTORS
X.renderer2D
PROPERTIES
- _AnimationFrameID
_camera
_canvas
_classname
_config
_container
_context
_dirty
_frameBuffer
_frameBufferContext
_height
_id
_interactor
_labelFrameBuffer
_labelFrameBufferContext
_loader
_loadingCompleted
_locked
_objects
_onShowtime
_orientation
_progressBar
_rotation
_sliceHeight
_sliceHeightSpacing
_sliceWidth
_sliceWidthSpacing
_topLevelObjects
_width
+ _AnimationFrameID
_camera
_canvas
_classname
_config
_container
_context
_currentSlice
_dirty
_frameBuffer
_frameBufferContext
_height
_id
_interactor
_labelFrameBuffer
_labelFrameBufferContext
_loader
_loadingCompleted
_locked
_lowerThreshold
_objects
_onShowtime
_orientation
_progressBar
_rotation
_sliceHeight
_sliceHeightSpacing
_sliceWidth
_sliceWidthSpacing
_topLevelObjects
_upperThreshold
_width
_windowHigh
_windowLow
GETTERS/SETTERS
camera
classname
config
container
id
interactor
loadingCompleted
orientation
FUNCTIONS
diff --git a/renderer3D.html b/renderer3D.html index 07ec928..0542e31 100644 --- a/renderer3D.html +++ b/renderer3D.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.renderer","X.base",null], ["X.renderer3D","X.renderer",null], @@ -72,7 +72,7 @@The X Toolkit API
- +X.renderer3D
@@ -373,6 +373,7 @@X.renderer3D
* config.PICKING_ENABLED: true * config.ORDERING_ENABLED: true * config.STATISTICS_ENABLED: false +* config.INTERMEDIATE_RENDERING: false * * * @return {Object} The configuration. diff --git a/scalars.html b/scalars.html index c357072..2052256 100644 --- a/scalars.html +++ b/scalars.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.scalars","X.base",null], [{v:"X.loadable",f:"X.loadable"},null,null], @@ -75,7 +75,7 @@The X Toolkit API
- +X.scalars
@@ -137,7 +137,18 @@X.scalars
* @type {number} * @protected */ -s._id = $_ID;+s._id = $_ID;+/** +* The interpolation scheme for this object. +* 0 - linear interpolation across range from minColor to maxColor +* 1 - FreeSurfer curvature convention: negative values are interpolated +* over minColor range, positive curvatures separately over +* maxColor range. +* +* @type {!number} +* @protected +*/+s._interpolation = $_INTERPOLATION;/** * The lower threshold. * @@ -248,7 +259,30 @@-var _id = s.id;X.scalars
* @return {string} The className of this object. * @public */+var _id = s.id;+/** +* The scalar interpolation associated with this object. +* The interpolation scheme for this object. +* 0 - linear interpolation across range from minColor to maxColor +* 1 - FreeSurfer curvature convention: negative values are interpolated +* over minColor range, positive curvatures separately over +* maxColor range. +* +* @return {!number} The scalarInterpolation variable. +*/+var _interpolation = s.interpolation;+/** +* scalarsInterpolation +* The interpolation scheme for this object. +* 0 - linear interpolation across range from minColor to maxColor +* 1 - FreeSurfer curvature convention: negative values are interpolated +* over minColor range, positive curvatures separately over +* maxColor range. +* +* @param {!number} value The interpolation scheme. +* +*/+s.interpolation = $VALUE;/** * Get the lower threshold. * @@ -328,9 +362,9 @@X.scalars
CONSTRUCTORS
X.scalars
PROPERTIES
- _array
_classname
_dirty
_file
_filedata
_glArray
_id
_lowerThreshold
_max
_maxColor
_min
_minColor
_replaceMode
_upperThreshold
+ _array
_classname
_dirty
_file
_filedata
_glArray
_id
_interpolation
_lowerThreshold
_max
_maxColor
_min
_minColor
_replaceMode
_upperThreshold
GETTERS/SETTERS
- array
classname
file
filedata
id
lowerThreshold
maxColor
max
minColor
min
upperThreshold
+ array
classname
file
filedata
id
interpolation
lowerThreshold
maxColor
max
minColor
min
upperThreshold
FUNCTIONS
STATIC
diff --git a/shaders.html b/shaders.html index d40ae51..52dad92 100644 --- a/shaders.html +++ b/shaders.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.shaders","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.shaders
diff --git a/slice.html b/slice.html index dd8c4bf..ce16ece 100644 --- a/slice.html +++ b/slice.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -74,7 +74,7 @@The X Toolkit API
- +X.slice
@@ -499,7 +499,7 @@X.slice
/** * Copies the properties from a given slice to this slice. * -* @param {!X.slice} slice The given slice. +* @param {*} slice The given slice. * @protected */s.copy_($SLICE);@@ -511,8 +511,10 @@X.slice
s.create_();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-s.modified();+s.modified($PROPAGATEEVENT);/** * Setup this X.slice and create it. * diff --git a/sphere.html b/sphere.html index 7916ff2..c03f453 100644 --- a/sphere.html +++ b/sphere.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -76,7 +76,7 @@The X Toolkit API
- +X.sphere
@@ -497,7 +497,7 @@X.sphere
* Copies the properties from a given object to this object. The texture, * textureCoordinateMap and the children are not copied but linked. * -* @param {!X.object} object The given object. +* @param {*} object The given object. * @protected */ s.copy_($OBJECT);@@ -527,8 +527,10 @@X.sphere
var inverse = s.inverse();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-s.modified();+s.modified($PROPAGATEEVENT);/** * Subtract an X.object or a CSG object from this X.object and return a new * X.object. diff --git a/texture.html b/texture.html index 45970a5..f3e610b 100644 --- a/texture.html +++ b/texture.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.texture","X.base",null], [{v:"X.loadable",f:"X.loadable"},null,null], @@ -73,7 +73,7 @@The X Toolkit API
- +X.texture
diff --git a/thresholdable.html b/thresholdable.html index f3ff1df..84c7ad0 100644 --- a/thresholdable.html +++ b/thresholdable.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"X.thresholdable",f:"X.thresholdable"},null,null], + [{v:"X.thresholdable",f:"X.thresholdable"},null,null], ]); @@ -69,7 +69,7 @@The X Toolkit API
- +X.thresholdable
diff --git a/transform.html b/transform.html index f9573d2..a7af1ad 100644 --- a/transform.html +++ b/transform.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.transform","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.transform
@@ -96,14 +96,7 @@X.transform
* @type {boolean} * @protected */ -t._dirty = $_DIRTY;-/** -* The transformation matrix as a 'ready-to-use'-gl version. -* -* @type {!Object} -* @protected -*/-t._glMatrix = $_GLMATRIX;+t._dirty = $_DIRTY;/** * The uniqueId of this instance. Each class instance in XTK has a uniqueId. * @@ -114,7 +107,7 @@X.transform
/** * The transformation matrix. * -* @type {!X.matrix} +* @type {!Float32Array} * @protected */t._matrix = $_MATRIX;@@ -135,13 +128,13 @@X.transform
/** * Get the transformation matrix. * -* @return {!X.matrix} The transformation matrix. +* @return {!Float32Array} The transformation matrix. */var _matrix = t.matrix;/** * Set the transformation matrix. * -* @param {!X.matrix} matrix The transformation matrix. +* @param {!Float32Array} matrix The transformation matrix. */t.matrix = $MATRIX;/** @@ -159,13 +152,13 @@X.transform
/** * Flip the matrix value at the given index. * -* @param {number} i The row index. -* @param {number} j The column index. +* @param {number} row The row index. +* @param {number} col The column index. * @private */-t.flip_($I, $J);+t.flip_($ROW, $COL);/** -* Mark the transform as modified and update the GL-ready version. +* Mark the transform as modified. */t.modified();/** @@ -217,7 +210,7 @@X.transform
CONSTRUCTORS
X.transform
PROPERTIES
- _classname
_dirty
_glMatrix
_id
_matrix
+ _classname
_dirty
_id
_matrix
GETTERS/SETTERS
classname
id
matrix
FUNCTIONS
diff --git a/triplets.html b/triplets.html index 2062747..95447b8 100644 --- a/triplets.html +++ b/triplets.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.triplets","X.base",null], @@ -71,7 +71,7 @@The X Toolkit API
- +X.triplets
diff --git a/vector.html b/vector.html new file mode 100644 index 0000000..328461e --- /dev/null +++ b/vector.html @@ -0,0 +1,170 @@ + + +The X Toolkit API + + + + + + + +The X Toolkit API
+ + +++ +X.vector
++/** +* @constructor +* @see goog.math.Vec3 +*/+var v = new X.vector();+/** +* Get the x component of this vector. +* +* @return {number} The x component of this vector. +* @public +*/+var _xx = v.xx;+/** +* Get the y component of this vector. +* +* @return {number} The y component of this vector. +* @public +*/+var _yy = v.yy;+/** +* Get the z component of this vector. +* +* @return {number} The z component of this vector. +* @public +*/+var _zz = v.zz;+/** +* @see goog.math.Vec3.prototype.add +*/+v.add();+/** +* @see goog.math.Vec3.prototype.clone +*/+v.clone();+/** +* @see goog.math.Vec3.prototype.invert +*/+v.invert();+/** +* @see goog.math.Vec3.prototype.magnitude +*/+v.magnitude();+/** +* Normalize the vector. The goog.math.Vec3.prototype.normalize +* did not check on a magnitude of 0 resulting in an error. +* +* @return {!X.vector|!goog.math.Vec3} The normalized vector. +*/+var normalize = v.normalize();+/** +* @see goog.math.Vec3.prototype.scale +*/+v.scale();+/** +* @see goog.math.Vec3.prototype.subtract +*/+v.subtract();+/** +* @see goog.math.Vec3.cross +*/+X.vector.cross();+/** +* @see goog.math.Vec3.distance +*/+X.vector.distance();+/** +* @see goog.math.Vec3.dot +*/+X.vector.dot();++/** +* @see goog.math.Vec3.lerp +*/+X.vector.lerp();++ +
+ CONSTRUCTORS
+ X.vector
+ PROPERTIES
+
+ GETTERS/SETTERS
+ xx
yy
zz
+ FUNCTIONS
+ add
clone
invert
magnitude
normalize
scale
subtract
+ STATIC
+ cross
distance
dot
lerp
+SOURCECODE +
+ + + \ No newline at end of file diff --git a/volume.html b/volume.html index 8e53940..5465360 100644 --- a/volume.html +++ b/volume.html @@ -52,7 +52,7 @@ function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ - [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], + [{v:"goog.events.EventTarget",f:"goog.events.EventTarget"},null,null], ["X.base","goog.events.EventTarget",null], ["X.object","X.base",null], [{v:"X.displayable",f:"X.displayable"},null,null], @@ -78,7 +78,7 @@The X Toolkit API
- +X.volume
@@ -331,7 +331,14 @@X.volume
* @type {number} * @protected */ -v._pointsize = $_POINTSIZE;+v._pointsize = $_POINTSIZE;+/** +* The reslicing flag. +* +* @type {!boolean} +* @protected +*/+v._reslicing = $_RESLICING;/** * The scalars of this object. * @@ -771,7 +778,23 @@-v.pointsize = $SIZE;X.volume
* @param {!number} size The point size. * @throws {Error} An exception if the given size is invalid. */+v.pointsize = $SIZE;+/** +* Return the reslicing flag. +* +* @return {boolean} TRUE if reslicing is enabled, FALSE otherwise. +* @public +*/+var _reslicing = v.reslicing;+/** +* Set the borders flag. Must be called before the volume gets created +* internally. After that, the borders can be modified using the children of +* each slice. +* +* @param {boolean} reslicing TRUE to enable reslicing, FALSE to disable it. +* @public +*/+v.reslicing = $RESLICING;/** * The scalars associated with this object. * @@ -876,7 +899,7 @@X.volume
/** * Copies the properties from a given volume to this volume. * -* @param {!X.volume} volume The given volume. +* @param {*} volume The given volume. * @protected */v.copy_($VOLUME);@@ -888,8 +911,10 @@X.volume
v.create_();/** * Fire a modified event for this object. +* +* @param {?boolean=} propagateEvent An optional flag to stop propagating down to child classes. */-v.modified();+v.modified($PROPAGATEEVENT);/** * Show the current slices which are set by this._indexX, this._indexY and * this._indexZ and hide all others. @@ -930,9 +955,9 @@X.volume
CONSTRUCTORS
X.volume
PROPERTIES
- _borders
_caption
_center
_children
_classname
_color
_colors
_colortable
_dimensions
_dirty
_distance
_file
_filedata
_id
_image
_indexX
_indexXold
_indexY
_indexYold
_indexZ
_indexZold
_labelmap
_linewidth
_lowerThreshold
_magicmode
_max
_maxColor
_min
_minColor
_normals
_opacity
_pointIndices
_points
_pointsize
_scalars
_slicesX
_slicesY
_slicesZ
_spacing
_texture
_textureCoordinateMap
_transform
_type
_upperThreshold
_visible
_volumeRendering
_volumeRenderingDirection
_volumeRenderingOld
_windowHigh
_windowLow
+ _borders
_caption
_center
_children
_classname
_color
_colors
_colortable
_dimensions
_dirty
_distance
_file
_filedata
_id
_image
_indexX
_indexXold
_indexY
_indexYold
_indexZ
_indexZold
_labelmap
_linewidth
_lowerThreshold
_magicmode
_max
_maxColor
_min
_minColor
_normals
_opacity
_pointIndices
_points
_pointsize
_reslicing
_scalars
_slicesX
_slicesY
_slicesZ
_spacing
_texture
_textureCoordinateMap
_transform
_type
_upperThreshold
_visible
_volumeRendering
_volumeRenderingDirection
_volumeRenderingOld
_windowHigh
_windowLow
GETTERS/SETTERS
- borders
caption
center
children
classname
color
colors
colortable
dimensions
file
filedata
id
image
indexX
indexY
indexZ
labelmap
linewidth
lowerThreshold
magicmode
maxColor
max
minColor
min
normals
opacity
points
pointsize
scalars
texture
transform
type
upperThreshold
visible
volumeRendering
windowHigh
windowLow
+ borders
caption
center
children
classname
color
colors
colortable
dimensions
file
filedata
id
image
indexX
indexY
indexZ
labelmap
linewidth
lowerThreshold
magicmode
maxColor
max
minColor
min
normals
opacity
points
pointsize
reslicing
scalars
texture
transform
type
upperThreshold
visible
volumeRendering
windowHigh
windowLow
FUNCTIONS
copy_
create_
modified
slicing_
volumeRendering_
STATIC