Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.view.tdview.SceneGraphModifier Class Reference

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 More...
 

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 More...
 
static Switch _makeSwitchNode (Shape3D shape)
 
static Switch _makeSwitchNode ()
 
static Hashtable< String, Object > getHashtableFromTG (TransformGroup tg)
 get hash table assigned to TransformGroup as user data More...
 
static SceneGraphModifier getInstance ()
 
static GrxLinkItem getLinkFromTG (TransformGroup tg)
 get GrxLinkItem associated with TransformGroup More...
 
static GrxModelItem getModelFromTG (TransformGroup tg)
 get GrxModelItem associated with TransformGroup More...
 

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_
 

Detailed Description

Definition at line 28 of file SceneGraphModifier.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.tdview.SceneGraphModifier.SceneGraphModifier ( )
inlineprivate

Definition at line 52 of file SceneGraphModifier.java.

Member Function Documentation

void com.generalrobotix.ui.view.tdview.SceneGraphModifier._calcUpperLower ( Node  node,
Transform3D  t3dParent 
)
inline
Parameters
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 
)
inlinestatic

Definition at line 364 of file SceneGraphModifier.java.

static Vector3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeNormals ( )
inlinestaticprivate

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 
)
inlinestatic

Definition at line 294 of file SceneGraphModifier.java.

static Point3f [] com.generalrobotix.ui.view.tdview.SceneGraphModifier._makePoints ( float[]  upper,
float[]  lower 
)
inlinestatic

make array of vertices of cube

Parameters
uppercoordinates of upper corner of this cube
lowercoordinates of lower corner of this cube
Returns
array of vertices(24)

Definition at line 306 of file SceneGraphModifier.java.

static Switch com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeSwitchNode ( Shape3D  shape)
inlinestatic

Switch_Nodeを作成

Definition at line 469 of file SceneGraphModifier.java.

static Switch com.generalrobotix.ui.view.tdview.SceneGraphModifier._makeSwitchNode ( )
inlinestatic

Definition at line 475 of file SceneGraphModifier.java.

void com.generalrobotix.ui.view.tdview.SceneGraphModifier._setSegmentCapabilities ( TransformGroup  tg)
inlineprivate

Definition at line 137 of file SceneGraphModifier.java.

void com.generalrobotix.ui.view.tdview.SceneGraphModifier._updateUpperLower ( float[]  point)
inlineprivate

Definition at line 271 of file SceneGraphModifier.java.

static Hashtable<String, Object> com.generalrobotix.ui.view.tdview.SceneGraphModifier.getHashtableFromTG ( TransformGroup  tg)
inlinestatic

get hash table assigned to TransformGroup as user data

Parameters
tgTransformGroup
Returns
hash table assigned to TransformGroup

Definition at line 68 of file SceneGraphModifier.java.

static SceneGraphModifier com.generalrobotix.ui.view.tdview.SceneGraphModifier.getInstance ( )
inlinestatic

Definition at line 56 of file SceneGraphModifier.java.

static GrxLinkItem com.generalrobotix.ui.view.tdview.SceneGraphModifier.getLinkFromTG ( TransformGroup  tg)
inlinestatic

get GrxLinkItem associated with TransformGroup

Parameters
tgTransformGroup
Returns
GrxLinkItem

Definition at line 84 of file SceneGraphModifier.java.

static GrxModelItem com.generalrobotix.ui.view.tdview.SceneGraphModifier.getModelFromTG ( TransformGroup  tg)
inlinestatic

get GrxModelItem associated with TransformGroup

Parameters
tgTransformGroup
Returns
GrxModelItem

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

Parameters
jointAxisjoint axis
Returns
array of points(length=2)

Definition at line 402 of file SceneGraphModifier.java.

Member Data Documentation

final int com.generalrobotix.ui.view.tdview.SceneGraphModifier.CREATE_BOUNDS = 0
static

Definition at line 31 of file SceneGraphModifier.java.

int com.generalrobotix.ui.view.tdview.SceneGraphModifier.cullFace_
private

Definition at line 47 of file SceneGraphModifier.java.

boolean com.generalrobotix.ui.view.tdview.SceneGraphModifier.init_

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.

int com.generalrobotix.ui.view.tdview.SceneGraphModifier.mode_

Definition at line 48 of file SceneGraphModifier.java.

int com.generalrobotix.ui.view.tdview.SceneGraphModifier.polygonMode_
private

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
staticprivate

Definition at line 33 of file SceneGraphModifier.java.

SceneGraphModifier com.generalrobotix.ui.view.tdview.SceneGraphModifier.this_
staticprivate

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.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44