Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Interface MultiParentNode

All Known Implementing Classes:
SharedGroup, SharedNode

public interface MultiParentNode

Marker interface used to allow group nodes to work out when a child is multiparented.

For live state checks you need to call the methods in this class so that we know which parent was calling the update. This is needed so that the multiparented objects can do a check through all the parents to find out whether it should still be live, while eliminating the caller from the check. We need to eliminate the caller because at the point the setLive() method is called the parent will not have yet changed over its state to the final state, due to needing the children updated first for the bounds update.

Version:
$Revision: 2.1 $
Author:
Justin Couch

Method Summary
 void setLive(Node caller, boolean state)
          Overloaded version of the notification that this object's liveness state has changed.
 

Method Detail

setLive

void setLive(Node caller,
             boolean state)
Overloaded version of the notification that this object's liveness state has changed. We overload with the caller so that for shared

Parameters:
caller - The node calling us with the state changes
state - true if this should be marked as live now

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org