Class Example10
VRML 97 specification example: simple PointSet example composed of 3 points. The first point is red (1 0 0), the second point is green (0 1 0), and the third point is blue (0 0 1). The second PointSet instances the Coordinate node defined in the first PointSet, but defines different colours.
Related links: Catalog page Example10, source Example10.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | Example10.x3d |
translator | Don Brutzman |
created | 26 June 2000 |
modified | 28 October 2019 |
creator | X3D working group |
description | VRML 97 specification example: simple PointSet example composed of 3 points. The first point is red (1 0 0), the second point is green (0 1 0), and the third point is blue (0 0 1). The second PointSet instances the Coordinate node defined in the first PointSet, but defines different colours. |
reference | originals/exampleD_10.wrl |
specificationSection | VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.10 PointSet |
specificationUrl | https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.10 |
identifier | https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example10.x3d |
generator | X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit |
license | ../license.html |
This program uses the
X3D Java Scene Access Interface Library (X3DJSAIL).
It has been produced using the
X3dToJava.xslt
stylesheet
(version control)
which is used to create Java source code from an original .x3d
model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3D
Provide a shallow copy of the X3D model.final void
Create and initialize the X3D model for this object.static void
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
Example10
public Example10()Default constructor to create this object.
-
-
Method Details
-
initialize
public final void initialize()Create and initialize the X3D model for this object. -
getX3dModel
public org.web3d.x3d.jsail.Core.X3D getX3dModel()Provide a shallow copy of the X3D model.- Returns:
- Example10 model
- See Also:
-
main
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.- Parameters:
args
- array of input parameters, provided as arguments- See Also:
-