Public Attributes | |
Vector3f | target = new Vector3f(50,-20,0) |
Package Functions | |
VisBalistic (Node node, Vector3f pos) | |
double | wurfweite (double a) |
float | invWurfweite (double X) |
double | bestAngle (double y) |
void | renderSelf () |
float | drawRanges () |
Package Attributes | |
float | heading |
float | elevation |
float | G = 9.81f |
float | v0 = 20 |
float | y0 |
Definition at line 16 of file VisBalistic.java.
org.hfbk.vis.visnode.VisBalistic.VisBalistic | ( | Node | node, | |
Vector3f | pos | |||
) | [package] |
Definition at line 20 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisNode.node, and org.hfbk.vis.visnode.VisNode.radius.
double org.hfbk.vis.visnode.VisBalistic.wurfweite | ( | double | a | ) | [package] |
Berechnet die Wurfweite eines schiefen Wurfes mit dem Wurfwinkel a, der Wurfgeschwindigkeit v0 und der Abwurfhöhe y0.
Definition at line 35 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisBalistic.G, org.hfbk.vis.visnode.VisBalistic.v0, and org.hfbk.vis.visnode.VisBalistic.y0.
Referenced by org.hfbk.vis.visnode.VisKUKA.drawRanges(), org.hfbk.vis.visnode.VisBalistic.drawRanges(), org.hfbk.vis.visnode.VisBalistic.invWurfweite(), and org.hfbk.vis.visnode.VisBalistic.renderSelf().
Here is the caller graph for this function:
float org.hfbk.vis.visnode.VisBalistic.invWurfweite | ( | double | X | ) | [package] |
Berechne den Abwurfwinkel zu eine gewünschten Wurfweite a Die Berechnung erfolgt mittels Newtonverfahren. Der Startwert ist so gewählt, dass der niedrigste Winkel benutzt wird. D.h. Es wird nie höher gezielt um die Reichweite zu senken. Durch die kurze Flubahn werden Windabweichungen veringert.
Definition at line 48 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisBalistic.wurfweite().
Referenced by org.hfbk.vis.visnode.VisBalistic.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
double org.hfbk.vis.visnode.VisBalistic.bestAngle | ( | double | y | ) | [package] |
Definition at line 81 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisBalistic.G, and org.hfbk.vis.visnode.VisBalistic.v0.
Referenced by org.hfbk.vis.visnode.VisKUKA.drawRanges(), and org.hfbk.vis.visnode.VisBalistic.drawRanges().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisBalistic.renderSelf | ( | ) | [package, virtual] |
implement this to actually render this node itself. also used to update a node's state.
things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance
Implements org.hfbk.vis.visnode.VisNode.
Reimplemented in org.hfbk.vis.visnode.VisKUKA.
Definition at line 85 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisBalistic.drawRanges(), org.hfbk.vis.visnode.VisBalistic.elevation, org.hfbk.vis.visnode.VisBalistic.G, org.hfbk.vis.visnode.VisBalistic.heading, org.hfbk.vis.visnode.VisBalistic.invWurfweite(), org.hfbk.vis.visnode.VisBalistic.target, org.hfbk.vis.visnode.VisBalistic.v0, org.hfbk.vis.visnode.VisBalistic.wurfweite(), and org.hfbk.vis.visnode.VisBalistic.y0.
Here is the call graph for this function:
float org.hfbk.vis.visnode.VisBalistic.drawRanges | ( | ) | [package] |
Reimplemented in org.hfbk.vis.visnode.VisKUKA.
Definition at line 141 of file VisBalistic.java.
References org.hfbk.vis.visnode.VisBalistic.bestAngle(), org.hfbk.vis.visnode.VisBalistic.wurfweite(), and org.hfbk.vis.visnode.VisBalistic.y0.
Referenced by org.hfbk.vis.visnode.VisBalistic.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
Vector3f org.hfbk.vis.visnode.VisBalistic.target = new Vector3f(50,-20,0) |
Definition at line 18 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisTarget.handleEvent(), and org.hfbk.vis.visnode.VisBalistic.renderSelf().
float org.hfbk.vis.visnode.VisBalistic.heading [package] |
Definition at line 26 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisKUKA.handleRS232(), and org.hfbk.vis.visnode.VisBalistic.renderSelf().
float org.hfbk.vis.visnode.VisBalistic.elevation [package] |
Definition at line 27 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisKUKA.handleRS232(), and org.hfbk.vis.visnode.VisBalistic.renderSelf().
float org.hfbk.vis.visnode.VisBalistic.G = 9.81f [package] |
Definition at line 29 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisBalistic.bestAngle(), org.hfbk.vis.visnode.VisBalistic.renderSelf(), and org.hfbk.vis.visnode.VisBalistic.wurfweite().
float org.hfbk.vis.visnode.VisBalistic.v0 = 20 [package] |
Definition at line 29 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisBalistic.bestAngle(), org.hfbk.vis.visnode.VisBalistic.renderSelf(), and org.hfbk.vis.visnode.VisBalistic.wurfweite().
float org.hfbk.vis.visnode.VisBalistic.y0 [package] |
Definition at line 29 of file VisBalistic.java.
Referenced by org.hfbk.vis.visnode.VisKUKA.drawRanges(), org.hfbk.vis.visnode.VisBalistic.drawRanges(), org.hfbk.vis.visnode.VisBalistic.renderSelf(), and org.hfbk.vis.visnode.VisBalistic.wurfweite().