javax.media.j3d
Class AuralAttributes

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.NodeComponent
              |
              +--javax.media.j3d.AuralAttributes

public class AuralAttributes
extends NodeComponent

The AuralAttributes object is a component object of a Soundscape node that defines environmental audio parameters that affect sound rendering. These attributes include gain scale factor, atmospheric rolloff, and parameters controlling reverberation, distance frequency filtering, and velocity-based Doppler effect.

Attribute Gain

Attribute Gain Rolloff

Reverberation Model

Reverberation Coeffient

Reverberation Delay

Reverberation Order

Distance Filter

Doppler Effect Model


Field Summary
static int ALLOW_ATTRIBUTE_GAIN_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's attribute gain scale factor information
static int ALLOW_ATTRIBUTE_GAIN_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's attribute gain scale factor information
static int ALLOW_DISTANCE_FILTER_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's frequency cutoff information
static int ALLOW_DISTANCE_FILTER_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's frequency cutoff information
static int ALLOW_DOPPLER_SCALE_FACTOR_READ
          Deprecated. replaced with ALLOW_FREQUENCY_SCALE_FACTOR_READ
static int ALLOW_DOPPLER_SCALE_FACTOR_WRITE
          Deprecated. replaced with ALLOW_FREQUENCY_SCALE_FACTOR_WRITE
static int ALLOW_DOPPLER_VELOCITY_READ
          Deprecated. replaced with ALLOW_VELOCITY_SCALE_FACTOR_READ
static int ALLOW_DOPPLER_VELOCITY_WRITE
          Deprecated. replaced with ALLOW_VELOCITY_SCALE_FACTOR_WRITE
static int ALLOW_FREQUENCY_SCALE_FACTOR_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's frequency scale factor information.
static int ALLOW_FREQUENCY_SCALE_FACTOR_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's frequency scale factor information.
static int ALLOW_REFLECTION_COEFFICIENT_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's reflection coefficient
static int ALLOW_REFLECTION_COEFFICIENT_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's reflection coefficient
static int ALLOW_REVERB_DELAY_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's reverberation delay information
static int ALLOW_REVERB_DELAY_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's reverberation delay information
static int ALLOW_REVERB_ORDER_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's reverb order (feedback loop) information
static int ALLOW_REVERB_ORDER_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's reverb order (feedback loop) information
static int ALLOW_ROLLOFF_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's atmospheric rolloff.
static int ALLOW_ROLLOFF_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's atmospheric rolloff.
static int ALLOW_VELOCITY_SCALE_FACTOR_READ
          For AuralAttributes component objects, specifies that this object allows the reading of it's velocity scale factor information.
static int ALLOW_VELOCITY_SCALE_FACTOR_WRITE
          For AuralAttributes component objects, specifies that this object allows the writing of it's velocity scale factor information.
 
Constructor Summary
AuralAttributes()
          Constructs and initializes a new AuralAttributes object using default parameters.
AuralAttributes(float gain, float rolloff, float reflectionCoefficient, float reverbDelay, int reverbOrder, float[] distance, float[] frequencyCutoff, float frequencyScaleFactor, float velocityScaleFactor)
          Constructs and initializes a new AuralAttributes object using specified parameters with separate float arrays for components of distanceFilter
AuralAttributes(float gain, float rolloff, float reflectionCoefficient, float reverbDelay, int reverbOrder, Point2f[] distanceFilter, float frequencyScaleFactor, float velocityScaleFactor)
          Constructs and initializes a new AuralAttributes object using specified parameters including a array of Point2f for the distanceFilter
 
Method Summary
 NodeComponent cloneNodeComponent()
          Creates a new AuralAttributes object.
 void duplicateNodeComponent(NodeComponent originalNodeComponent)
          Copies all node information from originalNodeComponent into the current node.
 void duplicateNodeComponent(NodeComponent originalNodeComponent, boolean duplicateRetained)
          Copies all node information from originalNodeComponent into the current node.
 float getAttributeGain()
          Retrieve Attrribute Gain (amplitude)
 void getDistanceFilter(float[] distance, float[] frequencyCutoff)
          Retrieve Distance Filter in separate distance and frequency cutoff arrays
 void getDistanceFilter(Point2f[] attenuation)
          Retrieve Distance Filter as a single array containing distances and frequency cutoff
 int getDistanceFilterLength()
          Retrieve Distance Filter array length
 float getDopplerScaleFactor()
          Deprecated. replaced with getFrequencyScaleFactor
 float getDopplerVelocity()
          Deprecated. replaced with getVelocityScaleFactor
 float getFrequencyScaleFactor()
          Retrieve Frequency Scale Factor
 float getReflectionCoefficient()
          Retrieve Reflective Coefficient
 float getReverbDelay()
          Retrieve Revereration Delay Time
 int getReverbOrder()
          Retrieve Reverberation Order of Reflections
 float getRolloff()
          Retrieve Attribute Gain Rolloff
 float getVelocityScaleFactor()
          Retrieve Velocity Scale Factor used to calculate Doppler Effect
 void setAttributeGain(float gain)
          Set Attribute Gain (amplitude) scale factor
 void setDistanceFilter(float[] distance, float[] frequencyCutoff)
          Set Distance Filter using separate arrays for distances and frequency cutoff.
 void setDistanceFilter(Point2f[] attenuation)
          Set Distance Filter using a single array containing distances and frequency cutoff as pairs of values as a single array of Point2f.
 void setDopplerScaleFactor(float frequencyScaleFactor)
          Deprecated. replaced with setFrequencyScaleFactor
 void setDopplerVelocity(float velocityScaleFactor)
          Deprecated. replaced with setVelocityScaleFactor
 void setFrequencyScaleFactor(float frequencyScaleFactor)
          This parameter specifies a scale factor applied to the frequency of sound during rendering playback.
 void setReflectionCoefficient(float coefficient)
          Set Reflective Coefficient
 void setReverbDelay(Bounds reverbVolume)
          Set Revereration Delay Time by defining the volume of bounds In this form the parameter implicitly defines the delay time between each order of reflection (while reverberation is being rendered) by specifying a reverberation bounds volume.
 void setReverbDelay(float reverbDelay)
          Set Revereration Delay Time In this form the parameter specifies the delay time between each order of reflection (while reverberation is being rendered) explicitly given in milli- seconds.
 void setReverbOrder(int reverbOrder)
          Set Reverberation Order of Reflections Its parameter specifies the number of times reflections are added to reverberation being calculated.
 void setRolloff(float rolloff)
          Set Attribute Gain Rolloff
 void setVelocityScaleFactor(float velocityScaleFactor)
          Set Velocity scale factor applied during Doppler Effect calculation.
 
Methods inherited from class javax.media.j3d.NodeComponent
getDuplicateOnCloneTree, setDuplicateOnCloneTree
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, duplicateSceneGraphObject, getCapability, getUserData, isCompiled, isLive, setCapability, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALLOW_ATTRIBUTE_GAIN_READ

public static final int ALLOW_ATTRIBUTE_GAIN_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's attribute gain scale factor information

ALLOW_ATTRIBUTE_GAIN_WRITE

public static final int ALLOW_ATTRIBUTE_GAIN_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's attribute gain scale factor information

ALLOW_ROLLOFF_READ

public static final int ALLOW_ROLLOFF_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's atmospheric rolloff.

ALLOW_ROLLOFF_WRITE

public static final int ALLOW_ROLLOFF_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's atmospheric rolloff.

ALLOW_REFLECTION_COEFFICIENT_READ

public static final int ALLOW_REFLECTION_COEFFICIENT_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's reflection coefficient

ALLOW_REFLECTION_COEFFICIENT_WRITE

public static final int ALLOW_REFLECTION_COEFFICIENT_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's reflection coefficient

ALLOW_REVERB_DELAY_READ

public static final int ALLOW_REVERB_DELAY_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's reverberation delay information

ALLOW_REVERB_DELAY_WRITE

public static final int ALLOW_REVERB_DELAY_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's reverberation delay information

ALLOW_REVERB_ORDER_READ

public static final int ALLOW_REVERB_ORDER_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's reverb order (feedback loop) information

ALLOW_REVERB_ORDER_WRITE

public static final int ALLOW_REVERB_ORDER_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's reverb order (feedback loop) information

ALLOW_DISTANCE_FILTER_READ

public static final int ALLOW_DISTANCE_FILTER_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's frequency cutoff information

ALLOW_DISTANCE_FILTER_WRITE

public static final int ALLOW_DISTANCE_FILTER_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's frequency cutoff information

ALLOW_DOPPLER_SCALE_FACTOR_READ

public static final int ALLOW_DOPPLER_SCALE_FACTOR_READ
Deprecated. replaced with ALLOW_FREQUENCY_SCALE_FACTOR_READ

For AuralAttributes component objects, specifies that this object allows the reading of it's Doppler frequency scale factor information.

ALLOW_FREQUENCY_SCALE_FACTOR_READ

public static final int ALLOW_FREQUENCY_SCALE_FACTOR_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's frequency scale factor information.

ALLOW_DOPPLER_SCALE_FACTOR_WRITE

public static final int ALLOW_DOPPLER_SCALE_FACTOR_WRITE
Deprecated. replaced with ALLOW_FREQUENCY_SCALE_FACTOR_WRITE

For AuralAttributes component objects, specifies that this object allows the writing of it's Doppler frequency scale factor information.

ALLOW_FREQUENCY_SCALE_FACTOR_WRITE

public static final int ALLOW_FREQUENCY_SCALE_FACTOR_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's frequency scale factor information.

ALLOW_DOPPLER_VELOCITY_READ

public static final int ALLOW_DOPPLER_VELOCITY_READ
Deprecated. replaced with ALLOW_VELOCITY_SCALE_FACTOR_READ

For AuralAttributes component objects, specifies that this object allows the reading of it's Doppler velocity scale factor information.

ALLOW_VELOCITY_SCALE_FACTOR_READ

public static final int ALLOW_VELOCITY_SCALE_FACTOR_READ
For AuralAttributes component objects, specifies that this object allows the reading of it's velocity scale factor information.

ALLOW_DOPPLER_VELOCITY_WRITE

public static final int ALLOW_DOPPLER_VELOCITY_WRITE
Deprecated. replaced with ALLOW_VELOCITY_SCALE_FACTOR_WRITE

For AuralAttributes component objects, specifies that this object allows the writing of it's Doppler velocity scale factor information.

ALLOW_VELOCITY_SCALE_FACTOR_WRITE

public static final int ALLOW_VELOCITY_SCALE_FACTOR_WRITE
For AuralAttributes component objects, specifies that this object allows the writing of it's velocity scale factor information.
Constructor Detail

AuralAttributes

public AuralAttributes()
Constructs and initializes a new AuralAttributes object using default parameters. The following defaults values are used:

AuralAttributes

public AuralAttributes(float gain,
                       float rolloff,
                       float reflectionCoefficient,
                       float reverbDelay,
                       int reverbOrder,
                       Point2f[] distanceFilter,
                       float frequencyScaleFactor,
                       float velocityScaleFactor)
Constructs and initializes a new AuralAttributes object using specified parameters including a array of Point2f for the distanceFilter
Parameters:
gain - amplitude scale factor
rolloff - atmospheric (changing speed of sound) scale factor
reflectionCoefficient - reflection/absorption factor applied to reverb
reverbDelay - time between each order of reflection
reverbOrder - number of times reflections added to reverb signal
distanceFilter - frequency cutoff
frequencyScaleFactor - applied to change of pitch
velocityScaleFactor - applied to velocity of sound in relation to listener

AuralAttributes

public AuralAttributes(float gain,
                       float rolloff,
                       float reflectionCoefficient,
                       float reverbDelay,
                       int reverbOrder,
                       float[] distance,
                       float[] frequencyCutoff,
                       float frequencyScaleFactor,
                       float velocityScaleFactor)
Constructs and initializes a new AuralAttributes object using specified parameters with separate float arrays for components of distanceFilter
Parameters:
gain - amplitude scale factor
rolloff - atmospheric (changing speed of sound) scale factor
reflectionCoefficient - reflection/absorption factor applied to reverb
reverbDelay - time between each order of reflection
reverbOrder - number of times reflections added to reverb signal
frequencyCutoff - distance filter frequency cutoff
frequencyScaleFactor - applied to velocity/wave-length
velocityScaleFactor - applied to velocity of sound in relation to listener
Method Detail

setAttributeGain

public final void setAttributeGain(float gain)
Set Attribute Gain (amplitude) scale factor
Parameters:
gain - scale factor applied to amplitude
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getAttributeGain

public final float getAttributeGain()
Retrieve Attrribute Gain (amplitude)
Returns:
gain amplitude scale factor
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setRolloff

public final void setRolloff(float rolloff)
Set Attribute Gain Rolloff
Parameters:
rolloff - atmospheric gain scale factor (changing speed of sound)
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getRolloff

public final float getRolloff()
Retrieve Attribute Gain Rolloff
Returns:
rolloff atmospheric gain scale factor (changing speed of sound)
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setReflectionCoefficient

public final void setReflectionCoefficient(float coefficient)
Set Reflective Coefficient
Parameters:
coefficient - reflection/absorption factor applied to reverb
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getReflectionCoefficient

public final float getReflectionCoefficient()
Retrieve Reflective Coefficient
Returns:
reflection coeff reflection/absorption factor applied to reverb
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setReverbDelay

public final void setReverbDelay(float reverbDelay)
Set Revereration Delay Time In this form the parameter specifies the delay time between each order of reflection (while reverberation is being rendered) explicitly given in milli- seconds. A value for delay time of 0.0 disables reverberation.
Parameters:
reverbDelay - time between each order of reflection
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setReverbDelay

public final void setReverbDelay(Bounds reverbVolume)
Set Revereration Delay Time by defining the volume of bounds In this form the parameter implicitly defines the delay time between each order of reflection (while reverberation is being rendered) by specifying a reverberation bounds volume. The delay time is calculated (becoming the new reverb time delay).
Parameters:
reverbVolume - bounds used to approximate reverb time.
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph
java.lang.IllegalArgumentException - only BoundingSphere as a reverb volume is implemented at this time

getReverbDelay

public final float getReverbDelay()
Retrieve Revereration Delay Time
Returns:
reverb delay time between each order of reflection
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setReverbOrder

public final void setReverbOrder(int reverbOrder)
Set Reverberation Order of Reflections Its parameter specifies the number of times reflections are added to reverberation being calculated. A value of -1 specifies an unbounded number of reverberations.
Parameters:
reverbOrder - number of times reflections added to reverb signal
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getReverbOrder

public final int getReverbOrder()
Retrieve Reverberation Order of Reflections
Returns:
reverb order number of times reflections added to reverb signal
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setDistanceFilter

public final void setDistanceFilter(Point2f[] attenuation)
Set Distance Filter using a single array containing distances and frequency cutoff as pairs of values as a single array of Point2f.
Parameters:
attenuation - array of pairs of distance and frequency cutoff
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setDistanceFilter

public final void setDistanceFilter(float[] distance,
                                    float[] frequencyCutoff)
Set Distance Filter using separate arrays for distances and frequency cutoff. The distance and frequencyCutoff arrays should be of the same length. If the frequencyCutoff array length is greater than the distance array length, the frequencyCutoff array elements beyond the length of the distance array are ignored. If the frequencyCutoff array is shorter than the distance array, the last frequencyCutoff array value is repeated to fill an array of length equal to distance array.
Parameters:
distance - array of float distance with corresponding cutoff values
frequencyCutoff - array of frequency cutoff values in Hertz
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getDistanceFilterLength

public final int getDistanceFilterLength()
Retrieve Distance Filter array length
Returns:
attenuation array length
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getDistanceFilter

public final void getDistanceFilter(Point2f[] attenuation)
Retrieve Distance Filter as a single array containing distances and frequency cutoff
Returns:
attenuation array of pais of distance and frequency cutoff values
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getDistanceFilter

public final void getDistanceFilter(float[] distance,
                                    float[] frequencyCutoff)
Retrieve Distance Filter in separate distance and frequency cutoff arrays
Parameters:
distance - array
frequency - cutoff array
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setDopplerScaleFactor

public final void setDopplerScaleFactor(float frequencyScaleFactor)
Deprecated. replaced with setFrequencyScaleFactor

This parameter specifies a scale factor applied to the frequency (or wavelength) portion of the Doppler-effect equation used during sound rendering. This parameter can be used to expand or contract the usual frequency shift applied to the sound source due to Doppler effect calculations. Valid values are >= 0.0.
Parameters:
frequencyScaleFactor - factor applied to change of frequency
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setFrequencyScaleFactor

public final void setFrequencyScaleFactor(float frequencyScaleFactor)
This parameter specifies a scale factor applied to the frequency of sound during rendering playback. If the Doppler effect is disabled, then this scale factor can be used to increase or decrease the original pitch of the sound. During rendering this scale factor expands or contracts the usual frequency shift applied to the sound source due to Doppler calculations. Valid values are >= 0.0. A value of zero cause playing sounds to pause.
Parameters:
frequencyScaleFactor - factor applied to change of frequency
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getDopplerScaleFactor

public final float getDopplerScaleFactor()
Deprecated. replaced with getFrequencyScaleFactor

Retrieve Frequency Scale Factor
Returns:
scaleFactor factor applied to change of frequency
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getFrequencyScaleFactor

public final float getFrequencyScaleFactor()
Retrieve Frequency Scale Factor
Returns:
scaleFactor factor applied to change of frequency
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setDopplerVelocity

public final void setDopplerVelocity(float velocityScaleFactor)
Deprecated. replaced with setVelocityScaleFactor

Set Velocity scale factor applied during Doppler Effect calculation. This parameter specifies a scale factor applied to the velocity of sound relative to listener's position and movement in relation to the sound's position and movement. This scale factor is multipled by the calculated velocity portion of Doppler effect equation used during sound rendering.
Parameters:
velocityScaleFactor - applied to velocity of sound in relation to listener
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

setVelocityScaleFactor

public final void setVelocityScaleFactor(float velocityScaleFactor)
Set Velocity scale factor applied during Doppler Effect calculation. This parameter specifies a scale factor applied to the velocity of the sound relative to listener's position and movement in relation to the sound's position and movement. This scale factor is multipled by the calculated velocity portion of the Doppler effect equation used during sound rendering. A value of zero disables Doppler calculations.
Parameters:
velocityScaleFactor - applied to velocity of sound in relation to listener
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getDopplerVelocity

public final float getDopplerVelocity()
Deprecated. replaced with getVelocityScaleFactor

Retrieve Velocity Scale Factor used to calculate Doppler Effect
Returns:
scale factor applied to Doppler velocity of sound
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

getVelocityScaleFactor

public final float getVelocityScaleFactor()
Retrieve Velocity Scale Factor used to calculate Doppler Effect
Returns:
scale factor applied to Doppler velocity of sound
Throws:
CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph

cloneNodeComponent

public NodeComponent cloneNodeComponent()
Creates a new AuralAttributes object. Called from a Leaf node's duplicateNode method.
Overrides:
cloneNodeComponent in class NodeComponent
Returns:
a duplicate of the AuralAttributes object.
See Also:
Node.duplicateNode(javax.media.j3d.Node, boolean), Node.cloneTree(), NodeComponent.setDuplicateOnCloneTree(boolean)

duplicateNodeComponent

public void duplicateNodeComponent(NodeComponent originalNodeComponent)
Copies all node information from originalNodeComponent into the current node. This method is called from the cloneNodeComponent method which is, in turn, called by the cloneNode method.

For any NodeComponent objects contained by the object being duplicated, each NodeComponent object's duplicateOnCloneTree value is used to determine whether the NodeComponent should be duplicated in the new node or if just a reference to the current node should be placed in the new node. This flag can be overridden by setting the forceDuplicate parameter in the cloneTree method to true.

Overrides:
duplicateNodeComponent in class NodeComponent
Parameters:
originalNodeComponent - the original node to duplicate.
forceDuplicate - when set to true, causes the duplicateOnCloneTree flag to be ignored. When false, the value of each node's duplicateOnCloneTree variable determines whether NodeComponent data is duplicated or copied.
See Also:
Node.cloneTree(), Node.cloneNode(boolean), NodeComponent.setDuplicateOnCloneTree(boolean)

duplicateNodeComponent

public void duplicateNodeComponent(NodeComponent originalNodeComponent,
                                   boolean duplicateRetained)
Copies all node information from originalNodeComponent into the current node. This method is called from the duplicateNode method. This routine does the actual duplication of all "local data" (any data defined in this object). It then will duplicate the retained side of the tree if this method was called from its own 2 parameter duplicateNode method. This is designate by setting the duplicateRetained flag to true. Without this flag a duplicateNode method would not know whether or not to duplicate the retained side of the object.
Parameters:
originalNodeComponent - the original node to duplicate.
duplicateRetained - set to true when this method is should initiate the duplicateRetained call. This call walks up a nodes superclasses so it should only be called once from the class of the original node.
See Also:
Node.cloneTree(), Node.cloneNode(boolean), NodeComponent.duplicateNodeComponent(javax.media.j3d.NodeComponent), NodeComponent.setDuplicateOnCloneTree(boolean)