Java Doc for NodeRetained.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.IndexedObject
      javax.media.j3d.SceneGraphObjectRetained
         javax.media.j3d.NodeRetained

All known Subclasses:   javax.media.j3d.LeafRetained,  javax.media.j3d.GroupRetained,
NodeRetained
abstract class NodeRetained extends SceneGraphObjectRetained implements NnuId(Code)
The Node class provides an abstract class for all Group and Leaf Nodes. It provides a common framework for constructing a Java 3D scene graph, including bounding volumes and parent pointers.


Field Summary
final static  intALTERNATEAPPEARANCE
    
final static  intAMBIENTLIGHT
    
final static  intBACKGROUND
    
final static  intBACKGROUNDSOUND
    
final static  intBEHAVIOR
    
final static  intBOUNDINGLEAF
    
final static  intBRANCHGROUP
    
final static  intCLIP
    
final static  intCONESOUND
    
final static  intCONTAINS_VIEWPLATFORM
    
final static  intCURRENT_LOCAL_TO_VWORLD
    
final static  intDECALGROUP
    
final static  intDIRECTIONALLIGHT
    
final static  intEXPONENTIALFOG
    
final static  intGROUP
    
final static  intLAST_LOCAL_TO_VWORLD
    
final static  intLINEARFOG
    
final static  intLINK
    
final static  intMODELCLIP
    
final static  intMORPH
    
final static  intNUMNODES
    
final static  intORDEREDGROUP
    
final static  intORIENTEDSHAPE3D
    
final static  intPOINTLIGHT
    
final static  intPOINTSOUND
    
final static  intSHAPE
    
final static  intSHAREDGROUP
    
final static  intSOUNDSCAPE
    
final static  intSPOTLIGHT
    
final static  intSWITCH
    
final static  intTRANSFORMGROUP
    
final static  intVIEWPLATFORM
    
final static  intVIEWSPECIFICGROUP
    
 BoundsapiBounds
    
 booleanboundsAutoCompute
    
 ArrayListbranchGroupPaths
     Each element, p, of branchGroupPaths is a list of BranchGroup from root of the tree to this. For BranchGroup under a non-shared group this size of branchGroupPaths is always 1.
protected  BoundscachedBounds
    
 intchildIndex
     This is the index for the child, as seen by its parent.
 booleancollidable
     The collidable setting; see getCollidable and setCollidable.
 BackgroundRetainedgeometryBackground
    
 booleaninSharedGroup
    
 BoundslocalBounds
    
 Transform3DlocalToVworld
    
 intlocalToVworldIndex
    
 HashKeylocalToVworldKeys
    
 Localelocale
     The locale that this node is attatched to.
 intnnuId
    
 StringnodeId
     The node's internal identifier.
 intnodeType
     An int that represents the nodes type.
 IntegerorderedId
    
 NodeRetainedparent
     The node's parent.
 GroupRetainedparentSwitchLink
    
 GroupRetainedparentTransformLink
    
 booleanpickable
     This indicates if the node is pickable.
 intrefCount
    
 TransformGroupRetainedstaticTransform
    
 VirtualUniverseuniverse
    
protected  booleanvalidCachedBounds
    

Constructor Summary
 NodeRetained()
    

Method Summary
 voidclearLive(SetLiveState s)
    
 voidcomputeCombineBounds(Bounds bounds)
     ONLY needed for SHAPE, MORPH, and LINK node type.
 voidcomputeNonLiveLocalToVworld(Transform3D t, Node caller)
     Compute the LocalToVworld of this node even though it is not live.
 voiddirtyBoundsCache()
    
 voiddoSetLive(SetLiveState s)
    
public  intequal(NnuId obj)
    
 voidfindCollidableFlags(boolean collide)
    
 voidfindPickableFlags(boolean pick)
    
 voidfindTransformLevels(int transformLevels)
    
 BoundsgetBounds()
    
 booleangetBoundsAutoCompute()
     Gets the auto Compute flag for the geometric bounds.
 booleangetCollidable()
    
 Transform3DgetCurrentLocalToVworld()
    
 Transform3DgetCurrentLocalToVworld(int index)
    
 Transform3DgetCurrentLocalToVworld(HashKey key)
    
 BoundsgetEffectiveBounds()
     Gets the bounding object of a node.
public  intgetId()
    
 Transform3DgetLastLocalToVworld()
    
 Transform3DgetLastLocalToVworld(int index)
    
 Transform3DgetLastLocalToVworld(HashKey key)
    
 BoundsgetLocalBounds(Bounds bounds)
    
 voidgetLocalToVworld(Transform3D t)
     Get the localToVworld transform for a node.
 voidgetLocalToVworld(SceneGraphPath path, Transform3D t)
     Get the localToVworld transform for a node.
 voidgetLocalToVworld(Transform3D t, HashKey key)
    
 LocalegetLocale()
    
 NodeRetainedgetParent()
     Returns the parent of the node.
 booleangetPickable()
    
 VirtualUniversegetVirtualUniverse()
    
 booleanisStatic()
    
 voidmerge(CompileState compState)
    
 voidmergeTransform(TransformGroupRetained xform)
    
 voidnotifySceneGraphChanged(boolean globalTraverse)
    
 int[]processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)
    
 voidrecombineAbove()
    
 voidremoveNodeData(SetLiveState s)
     remove the localToVworld transform for this node.
 voidsearchGeometryAtoms(UnorderList list)
    
 voidsetAuxData(SetLiveState s, int index, int hkIndex)
    
 voidsetBounds(Bounds bounds)
     Sets the geometric bounds of a node.
 voidsetBoundsAutoCompute(boolean autoCompute)
     Sets the automatic calcuation of geometric bounds of a node.
 voidsetCollidable(boolean collidable)
    
 voidsetLive(SetLiveState s)
    
 voidsetNodeData(SetLiveState s)
    
 voidsetParent(NodeRetained parent)
     Replaces the specified parent by a new parent.
 voidsetPickable(boolean pickable)
    
 voidtransformBounds(SceneGraphPath path, Bounds bound)
    
 voidupdateCollidable(HashKey keys, boolean collide)
    
synchronized  voidupdateLocalToVworld()
    
 voidupdatePickable(HashKey pickKeys, boolean pick)
    

Field Detail
ALTERNATEAPPEARANCE
final static int ALTERNATEAPPEARANCE(Code)



AMBIENTLIGHT
final static int AMBIENTLIGHT(Code)



BACKGROUND
final static int BACKGROUND(Code)



BACKGROUNDSOUND
final static int BACKGROUNDSOUND(Code)



BEHAVIOR
final static int BEHAVIOR(Code)



BOUNDINGLEAF
final static int BOUNDINGLEAF(Code)



BRANCHGROUP
final static int BRANCHGROUP(Code)



CLIP
final static int CLIP(Code)



CONESOUND
final static int CONESOUND(Code)



CONTAINS_VIEWPLATFORM
final static int CONTAINS_VIEWPLATFORM(Code)



CURRENT_LOCAL_TO_VWORLD
final static int CURRENT_LOCAL_TO_VWORLD(Code)



DECALGROUP
final static int DECALGROUP(Code)



DIRECTIONALLIGHT
final static int DIRECTIONALLIGHT(Code)



EXPONENTIALFOG
final static int EXPONENTIALFOG(Code)



GROUP
final static int GROUP(Code)



LAST_LOCAL_TO_VWORLD
final static int LAST_LOCAL_TO_VWORLD(Code)



LINEARFOG
final static int LINEARFOG(Code)



LINK
final static int LINK(Code)



MODELCLIP
final static int MODELCLIP(Code)



MORPH
final static int MORPH(Code)



NUMNODES
final static int NUMNODES(Code)



ORDEREDGROUP
final static int ORDEREDGROUP(Code)



ORIENTEDSHAPE3D
final static int ORIENTEDSHAPE3D(Code)



POINTLIGHT
final static int POINTLIGHT(Code)



POINTSOUND
final static int POINTSOUND(Code)



SHAPE
final static int SHAPE(Code)



SHAREDGROUP
final static int SHAREDGROUP(Code)



SOUNDSCAPE
final static int SOUNDSCAPE(Code)



SPOTLIGHT
final static int SPOTLIGHT(Code)



SWITCH
final static int SWITCH(Code)



TRANSFORMGROUP
final static int TRANSFORMGROUP(Code)



VIEWPLATFORM
final static int VIEWPLATFORM(Code)



VIEWSPECIFICGROUP
final static int VIEWSPECIFICGROUP(Code)



apiBounds
Bounds apiBounds(Code)



boundsAutoCompute
boolean boundsAutoCompute(Code)
This boolean is true when the geometric bounds for the node is automatically updated



branchGroupPaths
ArrayList branchGroupPaths(Code)
Each element, p, of branchGroupPaths is a list of BranchGroup from root of the tree to this. For BranchGroup under a non-shared group this size of branchGroupPaths is always 1. Otherwise, the size is equal to the number of possible paths to reach this node. This variable is used to cached BranchGroup for fast picking. For non BranchGroupRetained class this is a reference to the previous BranchGroupRetained branchGroupPaths.



cachedBounds
protected Bounds cachedBounds(Code)



childIndex
int childIndex(Code)
This is the index for the child, as seen by its parent.



collidable
boolean collidable(Code)
The collidable setting; see getCollidable and setCollidable.



geometryBackground
BackgroundRetained geometryBackground(Code)



inSharedGroup
boolean inSharedGroup(Code)
This boolean is true when the node is in a sharedGroup



localBounds
Bounds localBounds(Code)



localToVworld
Transform3D localToVworld(Code)



localToVworldIndex
int localToVworldIndex(Code)



localToVworldKeys
HashKey localToVworldKeys(Code)



locale
Locale locale(Code)
The locale that this node is attatched to. This is only non-null if this instance is directly linked into a locale.



nnuId
int nnuId(Code)



nodeId
String nodeId(Code)
The node's internal identifier.



nodeType
int nodeType(Code)
An int that represents the nodes type. Used for quick if tests in the traverser.



orderedId
Integer orderedId(Code)



parent
NodeRetained parent(Code)
The node's parent.



parentSwitchLink
GroupRetained parentSwitchLink(Code)



parentTransformLink
GroupRetained parentTransformLink(Code)



pickable
boolean pickable(Code)
This indicates if the node is pickable. If this node is not pickable then neither are any children



refCount
int refCount(Code)



staticTransform
TransformGroupRetained staticTransform(Code)



universe
VirtualUniverse universe(Code)
The universe that we are in



validCachedBounds
protected boolean validCachedBounds(Code)




Constructor Detail
NodeRetained
NodeRetained()(Code)




Method Detail
clearLive
void clearLive(SetLiveState s)(Code)



computeCombineBounds
void computeCombineBounds(Bounds bounds)(Code)
ONLY needed for SHAPE, MORPH, and LINK node type. Compute the combine bounds of bounds and its localBounds.



computeNonLiveLocalToVworld
void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)
Compute the LocalToVworld of this node even though it is not live. We assume the graph is attached at the origin of a locale



dirtyBoundsCache
void dirtyBoundsCache()(Code)
Make the boundsCache of this node and all its parents dirty



doSetLive
void doSetLive(SetLiveState s)(Code)



equal
public int equal(NnuId obj)(Code)



findCollidableFlags
void findCollidableFlags(boolean collide)(Code)



findPickableFlags
void findPickableFlags(boolean pick)(Code)



findTransformLevels
void findTransformLevels(int transformLevels)(Code)



getBounds
Bounds getBounds()(Code)



getBoundsAutoCompute
boolean getBoundsAutoCompute()(Code)
Gets the auto Compute flag for the geometric bounds. the node's auto Compute flag for the geometric bounding object



getCollidable
boolean getCollidable()(Code)



getCurrentLocalToVworld
Transform3D getCurrentLocalToVworld()(Code)
Get the current localToVworld transform for a node



getCurrentLocalToVworld
Transform3D getCurrentLocalToVworld(int index)(Code)



getCurrentLocalToVworld
Transform3D getCurrentLocalToVworld(HashKey key)(Code)



getEffectiveBounds
Bounds getEffectiveBounds()(Code)
Gets the bounding object of a node. the node's bounding object



getId
public int getId()(Code)



getLastLocalToVworld
Transform3D getLastLocalToVworld()(Code)
Get the last localToVworld transform for a node



getLastLocalToVworld
Transform3D getLastLocalToVworld(int index)(Code)



getLastLocalToVworld
Transform3D getLastLocalToVworld(HashKey key)(Code)



getLocalBounds
Bounds getLocalBounds(Bounds bounds)(Code)



getLocalToVworld
void getLocalToVworld(Transform3D t)(Code)
Get the localToVworld transform for a node.



getLocalToVworld
void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)
Get the localToVworld transform for a node.



getLocalToVworld
void getLocalToVworld(Transform3D t, HashKey key)(Code)
Get the localToVworld transform for a node



getLocale
Locale getLocale()(Code)
Get the Locale to which the node is attached



getParent
NodeRetained getParent()(Code)
Returns the parent of the node. the parent.



getPickable
boolean getPickable()(Code)



getVirtualUniverse
VirtualUniverse getVirtualUniverse()(Code)



isStatic
boolean isStatic()(Code)



merge
void merge(CompileState compState)(Code)



mergeTransform
void mergeTransform(TransformGroupRetained xform)(Code)



notifySceneGraphChanged
void notifySceneGraphChanged(boolean globalTraverse)(Code)
For the default, just pass up to parent



processViewSpecificInfo
int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)



recombineAbove
void recombineAbove()(Code)



removeNodeData
void removeNodeData(SetLiveState s)(Code)
remove the localToVworld transform for this node.



searchGeometryAtoms
void searchGeometryAtoms(UnorderList list)(Code)



setAuxData
void setAuxData(SetLiveState s, int index, int hkIndex)(Code)



setBounds
void setBounds(Bounds bounds)(Code)
Sets the geometric bounds of a node.
Parameters:
  bounds - the bounding object for the node



setBoundsAutoCompute
void setBoundsAutoCompute(boolean autoCompute)(Code)
Sets the automatic calcuation of geometric bounds of a node.
Parameters:
  autoCompute - is a boolean value indicating if automatic calcuation of bounds



setCollidable
void setCollidable(boolean collidable)(Code)



setLive
void setLive(SetLiveState s)(Code)



setNodeData
void setNodeData(SetLiveState s)(Code)



setParent
void setParent(NodeRetained parent)(Code)
Replaces the specified parent by a new parent.
Parameters:
  parent - the new parent



setPickable
void setPickable(boolean pickable)(Code)



transformBounds
void transformBounds(SceneGraphPath path, Bounds bound)(Code)



updateCollidable
void updateCollidable(HashKey keys, boolean collide)(Code)



updateLocalToVworld
synchronized void updateLocalToVworld()(Code)



updatePickable
void updatePickable(HashKey pickKeys, boolean pick)(Code)



Fields inherited from javax.media.j3d.SceneGraphObjectRetained
final static int DONT_MERGE(Code)(Java Doc)
final static int MERGE(Code)(Java Doc)
final static int MERGE_DONE(Code)(Java Doc)
boolean inBackgroundGroup(Code)(Java Doc)
boolean inSetLive(Code)(Java Doc)
int mergeFlag(Code)(Java Doc)
boolean onUpdateList(Code)(Java Doc)
SceneGraphObject source(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObjectRetained
void clearLive(VirtualUniverse univ, int index, boolean sharedGroup, HashKey[] keys)(Code)(Java Doc)
void clearLive()(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void compile(CompileState compState)(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup)(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
SceneGraphObject getSource()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void handleFrequencyChange(int bit)(Code)(Java Doc)
boolean isInSetLive()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void markAsLive()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void setCompiled()(Code)(Java Doc)
void setLive(boolean inBackgroundGroup)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setSource(SceneGraphObject source)(Code)(Java Doc)
void traverse(boolean sameLevel, int level)(Code)(Java Doc)

Fields inherited from javax.media.j3d.IndexedObject
int[][] listIdx(Code)(Java Doc)

Methods inherited from javax.media.j3d.IndexedObject
synchronized int getIdxUsed(VirtualUniverse u)(Code)(Java Doc)
abstract VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void incIdxUsed()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.