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) |
View | getView () |
ViewInfo | getViewInfo () |
Grx3DView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent) | |
boolean | propertyChanged (String key, String value) |
boolean | registerCORBA () |
void | registerItemChange (GrxBaseItem item, int event) |
void | removeClickListener (Grx3DViewClickListener listener) |
void | repaint () |
void | restoreProperties () |
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) |
Public Member Functions inherited from com.generalrobotix.ui.GrxBaseView | |
GrxBaseView (String name, GrxPluginManager manager_, GrxBaseViewPart vp, Composite parent) | |
constructor More... | |
void | setName (String name) |
GrxBaseViewPart | getViewPart () |
get view part More... | |
Composite | getParent () |
get parent composite More... | |
Composite | getComposite () |
get composite. SWTのパーツはここで取得できるコンポジット上に設置する。 More... | |
void | setScrollMinSize (int width, int height) |
set scroll minimum size More... | |
boolean | cleanup (List< GrxBaseItem > itemList) |
cleanup More... | |
void | itemListChanged () |
this method is called by PluginManager when list of items is changed More... | |
void | focusedItemChanged (GrxBaseItem item) |
void | propertyChanged () |
This method is called when a property of plugin is changed. More... | |
void | registerItemChange (GrxBaseItem item, int event) |
void | update (GrxBasePlugin plugin, Object...arg) |
void | updatePosition (GrxBasePlugin plugin, Integer pos) |
void | updateTableFont () |
void | updateEditerFont () |
void | restoreProperties () |
Element | storeProperties () |
void | setUp () |
Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
void | addObserver (GrxObserver v) |
GrxBasePlugin | clone () |
Override clone method. More... | |
void | deleteObserver (GrxObserver v) |
boolean | equals (Object obj) |
check whether obj equals to this More... | |
Element | getElement () |
get element More... | |
Image | getIcon () |
get icon More... | |
Vector< Action > | getMenu () |
get menu More... | |
String[] | getMenuPath () |
get menu path More... | |
final String | getName () |
get name More... | |
ArrayList< GrxObserver > | getObserver () |
String | getOldName () |
Vector< MenuManager > | getSubMenu () |
get subMenu More... | |
String | getURL (boolean expand) |
ValueEditType | GetValueEditType (String key) |
Return editing type of the key item. More... | |
boolean | isExclusive () |
check whether this is exclusive or not More... | |
boolean | isSelected () |
check whether this is selected or not More... | |
void | notifyObservers (Object...arg) |
boolean | propertyChanged (String property, String value) |
check validity of new value of property and update if valid More... | |
boolean | registerCORBA () |
void | rename (String newName) |
rename this item More... | |
void | restoreProperties () |
restore properties. Called by menu item "restore Properties" More... | |
void | setDocument (Document doc) |
set document More... | |
void | setElement (Element element) |
set element More... | |
void | setExclusive (boolean b) |
set exclusive flag More... | |
void | setFocused (boolean b) |
set/unset focus on this plugin More... | |
void | setMenuItem (Action a) |
add a menu item More... | |
void | setName (String name) |
set name More... | |
Object | setProperty (String key, String value) |
set property value associated with a keyword More... | |
void | setSelected (boolean b) |
set selected flag More... | |
void | setSubMenu (MenuManager m) |
add a submenu More... | |
void | setURL (String url) |
set URL property More... | |
void | shutdown () |
Element | storeProperties () |
store properties More... | |
final String | toString () |
convert to String. Currently, name is returned. More... | |
void | unregisterCORBA () |
Public Member Functions inherited from com.generalrobotix.ui.util.GrxConfigBundle | |
final Double | getDbl (String key, Double defaultVal) |
get double value associated to key More... | |
Double | getDbl (String value) |
final double[] | getDblAry (String key, double[] defaultVal) |
get double array associated to key More... | |
double[] | getDblAry (String value) |
get array of double from String More... | |
final Float | getFlt (String key, Float defaultVal) |
get float value associated to key More... | |
final Float | getFlt (String value) |
final float[] | getFltAry (String key, float[] defaultVal) |
get float array associated to key More... | |
float[] | getFltAry (String value) |
final Integer | getInt (String key, Integer defaultVal) |
get integer value associated to key More... | |
final int[] | getIntAry (String key) |
get integer array associated to key More... | |
final Short | getShort (String key, Short defaultVal) |
get short value associated to key More... | |
Short | getShort (String value) |
final String | getStr (String key) |
get value associated to keyword More... | |
final String | getStr (String key, String defaultVal) |
get value associated to key More... | |
GrxConfigBundle () | |
constructor More... | |
GrxConfigBundle (String fname) throws IOException | |
construct from a file More... | |
final boolean | isFalse (String key) |
check whether value associated to key includes a word "false" More... | |
final boolean | isFalse (String key, boolean defaultVal) |
check whether value associated to key includes a word "false" More... | |
final boolean | isTrue (String key) |
check whether value associated to key includes a word "true" More... | |
final boolean | isTrue (String key, boolean defaultVal) |
check whether value associated to key includes a word "true" More... | |
void | load (String fname) throws IOException |
load config from a file More... | |
final void | setBool (String key, boolean value) |
final void | setDbl (String key, double value) |
associate double value to key More... | |
final void | setDbl (String key, double value, int digits) |
associate double value to key More... | |
final void | setDblAry (String key, double[] value, int digits) |
associate double array to key More... | |
final void | setDblAry (String key, double[] value) |
associate double array to key More... | |
final void | setFlt (String key, float value) |
associate float value to key More... | |
final void | setFltAry (String key, float[] value) |
associate float array to key More... | |
final void | setInt (String key, int value) |
associate int value to key More... | |
final void | setShort (String key, short value) |
associate short value to key More... | |
void | store (String fname, String comments) throws IOException |
store this config More... | |
Public Member Functions inherited from com.generalrobotix.ui.view.tdview.ThreeDDrawable | |
String | getName () |
Static Public Attributes | |
static final GraphicsConfiguration | graphicsConfiguration = SimpleUniverse.getPreferredConfiguration() |
static final String | TITLE = "3DView" |
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< GrxModelItem > | setNumOfAABB () |
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< GrxCollisionPairItem > | currentCollisionPairs_ = new ArrayList<GrxCollisionPairItem>() |
List< GrxModelItem > | currentModels_ = 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< GrxLinkItem > | intersectingLinks_ |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from com.generalrobotix.ui.GrxBaseView | |
static Dimension | getDefaultButtonSize () |
get default button size More... | |
Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
static Object | getField (Class<?extends GrxBasePlugin > cls, String field, Object defaultValue) |
get field More... | |
Public Attributes inherited from com.generalrobotix.ui.GrxBaseView | |
boolean | isScrollable_ = true |
double | min |
Protected Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin | |
GrxBasePlugin (String name, GrxPluginManager manager) | |
constructor More... | |
void | setIcon (String iconName) |
set icon More... | |
void | setMenuPath (String[] path) |
set menu path More... | |
boolean | syncExec (Runnable r) |
Transfer SWT UI thread. More... | |
Protected Attributes inherited from com.generalrobotix.ui.GrxBaseView | |
Composite | composite_ |
Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin | |
Document | doc_ |
Element | element_ |
GrxPluginManager | manager_ |
Static Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin | |
static final String[] | booleanComboItem_ = new String[] {"true", "false" } |
static final String | INDENT4 = " " |
static final String | ITEM_TAG = "item" |
static final String | PROPERTY_TAG = "property" |
static final String | VIEW_TAG = "view" |
Definition at line 92 of file Grx3DView.java.
|
inline |
Definition at line 168 of file Grx3DView.java.
|
inlineprivate |
Definition at line 443 of file Grx3DView.java.
|
inlineprivate |
Definition at line 409 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1288 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1856 of file Grx3DView.java.
|
inlineprivate |
Definition at line 386 of file Grx3DView.java.
|
inlineprivate |
Definition at line 523 of file Grx3DView.java.
|
inlineprivate |
Definition at line 839 of file Grx3DView.java.
|
inline |
Definition at line 1294 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1346 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1379 of file Grx3DView.java.
|
inline |
Definition at line 2214 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1826 of file Grx3DView.java.
|
inline |
Definition at line 1830 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1032 of file Grx3DView.java.
|
inline |
Definition at line 2193 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1045 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1253 of file Grx3DView.java.
|
inline |
Definition at line 835 of file Grx3DView.java.
|
inline |
Definition at line 831 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1834 of file Grx3DView.java.
|
inline |
Definition at line 1429 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1838 of file Grx3DView.java.
|
inline |
Definition at line 2511 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 2345 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1842 of file Grx3DView.java.
Definition at line 2474 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1269 of file Grx3DView.java.
|
inline |
Definition at line 2353 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1121 of file Grx3DView.java.
|
inline |
Definition at line 1456 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.GrxItemChangeListener.
Definition at line 871 of file Grx3DView.java.
|
inline |
Definition at line 2218 of file Grx3DView.java.
|
inline |
Definition at line 2420 of file Grx3DView.java.
|
inline |
Definition at line 848 of file Grx3DView.java.
|
inline |
Definition at line 2297 of file Grx3DView.java.
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1846 of file Grx3DView.java.
|
inlineprivate |
Definition at line 2427 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1849 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.GrxItemChangeListener.
Definition at line 327 of file Grx3DView.java.
Implements com.generalrobotix.ui.view.tdview.ThreeDDrawable.
Definition at line 1853 of file Grx3DView.java.
|
inline |
Definition at line 1053 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1069 of file Grx3DView.java.
Definition at line 1081 of file Grx3DView.java.
|
inline |
Definition at line 2398 of file Grx3DView.java.
|
inlineprivate |
Definition at line 1239 of file Grx3DView.java.
|
inline |
Definition at line 1482 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.GrxObserver.
Definition at line 977 of file Grx3DView.java.
|
inline |
Definition at line 1091 of file Grx3DView.java.
|
inline |
Implements com.generalrobotix.ui.GrxPositionObserver.
Definition at line 1015 of file Grx3DView.java.
|
inline |
Definition at line 1419 of file Grx3DView.java.
Definition at line 2349 of file Grx3DView.java.
|
private |
Definition at line 2426 of file Grx3DView.java.
|
private |
Definition at line 130 of file Grx3DView.java.
|
private |
Definition at line 129 of file Grx3DView.java.
|
private |
Definition at line 114 of file Grx3DView.java.
|
private |
Definition at line 152 of file Grx3DView.java.
|
private |
Definition at line 144 of file Grx3DView.java.
|
private |
Definition at line 147 of file Grx3DView.java.
|
private |
Definition at line 148 of file Grx3DView.java.
|
private |
Definition at line 145 of file Grx3DView.java.
|
private |
Definition at line 143 of file Grx3DView.java.
|
private |
Definition at line 142 of file Grx3DView.java.
|
private |
Definition at line 146 of file Grx3DView.java.
|
private |
Definition at line 150 of file Grx3DView.java.
|
private |
Definition at line 149 of file Grx3DView.java.
|
private |
Definition at line 151 of file Grx3DView.java.
|
private |
Definition at line 2470 of file Grx3DView.java.
|
private |
Definition at line 2471 of file Grx3DView.java.
|
private |
Definition at line 2472 of file Grx3DView.java.
|
private |
Definition at line 123 of file Grx3DView.java.
|
private |
Definition at line 120 of file Grx3DView.java.
|
private |
Definition at line 158 of file Grx3DView.java.
|
private |
Definition at line 119 of file Grx3DView.java.
|
private |
Definition at line 102 of file Grx3DView.java.
|
private |
Definition at line 101 of file Grx3DView.java.
|
private |
Definition at line 103 of file Grx3DView.java.
|
private |
Definition at line 100 of file Grx3DView.java.
|
private |
Definition at line 109 of file Grx3DView.java.
|
private |
Definition at line 131 of file Grx3DView.java.
|
private |
Definition at line 132 of file Grx3DView.java.
|
private |
Definition at line 133 of file Grx3DView.java.
|
private |
Definition at line 159 of file Grx3DView.java.
|
staticprivate |
Definition at line 106 of file Grx3DView.java.
|
static |
Definition at line 98 of file Grx3DView.java.
|
private |
Definition at line 128 of file Grx3DView.java.
|
private |
Definition at line 160 of file Grx3DView.java.
|
private |
Definition at line 137 of file Grx3DView.java.
|
private |
Definition at line 154 of file Grx3DView.java.
|
private |
Definition at line 155 of file Grx3DView.java.
|
private |
Definition at line 156 of file Grx3DView.java.
|
private |
Definition at line 118 of file Grx3DView.java.
|
private |
Definition at line 113 of file Grx3DView.java.
|
private |
Definition at line 2473 of file Grx3DView.java.
|
private |
Definition at line 140 of file Grx3DView.java.
|
private |
Definition at line 124 of file Grx3DView.java.
|
private |
Definition at line 136 of file Grx3DView.java.
|
private |
Definition at line 1252 of file Grx3DView.java.
|
private |
Definition at line 117 of file Grx3DView.java.
|
private |
Definition at line 162 of file Grx3DView.java.
|
private |
Definition at line 104 of file Grx3DView.java.
|
staticprivate |
Definition at line 107 of file Grx3DView.java.
|
private |
Definition at line 127 of file Grx3DView.java.
|
private |
Definition at line 126 of file Grx3DView.java.
|
static |
Definition at line 96 of file Grx3DView.java.
|
private |
Definition at line 115 of file Grx3DView.java.
|
staticprivate |
Definition at line 112 of file Grx3DView.java.
|
staticprivate |
Definition at line 105 of file Grx3DView.java.
|
private |
Definition at line 125 of file Grx3DView.java.
Definition at line 108 of file Grx3DView.java.
|
private |
Definition at line 141 of file Grx3DView.java.