X3D Example Archives: Conformance Nist, Special Groups, Switch

[1] bound_500.x3d Front View
Directory Viewpoint Slideshow

Switch is a Grouping node that only renders one (or zero) child at a time. Switch can contain most nodes. (Contained nodes are now called 'children' rather than 'choice', for consistent naming among all GroupingNodeType nodes.) All child choices continue to receive and send events regardless of whichChoice is active.

X3D Tooltips of interest: Switch.

X3D Specification sections of interest: 10 Grouping component, 10.2 Concepts and 10.4.3 Switch.

X3D Examples Archives of related interest:

6 X3D Models                 12 X3D Model Viewpoint Snapshots

bound_500
bound 500.x3d    
[1] bound_500.x3d Front View
[2] bound_500.x3d (default X3D view from 0 0 10)

less_than_zero
less than zero.x3d    
[3] less_than_zero.x3d Front View
[4] less_than_zero.x3d (default X3D view from 0 0 10)

more_than_max
more than max.x3d    
[5] more_than_max.x3d Front View
[6] more_than_max.x3d (default X3D view from 0 0 10)

nested_switch
nested switch.x3d    
[7] nested_switch.x3d Front View
[8] nested_switch.x3d (default X3D view from 0 0 10)

select_firstchoice
select firstchoice.x3d    
[9] select_firstchoice.x3d Front View
[10] select_firstchoice.x3d (default X3D view from 0 0 10)

select_lastchoice
select lastchoice.x3d    
[11] select_lastchoice.x3d Front view
[12] select_lastchoice.x3d (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
https://www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/Switch/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/SpecialGroups/Switch/_viewpoints