Recent Changes - Search:

Information

Installation

Documentation

 

Drawing panel (3D)

A 3D drawing panel.

 

Interaction in 3D

You can interact with a drawing panel 3d to change the projection. And you can also interact with ‘active’ 3D elements.
An active element is one that has its “Draggable” or “Resizable” properties set to true.
The interaction is described here.

 

Properties

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.
Size X The size of the element in the X directions. A constant or variable of type double or int.
Size Y The size of the element in the Y directions. A constant or variable of type double or int.
Size Z The size of the element in the Z directions. A constant or variable of type double or int.
Camera (click to reset) | |
Name Description Values accepted
Auto adjust Whether the camera should adjust automatically on changes. A boolean variable or one of the constants true or false.
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.
Draggable Whether the element can be dragged. A boolean variable or one of the constants true or false.
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.
Axes Mapping The mapping between coordinates and the axes in 3D modes. Use the editor provided to make a choice.
Default Lights Whether to have default lights on. A boolean variable or one of the constants true or false.
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 Y coordinate.
Z Format The format to the Z 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.
Image The file with the image to display. A String variable or use the editor provided to select a file.
Moveable Whether the background image is moveable. A boolean variable or one of the constants true or false.
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.

 

 



Edit - History - Print - Recent Changes - Search
Page last modified on October 18, 2010, at 12:52 AM