Public Member Functions | |
void | _calcUpperLower (Node node, Transform3D t3dParent) |
Shape3D | _makeAxisLine (Vector3d jointAxis) |
Shape3D | _makeBoundingBox (Color3f color) |
Point3f[] | _makePoints () |
Point3f[] | makeAxisPoints (Vector3d jointAxis) |
make both end points of axis line | |
Static Public Member Functions | |
static Shape3D | _makeCube (Color3f color, Point3f[] points) |
static Point3f[] | _makePoints (float x, float y, float z) |
static Point3f[] | _makePoints (float[] upper, float[] lower) |
make array of vertices of cube | |
static Switch | _makeSwitchNode (Shape3D shape) |
static Switch | _makeSwitchNode () |
static Hashtable< String, Object > | getHashtableFromTG (TransformGroup tg) |
get hash table assigned to TransformGroup as user data | |
static SceneGraphModifier | getInstance () |
static GrxLinkItem | getLinkFromTG (TransformGroup tg) |
get GrxLinkItem associated with TransformGroup | |
static GrxModelItem | getModelFromTG (TransformGroup tg) |
get GrxModelItem associated with TransformGroup | |
Public Attributes | |
boolean | init_ |
int | mode_ |
Static Public Attributes | |
static final int | CREATE_BOUNDS = 0 |
static final int | RESIZE_BOUNDS = 1 |
static final int | SHADING = 0 |
static final int | WIRE_FRAME = 1 |
Private Member Functions | |
void | _setSegmentCapabilities (TransformGroup tg) |
void | _updateUpperLower (float[] point) |
SceneGraphModifier () | |
Static Private Member Functions | |
static Vector3f[] | _makeNormals () |
Private Attributes | |
int | cullFace_ |
float[] | lower_ = new float[3] |
int | polygonMode_ |
float[] | upper_ = new float[3] |
Static Private Attributes | |
static final int | SHADING_MODE = 2 |
static SceneGraphModifier | this_ |
Definition at line 28 of file SceneGraphModifier.java.
com.generalrobotix.ui.view.tdview.SceneGraphModifier.SceneGraphModifier | ( | ) | [inline, private] |
Definition at line 52 of file SceneGraphModifier.java.
void com.generalrobotix.ui.view.tdview.SceneGraphModifier._calcUpperLower | ( | Node | node, |
Transform3D | t3dParent | ||
) | [inline] |
node | |
t3dParent |
Definition at line 148 of file SceneGraphModifier.java.
Shape3D com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeAxisLine | ( | Vector3d | jointAxis | ) | [inline] |
Z軸線を作成
Definition at line 433 of file SceneGraphModifier.java.
Shape3D com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeBoundingBox | ( | Color3f | color | ) | [inline] |
Definition at line 392 of file SceneGraphModifier.java.
static Shape3D com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeCube | ( | Color3f | color, |
Point3f[] | points | ||
) | [inline, static] |
Definition at line 364 of file SceneGraphModifier.java.
static Vector3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeNormals | ( | ) | [inline, static, private] |
Definition at line 335 of file SceneGraphModifier.java.
Point3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makePoints | ( | ) | [inline] |
BoundingBoxを作成
Definition at line 290 of file SceneGraphModifier.java.
static Point3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makePoints | ( | float | x, |
float | y, | ||
float | z | ||
) | [inline, static] |
Definition at line 294 of file SceneGraphModifier.java.
static Point3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makePoints | ( | float[] | upper, |
float[] | lower | ||
) | [inline, static] |
make array of vertices of cube
upper | coordinates of upper corner of this cube |
lower | coordinates of lower corner of this cube |
Definition at line 306 of file SceneGraphModifier.java.
static Switch com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeSwitchNode | ( | Shape3D | shape | ) | [inline, static] |
Switch_Nodeを作成
Definition at line 469 of file SceneGraphModifier.java.
static Switch com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeSwitchNode | ( | ) | [inline, static] |
Definition at line 475 of file SceneGraphModifier.java.
void com.generalrobotix.ui.view.tdview.SceneGraphModifier._setSegmentCapabilities | ( | TransformGroup | tg | ) | [inline, private] |
Definition at line 137 of file SceneGraphModifier.java.
void com.generalrobotix.ui.view.tdview.SceneGraphModifier._updateUpperLower | ( | float[] | point | ) | [inline, private] |
Definition at line 271 of file SceneGraphModifier.java.
static Hashtable<String, Object> com.generalrobotix.ui.view.tdview.SceneGraphModifier.getHashtableFromTG | ( | TransformGroup | tg | ) | [inline, static] |
get hash table assigned to TransformGroup as user data
tg | TransformGroup |
Definition at line 68 of file SceneGraphModifier.java.
static SceneGraphModifier com.generalrobotix.ui.view.tdview.SceneGraphModifier.getInstance | ( | ) | [inline, static] |
Definition at line 56 of file SceneGraphModifier.java.
static GrxLinkItem com.generalrobotix.ui.view.tdview.SceneGraphModifier.getLinkFromTG | ( | TransformGroup | tg | ) | [inline, static] |
get GrxLinkItem associated with TransformGroup
tg | TransformGroup |
Definition at line 84 of file SceneGraphModifier.java.
static GrxModelItem com.generalrobotix.ui.view.tdview.SceneGraphModifier.getModelFromTG | ( | TransformGroup | tg | ) | [inline, static] |
get GrxModelItem associated with TransformGroup
tg | TransformGroup |
Definition at line 98 of file SceneGraphModifier.java.
Point3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier.makeAxisPoints | ( | Vector3d | jointAxis | ) | [inline] |
make both end points of axis line
jointAxis | joint axis |
Definition at line 402 of file SceneGraphModifier.java.
final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.CREATE_BOUNDS = 0 [static] |
Definition at line 31 of file SceneGraphModifier.java.
Definition at line 47 of file SceneGraphModifier.java.
Definition at line 45 of file SceneGraphModifier.java.
float [] com.generalrobotix.ui.view.tdview.SceneGraphModifier.lower_ = new float[3] [private] |
Definition at line 43 of file SceneGraphModifier.java.
Definition at line 48 of file SceneGraphModifier.java.
Definition at line 46 of file SceneGraphModifier.java.
final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.RESIZE_BOUNDS = 1 [static] |
Definition at line 32 of file SceneGraphModifier.java.
final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.SHADING = 0 [static] |
Definition at line 35 of file SceneGraphModifier.java.
final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.SHADING_MODE = 2 [static, private] |
Definition at line 33 of file SceneGraphModifier.java.
SceneGraphModifier com.generalrobotix.ui.view.tdview.SceneGraphModifier.this_ [static, private] |
Definition at line 42 of file SceneGraphModifier.java.
float [] com.generalrobotix.ui.view.tdview.SceneGraphModifier.upper_ = new float[3] [private] |
Definition at line 44 of file SceneGraphModifier.java.
final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.WIRE_FRAME = 1 [static] |
Definition at line 36 of file SceneGraphModifier.java.