Difference between revisions of "BooleanFilter"

From Web3D.org
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
*[[Node Reference]]
 
*[[Node Reference]]
 
==BooleanFilter==
 
==BooleanFilter==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/utils.html#BooleanFilter BooleanFilter]
 +
 
<pre>
 
<pre>
 
BooleanFilter : X3DChildNode {
 
BooleanFilter : X3DChildNode {
Line 11: Line 14:
 
</pre>
 
</pre>
  
BooleanFilter filters boolean events, allowing for selective routing of TRUE or FALSE values and negation.
+
==DTD Validation==
 +
 
 +
===Children===
 +
 
 +
Children must appear as follows:
 +
 
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 
 +
===Attributes===
 +
 
 +
N/A
 +
 
 +
==Schema Validation==
 +
 
 +
===Children===
 +
 
 +
Children must appear as follows:
 +
 
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 
 +
===Attributes===
 +
 
 +
N/A
 +
 
 +
==Schematron validation==
  
 +
TBD
  
When the set_boolean event is received, the BooleanFilter node generates two events: either inputTrue or inputFalse, based on the boolean value received; and inputNegate, which contains the negation of the value received.
 
 
*[[Node Reference]]
 
*[[Node Reference]]

Latest revision as of 09:51, 25 April 2015

BooleanFilter

Specification Link: BooleanFilter

BooleanFilter : X3DChildNode {
  SFBool [in]     set_boolean
  SFNode [in,out] metadata    NULL [X3DMetadataObject]
  SFBool [out]    inputFalse
  SFBool [out]    inputNegate
  SFBool [out]    inputTrue
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

N/A

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

N/A

Schematron validation

TBD