Classes | Public Member Functions | Static Public Attributes | Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes
com.generalrobotix.ui.view.Grx3DView Class Reference
Inheritance diagram for com.generalrobotix.ui.view.Grx3DView:
Inheritance graph
[legend]

List of all members.

Classes

class  ModelEditKeyAdapter
class  OnlineViewer_impl
class  ViewSimulator_impl

Public Member Functions

void _showCollision (Collision[] collisions)
void addClickListener (Grx3DViewClickListener listener)
void attach (BranchGroup bg)
void attachUnclickable (BranchGroup bg)
void disableOperation ()
BranchGroup getBranchGroupRoot ()
Canvas3D getCanvas3D ()
String getFullName ()
BranchGroup getRuler ()
TransformGroup getTransformGroupRoot ()
ValueEditType GetValueEditType (String key)
 Return editing type of the key item.
View getView ()
ViewInfo getViewInfo ()
 Grx3DView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent)
boolean propertyChanged (String key, String value)
 check validity of new value of property and update if valid
boolean registerCORBA ()
void registerItemChange (GrxBaseItem item, int event)
void removeClickListener (Grx3DViewClickListener listener)
void repaint ()
void restoreProperties ()
 restore properties. Called by menu item "restore Properties"
void saveScreenShot (File file)
void setDirection (int dir)
void setTransform (Transform3D transform)
void setUp ()
void setViewMode (int mode)
void showOption ()
void showViewSimulator (boolean b)
void shutdown ()
void unregisterCORBA ()
void update (GrxBasePlugin plugin, Object...arg)
void updateModels (WorldStateEx state)
void updatePosition (GrxBasePlugin plugin, Integer arg_pos)
void updateViewSimulator (double time)

Static Public Attributes

static final GraphicsConfiguration graphicsConfiguration = SimpleUniverse.getPreferredConfiguration()
static final String TITLE = "3DView"

Package Attributes

Composite comp
Frame frame_

Private Member Functions

BranchGroup _createLights ()
BranchGroup _createView ()
void _doRecording ()
void _registerAction ()
void _setupSceneGraph ()
void _setupToolBars ()
void _setViewHomePosition ()
void _showDistance (Distance[] distances)
void _showIntersection (LinkPair[] pairs)
void disableButton ()
void enableButton ()
boolean fileOverwriteDialog (final String fileName)
void optionButtonEnable (boolean enable)
String pathToURL (String path)
void rec ()
List< GrxModelItemsetNumOfAABB ()
void showOptionWithoutCollision ()
void stopRecording ()
boolean xor (boolean a, boolean b)

Private Attributes

boolean ans_
Background backGround_ = new Background(0.0f, 0.0f, 0.0f)
BehaviorManager behaviorManager_ = new BehaviorManager(manager_)
BranchGroup bgRoot_
JToggleButton btnBBdisp_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/AABB.png")))
JToggleButton btnCollision_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/collision.png")))
JToggleButton btnCoM_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/com.png")))
JToggleButton btnCoMonFloor_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/com_z0.png")))
JToggleButton btnDistance_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/distance.png")))
JToggleButton btnFloor_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/floor.png")))
JButton btnHomePos_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/home.png")))
JToggleButton btnIntersection_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/proximity.png")))
JButton btnPlayer_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/movie_player.png")))
JToggleButton btnRec_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/record.png")))
JButton btnRestore_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/undo.png")))
boolean btnStateCollision_ = true
boolean btnStateDistance_ = false
boolean btnStateIntersection_ = false
Canvas3D canvas_
float coldiff = 0.1f
Shape3D collision_
float colprop = 10.0f
List< GrxCollisionPairItemcurrentCollisionPairs_ = new ArrayList<GrxCollisionPairItem>()
List< GrxModelItemcurrentModels_ = new ArrayList<GrxModelItem>()
WorldStateEx currentState_ = null
GrxWorldStateItem currentWorld_ = null
double dAngle_ = Math.toRadians(0.1)
double[] default_eye = new double[]{2.0, 2.0, 0.8}
double[] default_lookat = new double[]{0.0, 0.0, 0.8}
double[] default_upward = new double[]{0.0, 0.0, 1.0}
Shape3D distance_
ViewInfo info_
Vector< GrxLinkItemintersectingLinks_
String lastMovieFileName
JLabel lblMode_ = new JLabel(MessageBundle.get("Grx3DView.label.view"))
JLabel lblTarget_ = new JLabel("")
JLabel lblValue_ = new JLabel("")
float LineWidth_ = 1.0f
javax.media.j3d.Locale locale_
boolean modelModified_ = false
ObjectToolBar objectToolBar_ = new ObjectToolBar()
Canvas3D offscreen_
RecordingManager recordingMgr_
boolean ret_
BranchGroup rulerBg_
boolean showActualState_ = true
GrxSimulationItem simItem_ = null
Transform3D t3dViewHome_ = new Transform3D()
TransformGroup tgView_
BranchGroup unclickableBgRoot_
View view_
int viewMode_ = VIEW
ViewToolBar viewToolBar_ = new ViewToolBar(this)

Static Private Attributes

static final int EDIT = 1
static final int SIMULATION = 2
static VirtualUniverse universe_
static final int VIEW = 0

Detailed Description

Definition at line 92 of file Grx3DView.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.view.Grx3DView.Grx3DView ( String  name,
GrxPluginManager  manager,
GrxBaseViewPart  vp,
Composite  parent 
) [inline]

Definition at line 168 of file Grx3DView.java.


Member Function Documentation

BranchGroup com.generalrobotix.ui.view.Grx3DView._createLights ( ) [inline, private]

Definition at line 443 of file Grx3DView.java.

BranchGroup com.generalrobotix.ui.view.Grx3DView._createView ( ) [inline, private]

Definition at line 409 of file Grx3DView.java.

Definition at line 1288 of file Grx3DView.java.

Definition at line 1856 of file Grx3DView.java.

Definition at line 386 of file Grx3DView.java.

Definition at line 523 of file Grx3DView.java.

Definition at line 839 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView._showCollision ( Collision[]  collisions) [inline]

Definition at line 1294 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView._showDistance ( Distance[]  distances) [inline, private]

Definition at line 1346 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView._showIntersection ( LinkPair[]  pairs) [inline, private]

Definition at line 1379 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.addClickListener ( Grx3DViewClickListener  listener) [inline]

Definition at line 2214 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.attach ( BranchGroup  bg) [inline]

Definition at line 1826 of file Grx3DView.java.

Definition at line 1830 of file Grx3DView.java.

Definition at line 1032 of file Grx3DView.java.

Definition at line 2193 of file Grx3DView.java.

Definition at line 1045 of file Grx3DView.java.

boolean com.generalrobotix.ui.view.Grx3DView.fileOverwriteDialog ( final String  fileName) [inline, private]

Definition at line 1253 of file Grx3DView.java.

Definition at line 835 of file Grx3DView.java.

Definition at line 831 of file Grx3DView.java.

Definition at line 1834 of file Grx3DView.java.

Definition at line 1429 of file Grx3DView.java.

Definition at line 1838 of file Grx3DView.java.

Return editing type of the key item.

Returns:
ValueEditType

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 2511 of file Grx3DView.java.

Definition at line 2345 of file Grx3DView.java.

Definition at line 1842 of file Grx3DView.java.

Definition at line 2474 of file Grx3DView.java.

String com.generalrobotix.ui.view.Grx3DView.pathToURL ( String  path) [inline, private]

Definition at line 1269 of file Grx3DView.java.

boolean com.generalrobotix.ui.view.Grx3DView.propertyChanged ( String  property,
String  value 
) [inline]

check validity of new value of property and update if valid

Parameters:
propertyname of property
valuevalue of property
Returns:
true if checked(even if value is not used), false otherwise

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 2353 of file Grx3DView.java.

Definition at line 1121 of file Grx3DView.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 1456 of file Grx3DView.java.

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 871 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.removeClickListener ( Grx3DViewClickListener  listener) [inline]

Definition at line 2218 of file Grx3DView.java.

Definition at line 2420 of file Grx3DView.java.

restore properties. Called by menu item "restore Properties"

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 848 of file Grx3DView.java.

Definition at line 2297 of file Grx3DView.java.

Definition at line 1846 of file Grx3DView.java.

Definition at line 2427 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.setTransform ( Transform3D  transform) [inline]

Definition at line 1849 of file Grx3DView.java.

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 327 of file Grx3DView.java.

Definition at line 1853 of file Grx3DView.java.

Definition at line 1053 of file Grx3DView.java.

Definition at line 1069 of file Grx3DView.java.

Definition at line 1081 of file Grx3DView.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 2398 of file Grx3DView.java.

Definition at line 1239 of file Grx3DView.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 1482 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.update ( GrxBasePlugin  plugin,
Object...  arg 
) [inline]

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 977 of file Grx3DView.java.

Definition at line 1091 of file Grx3DView.java.

void com.generalrobotix.ui.view.Grx3DView.updatePosition ( GrxBasePlugin  plugin,
Integer  arg_pos 
) [inline]

Reimplemented from com.generalrobotix.ui.GrxBaseView.

Definition at line 1015 of file Grx3DView.java.

Definition at line 1419 of file Grx3DView.java.

Definition at line 2349 of file Grx3DView.java.


Member Data Documentation

Definition at line 2426 of file Grx3DView.java.

Background com.generalrobotix.ui.view.Grx3DView.backGround_ = new Background(0.0f, 0.0f, 0.0f) [private]

Definition at line 130 of file Grx3DView.java.

BehaviorManager com.generalrobotix.ui.view.Grx3DView.behaviorManager_ = new BehaviorManager(manager_) [private]

Definition at line 129 of file Grx3DView.java.

Definition at line 114 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnBBdisp_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/AABB.png"))) [private]

Definition at line 152 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnCollision_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/collision.png"))) [private]

Definition at line 144 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnCoM_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/com.png"))) [private]

Definition at line 147 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnCoMonFloor_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/com_z0.png"))) [private]

Definition at line 148 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnDistance_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/distance.png"))) [private]

Definition at line 145 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnFloor_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/floor.png"))) [private]

Definition at line 143 of file Grx3DView.java.

JButton com.generalrobotix.ui.view.Grx3DView.btnHomePos_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/home.png"))) [private]

Definition at line 142 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnIntersection_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/proximity.png"))) [private]

Definition at line 146 of file Grx3DView.java.

JButton com.generalrobotix.ui.view.Grx3DView.btnPlayer_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/movie_player.png"))) [private]

Definition at line 150 of file Grx3DView.java.

JToggleButton com.generalrobotix.ui.view.Grx3DView.btnRec_ = new JToggleButton(new ImageIcon(getClass().getResource("/resources/images/record.png"))) [private]

Definition at line 149 of file Grx3DView.java.

JButton com.generalrobotix.ui.view.Grx3DView.btnRestore_ = new JButton(new ImageIcon(getClass().getResource("/resources/images/undo.png"))) [private]

Definition at line 151 of file Grx3DView.java.

Definition at line 2470 of file Grx3DView.java.

Definition at line 2471 of file Grx3DView.java.

Definition at line 2472 of file Grx3DView.java.

Definition at line 123 of file Grx3DView.java.

Definition at line 120 of file Grx3DView.java.

Definition at line 158 of file Grx3DView.java.

Definition at line 119 of file Grx3DView.java.

Definition at line 166 of file Grx3DView.java.

Definition at line 102 of file Grx3DView.java.

Definition at line 101 of file Grx3DView.java.

Definition at line 103 of file Grx3DView.java.

Definition at line 100 of file Grx3DView.java.

double com.generalrobotix.ui.view.Grx3DView.dAngle_ = Math.toRadians(0.1) [private]

Definition at line 109 of file Grx3DView.java.

double [] com.generalrobotix.ui.view.Grx3DView.default_eye = new double[]{2.0, 2.0, 0.8} [private]

Definition at line 131 of file Grx3DView.java.

double [] com.generalrobotix.ui.view.Grx3DView.default_lookat = new double[]{0.0, 0.0, 0.8} [private]

Definition at line 132 of file Grx3DView.java.

double [] com.generalrobotix.ui.view.Grx3DView.default_upward = new double[]{0.0, 0.0, 1.0} [private]

Definition at line 133 of file Grx3DView.java.

Definition at line 159 of file Grx3DView.java.

final int com.generalrobotix.ui.view.Grx3DView.EDIT = 1 [static, private]

Definition at line 106 of file Grx3DView.java.

Definition at line 165 of file Grx3DView.java.

final GraphicsConfiguration com.generalrobotix.ui.view.Grx3DView.graphicsConfiguration = SimpleUniverse.getPreferredConfiguration() [static]

Definition at line 98 of file Grx3DView.java.

Definition at line 128 of file Grx3DView.java.

Definition at line 160 of file Grx3DView.java.

Definition at line 137 of file Grx3DView.java.

JLabel com.generalrobotix.ui.view.Grx3DView.lblMode_ = new JLabel(MessageBundle.get("Grx3DView.label.view")) [private]

Definition at line 154 of file Grx3DView.java.

JLabel com.generalrobotix.ui.view.Grx3DView.lblTarget_ = new JLabel("") [private]

Definition at line 155 of file Grx3DView.java.

JLabel com.generalrobotix.ui.view.Grx3DView.lblValue_ = new JLabel("") [private]

Definition at line 156 of file Grx3DView.java.

Definition at line 118 of file Grx3DView.java.

javax.media.j3d.Locale com.generalrobotix.ui.view.Grx3DView.locale_ [private]

Definition at line 113 of file Grx3DView.java.

Definition at line 2473 of file Grx3DView.java.

Definition at line 140 of file Grx3DView.java.

Definition at line 124 of file Grx3DView.java.

Definition at line 136 of file Grx3DView.java.

Definition at line 1252 of file Grx3DView.java.

Definition at line 117 of file Grx3DView.java.

Definition at line 162 of file Grx3DView.java.

Definition at line 104 of file Grx3DView.java.

Definition at line 107 of file Grx3DView.java.

Transform3D com.generalrobotix.ui.view.Grx3DView.t3dViewHome_ = new Transform3D() [private]

Definition at line 127 of file Grx3DView.java.

Definition at line 126 of file Grx3DView.java.

final String com.generalrobotix.ui.view.Grx3DView.TITLE = "3DView" [static]

Definition at line 96 of file Grx3DView.java.

Definition at line 115 of file Grx3DView.java.

VirtualUniverse com.generalrobotix.ui.view.Grx3DView.universe_ [static, private]

Definition at line 112 of file Grx3DView.java.

final int com.generalrobotix.ui.view.Grx3DView.VIEW = 0 [static, private]

Definition at line 105 of file Grx3DView.java.

Definition at line 125 of file Grx3DView.java.

Definition at line 108 of file Grx3DView.java.

ViewToolBar com.generalrobotix.ui.view.Grx3DView.viewToolBar_ = new ViewToolBar(this) [private]

Definition at line 141 of file Grx3DView.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 Sun Apr 2 2017 03:44:01