A 3D drawing panel.
Display3DPanel  |
3D Panel |
Scales |
Name | Description | Values accepted | Default |
Minimum X | Minimum X value that can be displayed. | A constant or variable of type double or int. | |
Maximum X | Maximum X value that can be displayed. | A constant or variable of type double or int. | |
Minimum Y | Minimum Y value that can be displayed. | A constant or variable of type double or int. | |
Maximum Y | Maximum Y value that can be displayed. | A constant or variable of type double or int. | |
Minimum Z | Minimum Z value that can be displayed. | A constant or variable of type double or int. | |
Maximum Z | Maximum Z value that can be displayed. | A constant or variable of type double or int. | |
Camera (click to reset) | | | | | |
Name | Description | Values accepted | |
Projection | How to project the 3D scene to the 2D screen Display popup menus in this panel. | Use the editor provided to make a choice. | |
Location X | The X position of the camera. | A constant or variable of type double or int. | |
Location Y | The Y position of the camera. | A constant or variable of type double or int. | |
Location Z | The Z position of the camera. | A constant or variable of type double or int. | |
Azimuth | The azimuthal angle of the camera position. | A constant or variable of type double or int. | |
Altitude | The altitude angle of the camera position. | A constant or variable of type double or int. | |
Focus X | The X position of the camera focus. | A constant or variable of type double or int. | |
Focus Y | The Y position of the camera focus. | A constant or variable of type double or int. | |
Focus Z | The Z position of the camera focus. | A constant or variable of type double or int. | |
Rotation | The rotation of the camera. | A constant or variable of type double or int. | |
Screen At | The distance from the camera to the projection screen. | A constant or variable of type double or int. | |
Interaction | | | | | |
Name | Description | Values accepted | |
Menu Entry | The name to display in the simulation’s corresponding elements menu entry. | A string variable. | |
Enabled | Whether the element is responsive to user action. | A boolean variable or one of the constants true or false. | |
Pos X | The X coordinate of the pointer. | A constant or variable of type double or int. | |
Pos Y | The Y coordinate of the pointer. | A constant or variable of type double or int. | |
Pos Z | The Z coordinate of the pointer. | A constant or variable of type double or int. | |
On Press | The action to invoke when the element is pressed. | The Java code to invoke for the action. | |
On Drag | The action to invoke when the element is dragged. | The Java code to invoke for the action. | |
On Release | The action to invoke when the element is released. | The Java code to invoke for the action. | |
On Enter | The action to invoke when the mouse enters the element. | The Java code to invoke for the action. | |
Mouse Move | The action to invoke when the mouse moves within the element. | The Java code to invoke for the action. | |
On Exit | The action to invoke when the mouse leaves the element. | The Java code to invoke for the action. | |
Key Action | The action triggered when a key is pressed. | The Java code to invoke for the action. | |
Key Pressed | The integer code of the key pressed. | A integer value. | |
Print Target | The view element to print when taking a snapshot. | A string constant or variable. | |
Configuration | | | | | |
Name | Description | Values accepted | |
Implementation | The implementation used to display the scene. | Use the editor provided to make a choice. | |
Decoration | Which decoration elements of the scene (axes, box) to display. | Use the editor provided to make a choice. | |
Axes Labels | The label for the axes. | A string variable. | |
Cursor | The type of cursor to display. | Use the editor provided to make a choice. | |
Hide lines | Whether to remove hide lines. | A boolean variable or one of the constants true or false. | |
Quick Redraw | Whether to allow wire-frame drawing when rotating. | A boolean variable or one of the constants true or false. | |
Color Depth | Whether to dim out objects far away. | A boolean variable or one of the constants true or false. | |
Square | Whether to keep a square aspect. | A boolean variable or one of the constants true or false. | |
Coordinates | Whether to display coordinates when the mouse is pressed. | A boolean variable or one of the constants true or false. | |
X Format | The format to the X coordinate. | ???? | |
Y Format | The format to the X coordinate. | ???? | |
Z Format | The format to the X coordinate. | ???? | |
Graphical Aspect | | | | | |
Name | Description | Values accepted | |
Visible | The visibility of the element. | A boolean variable or one of the constants true or false. | |
Size | The double[] array with the size of the panel in each direction. | Type the two size values or use the editor provided. | |
Background | The background color for the element. | Use the editor provided or read about colors. | |
Foreground | The color to use when drawing or writing in the element. | Use the editor provided or read about colors. | |
Font | The font used to display text in the element. | Use the editor provided to select name, style and size of the font. | |
Tooltip | Text displayed when the mouse is over the element. | A string constant or variable. | |