org.hfbk.vis.visnode.VisFunction Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisFunction:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisFunction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisFunction (Node node, Vector3f position)

Package Functions

Override float[][] heightMap (float t)

Package Attributes

String f
Scripter scripter = new Scripter()

Detailed Description

renders a heightfield (wireframe grid) as a graph of a 3d function f(x,y,t).

examples: sin(10*x+t)*sin(10*y-t) ...a nice virtual water

sin(10*x*x+10*y*y-t)

Definition at line 22 of file VisFunction.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisFunction.VisFunction ( Node  node,
Vector3f  position 
)

Definition at line 28 of file VisFunction.java.

References org.hfbk.util.Scripter.evaluate(), org.hfbk.vis.visnode.VisFunction.f, org.hfbk.vis.visnode.VisNode.node, org.hfbk.vis.visnode.VisFunction.scripter, and org.dronus.graph.Node.text.

Here is the call graph for this function:


Member Function Documentation

Override float [][] org.hfbk.vis.visnode.VisFunction.heightMap ( float  t  )  [package, virtual]

Implements org.hfbk.vis.visnode.VisHeightfield.

Definition at line 36 of file VisFunction.java.

References org.hfbk.vis.visnode.VisFunction.f, org.hfbk.util.Scripter.getFunction(), and org.hfbk.vis.visnode.VisFunction.scripter.

Here is the call graph for this function:


Member Data Documentation

String org.hfbk.vis.visnode.VisFunction.f [package]

Definition at line 24 of file VisFunction.java.

Referenced by org.hfbk.vis.visnode.VisFunction.heightMap(), and org.hfbk.vis.visnode.VisFunction.VisFunction().

Scripter org.hfbk.vis.visnode.VisFunction.scripter = new Scripter() [package]

Definition at line 26 of file VisFunction.java.

Referenced by org.hfbk.vis.visnode.VisFunction.heightMap(), and org.hfbk.vis.visnode.VisFunction.VisFunction().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:11 2009 for visclient by  doxygen 1.5.1