Class dnx.lr.node.DNXSingleMultiConversionNode
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.lr.node.DNXSingleMultiConversionNode

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.lr.Node
                   |
                   +----dnx.lr.LeafNode
                           |
                           +----dnx.lr.node.DNXSingleMultiConversionNode

public class DNXSingleMultiConversionNode
extends LeafNode
 DNXSingleMultiConversion {
    eventIn      SFColor      set_SFColor     
    eventIn      SFFloat      set_SFFloat     
    eventIn      SFInt32      set_SFInt32     
    eventIn      SFNode       set_SFNode      
    eventIn      SFRotation   set_SFRotation  
    eventIn      SFString     set_SFString    
    eventIn      SFTime       set_SFTime      
    eventIn      SFVec2f      set_SFVec2f     
    eventIn      SFVec3f      set_SFVec3f     
    eventIn      MFColor      set_MFColor     
    eventIn      MFFloat      set_MFFloat     
    eventIn      MFInt32      set_MFInt32     
    eventIn      MFNode       set_MFNode      
    eventIn      MFRotation   set_MFRotation  
    eventIn      MFString     set_MFString    
    eventIn      MFTime       set_MFTime      
    eventIn      MFVec2f      set_MFVec2f     
    eventIn      MFVec3f      set_MFVec3f     
    eventOut     SFColor      SFColor_changed 
    eventOut     SFFloat      SFFloat_changed 
    eventOut     SFInt32      SFInt32_changed 
    eventOut     SFNode       SFNode_changed  
    eventOut     SFRotation   SFRotation_changed 
    eventOut     SFString     SFString_changed 
    eventOut     SFTime       SFTime_changed  
    eventOut     SFVec2f      SFVec2f_changed 
    eventOut     SFVec3f      SFVec3f_changed 
    eventOut     MFColor      MFColor_changed 
    eventOut     MFFloat      MFFloat_changed 
    eventOut     MFInt32      MFInt32_changed 
    eventOut     MFNode       MFNode_changed  
    eventOut     MFRotation   MFRotation_changed 
    eventOut     MFString     MFString_changed 
    eventOut     MFTime       MFTime_changed  
    eventOut     MFVec2f      MFVec2f_changed 
    eventOut     MFVec3f      MFVec3f_changed 
 }

This is a custom node specific to the Dimension X browser. In order to use it, you must specify an EXTERNPROTO, like this:

 EXTERNPROTO DNXSingleMultiConversion [
                         eventIn      SFColor    set_SFColor
                         eventIn      SFFloat    set_SFFloat
                         eventIn      SFInt32    set_SFInt32
                         eventIn      SFNode     set_SFNode
                         eventIn      SFRotation set_SFRotation
                         eventIn      SFString   set_SFString
                         eventIn      SFTime     set_SFTime
                         eventIn      SFVec2f    set_SFVec2f
                         eventIn      SFVec3f    set_SFVec3f
                         eventIn      MFColor    set_MFColor
                         eventIn      MFFloat    set_MFFloat
                         eventIn      MFInt32    set_MFInt32
                         eventIn      MFNode     set_MFNode
                         eventIn      MFRotation set_MFRotation
                         eventIn      MFString   set_MFString
                         eventIn      MFTime     set_MFTime
                         eventIn      MFVec2f    set_MFVec2f
                         eventIn      MFVec3f    set_MFVec3f
                         eventOut     SFColor    SFColor_changed
                         eventOut     SFFloat    SFFloat_changed
                         eventOut     SFInt32    SFInt32_changed
                         eventOut     SFNode     SFNode_changed
                         eventOut     SFRotation SFRotation_changed
                         eventOut     SFString   SFString_changed
                         eventOut     SFTime     SFTime_changed
                         eventOut     SFVec2f    SFVec2f_changed
                         eventOut     SFVec3f    SFVec3f_changed
                         eventOut     MFColor    MFColor_changed
                         eventOut     MFFloat    MFFloat_changed
                         eventOut     MFInt32    MFInt32_changed
                         eventOut     MFNode     MFNode_changed
                         eventOut     MFRotation MFRotation_changed
                         eventOut     MFString   MFString_changed
                         eventOut     MFTime     MFTime_changed
                         eventOut     MFVec2f    MFVec2f_changed
                         eventOut     MFVec3f    MFVec3f_changed
                       ]
 "urn:inet:dnx.com:lrnode:dnx.lr.node.DNXSingleMultiConversionNode"
 

The DNXSingleMultiConversion node converts between SF fields and their equivalent MF fields. Sending a value into one of the SF eventIns causes the equivalent MF eventOut to send out a length-one MF value equivalent to the received SF value. Sending a value into one of the MF eventIns causes the equivalent SF eventOut to send out the first value in the received eventIn (provided that the received value has at least one element).


Variable Index

 o MFColor_changed
 o MFFloat_changed
 o MFInt32_changed
 o MFNode_changed
 o MFRotation_changed
 o MFString_changed
 o MFTime_changed
 o MFVec2f_changed
 o MFVec3f_changed
 o SFColor_changed
 o SFFloat_changed
 o SFInt32_changed
 o SFNode_changed
 o SFRotation_changed
 o SFString_changed
 o SFTime_changed
 o SFVec2f_changed
 o SFVec3f_changed

Constructor Index

 o DNXSingleMultiConversionNode()

Method Index

 o createNodeDefinition(NodeDefinition)
Create the node definition.
 o handleEvent(SceneEvent)
Handle an event.
 o initFields()
Initialize field values.

Variables

 o SFColor_changed
  public SFColor SFColor_changed
 o SFFloat_changed
  public SFFloat SFFloat_changed
 o SFInt32_changed
  public SFInt32 SFInt32_changed
 o SFNode_changed
  public SFNode SFNode_changed
 o SFRotation_changed
  public SFRotation SFRotation_changed
 o SFString_changed
  public SFString SFString_changed
 o SFTime_changed
  public SFTime SFTime_changed
 o SFVec2f_changed
  public SFVec2f SFVec2f_changed
 o SFVec3f_changed
  public SFVec3f SFVec3f_changed
 o MFColor_changed
  public MFColor MFColor_changed
 o MFFloat_changed
  public MFFloat MFFloat_changed
 o MFInt32_changed
  public MFInt32 MFInt32_changed
 o MFNode_changed
  public MFNode MFNode_changed
 o MFRotation_changed
  public MFRotation MFRotation_changed
 o MFString_changed
  public MFString MFString_changed
 o MFTime_changed
  public MFTime MFTime_changed
 o MFVec2f_changed
  public MFVec2f MFVec2f_changed
 o MFVec3f_changed
  public MFVec3f MFVec3f_changed

Constructors

 o DNXSingleMultiConversionNode
  public DNXSingleMultiConversionNode()

Methods

 o createNodeDefinition
  protected void createNodeDefinition(NodeDefinition def)
Create the node definition.
Overrides:
createNodeDefinition in class Node
 o initFields
  protected void initFields()
Initialize field values.
Overrides:
initFields in class Node
 o handleEvent
  protected void handleEvent(SceneEvent ev)
Handle an event.
Overrides:
handleEvent in class Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index