Package Functions | |
Port (List< Vector3f > polygon) | |
VisDuct | getOwner () |
void | render () |
boolean | isDualAspect (Port other) |
boolean | isCompatible (Port other) |
float | matchPlaneRotation (Vector3f other, Vector3f axis) |
float | matchAspect (Vector3f other, Vector3f axis) |
boolean | tolerate (float a, float b) |
Package Attributes | |
float | w |
float | h |
Vector3f | center |
Vector3f | normal |
Vector3f | base |
List< Vector3f > | polygon = new ArrayList<Vector3f>() |
final float | TOLERANCE = 3 |
Definition at line 64 of file VisDucts.java.
org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port | ( | List< Vector3f > | polygon | ) | [package] |
creates a Port from a given polygon. In fact, this polygon is no part of the Ducts surface, maybe it should be excluded from rendering.
Definition at line 78 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.base, org.hfbk.vis.visnode.VisDucts.VisDuct.Port.center, org.hfbk.vis.visnode.VisDucts.VisDuct.Port.h, org.hfbk.vis.visnode.VisDucts.VisDuct.Port.normal, and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.w.
VisDuct org.hfbk.vis.visnode.VisDucts.VisDuct.Port.getOwner | ( | ) | [package] |
get the VisDuct this Port is part of.
Definition at line 96 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.getThis().
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisDucts.VisDuct.Port.render | ( | ) | [package] |
Definition at line 98 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.polygon.
boolean org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isDualAspect | ( | Port | other | ) | [package] |
tell if this port is a 90 degree counterpart of another one.
Definition at line 108 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.h, org.hfbk.vis.visnode.VisDucts.VisDuct.Port.tolerate(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.w.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isCompatible().
Here is the call graph for this function:
Here is the caller graph for this function:
boolean org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isCompatible | ( | Port | other | ) | [package] |
tell if this port could be connected to an other one airtight.
Definition at line 112 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.h, org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isDualAspect(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.tolerate(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.w.
Here is the call graph for this function:
float org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchPlaneRotation | ( | Vector3f | other, | |
Vector3f | axis | |||
) | [package] |
computes an angle and an axis to turn about to match this port with another one.
axis | vector to fill the computed axis into. |
Definition at line 122 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.base, and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.normal.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.renderSelf().
Here is the caller graph for this function:
float org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchAspect | ( | Vector3f | other, | |
Vector3f | axis | |||
) | [package] |
returns angle and axis the VisDuct need to turn about to match the other ports aspect, if compatible.
Definition at line 140 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.base, and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.normal.
boolean org.hfbk.vis.visnode.VisDucts.VisDuct.Port.tolerate | ( | float | a, | |
float | b | |||
) | [package] |
Definition at line 153 of file VisDucts.java.
References org.hfbk.vis.visnode.VisDucts.VisDuct.Port.TOLERANCE.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isCompatible(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isDualAspect().
Here is the caller graph for this function:
float org.hfbk.vis.visnode.VisDucts.VisDuct.Port.w [package] |
Definition at line 65 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isCompatible(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isDualAspect(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port().
float org.hfbk.vis.visnode.VisDucts.VisDuct.Port.h [package] |
Definition at line 65 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isCompatible(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.isDualAspect(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port().
Vector3f org.hfbk.vis.visnode.VisDucts.VisDuct.Port.center [package] |
Definition at line 67 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port(), org.hfbk.vis.visnode.VisDucts.renderSelf(), org.hfbk.vis.visnode.VisDucts.VisDuct.renderSelf(), and org.hfbk.vis.visnode.VisDucts.VisDuct.spin().
Vector3f org.hfbk.vis.visnode.VisDucts.VisDuct.Port.normal [package] |
the face normal of the port site
Definition at line 69 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchAspect(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchPlaneRotation(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port(), org.hfbk.vis.visnode.VisDucts.VisDuct.renderSelf(), and org.hfbk.vis.visnode.VisDucts.VisDuct.spin().
Vector3f org.hfbk.vis.visnode.VisDucts.VisDuct.Port.base [package] |
the longer side of the port site
Definition at line 71 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchAspect(), org.hfbk.vis.visnode.VisDucts.VisDuct.Port.matchPlaneRotation(), and org.hfbk.vis.visnode.VisDucts.VisDuct.Port.Port().
List<Vector3f> org.hfbk.vis.visnode.VisDucts.VisDuct.Port.polygon = new ArrayList<Vector3f>() [package] |
the port face
Definition at line 73 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.render().
final float org.hfbk.vis.visnode.VisDucts.VisDuct.Port.TOLERANCE = 3 [package] |
tolerance the ports width and height may have to still connect properly.
Definition at line 152 of file VisDucts.java.
Referenced by org.hfbk.vis.visnode.VisDucts.VisDuct.Port.tolerate().