The View class allows you to control the view and plotting modes in D3PLOT. More...
The D3PLOT JavaScript API provides many class constants, properties and methods. For Arup to
be able to extend and enhance the API in the future any constant, property or method names beginning with a lowercase
or uppercase letter are reserved.
If you need to add your own properties or methods to one of the existing classes then to avoid any potential future conflict you
should ensure that the name begins with either an underscore (_) or a dollar sign ($) or the name is prefixed with your
own unique identifier.
For example if company 'ABC' need to add a property called 'example' then to avoid any potential future conflict use one of:
| Name | Description |
| View.ISO | Isometric projection |
| View.XY | XY axis projection |
| View.XZ | XZ axis projection |
| View.YZ | YZ axis projection |
| Name | Description |
| View.CURRENT | current mode |
| View.HIDDEN | Hidden line |
| View.SHADED | Shaded view |
| View.WIRE | Wireframe |
Detailed DescriptionThe View class gives you access to the different plotting modes and views. See the documentation below for more details. |
Details of functionsAc() [static]DescriptionAutoscales the view |
No arguments
ReturnsNo return value |
ExampleTo autoscale View.Ac();
|
Ct() [static]DescriptionDoes a contour plot |
No arguments
ReturnsNo return value |
ExampleTo do a contour plot View.Ct();
|
Hi() [static]DescriptionDoes a Hidden line plot |
No arguments
ReturnsNo return value |
ExampleTo do a hidden line plot View.Hi();
|
Li() [static]DescriptionDoes a line (wireframe) plot |
No arguments
ReturnsNo return value |
ExampleTo do a line plot View.Li();
|
Redraw() [static]DescriptionRedraws the plot using the current plot mode. |
No arguments
ReturnsNo return value |
ExampleTo redraw View.Redraw();
|
Sh() [static]DescriptionDoes a shaded plot |
No arguments
ReturnsNo return value |
ExampleTo do a shaded plot View.Sh();
|
Show(View type[constant]) [static]DescriptionRedraws using one of the standard views |
The view to show. Can be +/-View.XY, +/-View.YZ, +/-View.XZ or +/-View.ISO
ReturnsNo return value |
ExampleTo do an isometric view from the negative direction: View.Show(-View.ISO);
|
Si() [static]DescriptionDoes a shaded image contour plot |
No arguments
ReturnsNo return value |
ExampleTo do a shaded image contour plot View.Si();
|
Vec() [static]DescriptionDoes a vector plot |
No arguments
ReturnsNo return value |
ExampleTo do a vector plot View.Vec();
|