FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
FWSFDouble.java
1
package
sai;
2
import
org.web3d.x3d.sai.*;
3
4
public
class
FWSFDouble
extends
FreeWRLField
implements
SFDouble
{
5
FreeWRLBrowser
browser;
6
7
public
FWSFDouble
(
FreeWRLFieldDefinition
def,
FreeWRLBrowser
b) {
8
super(def, b);
9
browser = b;
10
}
11
12
public
double
getValue() {
13
String rep;
14
rep = browser.SendEventOut(nodePtr, offset, datasize, dataType,
command
);
15
return
Double.valueOf(rep).doubleValue();
16
}
17
18
public
void
setValue(
double
value) {
19
browser.newSendEvent(
this
,
""
+ value);
20
}
21
}
command
Definition:
common.c:686
sai.FreeWRLField
Definition:
FreeWRLField.java:4
sai.FreeWRLFieldDefinition
Definition:
FreeWRLFieldDefinition.java:4
org.web3d.x3d.sai.SFDouble
Definition:
SFDouble.java:3
sai.FWSFDouble
Definition:
FWSFDouble.java:4
sai.FreeWRLBrowser
Definition:
FreeWRLBrowser.java:18
src
java
sai
FWSFDouble.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6