element BlendedVolumeStyle
diagram x3d-3.3_diagrams/x3d-3.3_p9.png
type extension of X3DComposableVolumeRenderStyleNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString ImageTexture PixelTexture MovieTexture BlendedVolumeStyle BoundaryEnhancementVolumeStyle CartoonVolumeStyle ComposedVolumeStyle EdgeEnhancementVolumeStyle OpacityMapVolumeStyle ProjectionVolumeStyle ShadedVolumeStyle SilhouetteEnhancementVolumeStyle ToneMappedVolumeStyle ComposedTexture3D ImageTexture3D PixelTexture3D ProtoInstance
used by
group VolumeRenderStyleContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
enabled  SFBool    true    
weightConstant1  derived by: SFFloat    0.5    
weightConstant2  derived by: SFFloat    0.5    
weightFunction1  volumeRenderingWeightFunctionChoices    CONSTANT    
weightFunction2  volumeRenderingWeightFunctionChoices    CONSTANT    
containerField  xs:NMTOKEN    renderStyle    
annotation
appinfo
<xs:element name="renderStyle" type="SFNode" fixed="inputOutputField" default="X3DComposableVolumeRenderStyleNode"/>
<xs:element name="voxels" type="SFNode" fixed="inputOutputField" default="X3DTexture3DNode"/>
<xs:element name="weightTransferFunction1" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
<xs:element name="weightTransferFunction2" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="VolumeRendering"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/>
source <xs:element name="BlendedVolumeStyle">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="renderStyle" type="SFNode" fixed="inputOutputField" default="X3DComposableVolumeRenderStyleNode"/>
     
<xs:element name="voxels" type="SFNode" fixed="inputOutputField" default="X3DTexture3DNode"/>
     
<xs:element name="weightTransferFunction1" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
     
<xs:element name="weightTransferFunction2" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="VolumeRendering"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/volume.html#BlendedVolumeStyle"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DComposableVolumeRenderStyleNode">
       
<xs:choice minOccurs="0" maxOccurs="4">
         
<xs:group ref="Texture2DContentModel">
           
<xs:annotation>
             
<xs:documentation>SFNode weightTransferFunction1 or SFNode weightTransferFunction2</xs:documentation>
           
</xs:annotation>
         
</xs:group>
         
<xs:group ref="VolumeRenderStyleContentModel">
           
<xs:annotation>
             
<xs:documentation>SFNode renderStyle</xs:documentation>
           
</xs:annotation>
         
</xs:group>
         
<xs:group ref="Texture3DContentModel">
           
<xs:annotation>
             
<xs:documentation>SFNode voxels</xs:documentation>
           
</xs:annotation>
         
</xs:group>
         
<xs:element ref="ProtoInstance">
           
<xs:annotation>
             
<xs:documentation>Appropriately typed substitution node</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:choice>
       
<xs:attribute name="weightConstant1" default="0.5">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="weightConstant2" default="0.5">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="weightFunction1" type="volumeRenderingWeightFunctionChoices" default="CONSTANT"/>
       
<xs:attribute name="weightFunction2" type="volumeRenderingWeightFunctionChoices" default="CONSTANT"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="renderStyle"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute BlendedVolumeStyle/@weightConstant1
type restriction of SFFloat
properties
default 0.5
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="weightConstant1" default="0.5">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BlendedVolumeStyle/@weightConstant2
type restriction of SFFloat
properties
default 0.5
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="weightConstant2" default="0.5">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BlendedVolumeStyle/@weightFunction1
type volumeRenderingWeightFunctionChoices
properties
default CONSTANT
facets
Kind Value Annotation
enumeration CONSTANT
appinfo
Use weightConstant1
enumeration ALPHA1
appinfo
Use O_v
enumeration ALPHA2
appinfo
Use O_blend
enumeration ONE_MINUS_ALPHA1
appinfo
Use 1 - O_v
enumeration ONE_MINUS_ALPHA2
appinfo
Use 1 - O_blend
enumeration TABLE
appinfo
Use table lookup value
source <xs:attribute name="weightFunction1" type="volumeRenderingWeightFunctionChoices" default="CONSTANT"/>

attribute BlendedVolumeStyle/@weightFunction2
type volumeRenderingWeightFunctionChoices
properties
default CONSTANT
facets
Kind Value Annotation
enumeration CONSTANT
appinfo
Use weightConstant1
enumeration ALPHA1
appinfo
Use O_v
enumeration ALPHA2
appinfo
Use O_blend
enumeration ONE_MINUS_ALPHA1
appinfo
Use 1 - O_v
enumeration ONE_MINUS_ALPHA2
appinfo
Use 1 - O_blend
enumeration TABLE
appinfo
Use table lookup value
source <xs:attribute name="weightFunction2" type="volumeRenderingWeightFunctionChoices" default="CONSTANT"/>

attribute BlendedVolumeStyle/@containerField
type xs:NMTOKEN
properties
default renderStyle
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="renderStyle"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy