Java Doc for Light.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.SceneGraphObject
      javax.media.j3d.Node
         javax.media.j3d.Leaf
            javax.media.j3d.Light

All known Subclasses:   javax.media.j3d.AmbientLight,  javax.media.j3d.PointLight,  javax.media.j3d.DirectionalLight,
Light
abstract public class Light extends Leaf (Code)
The Light leaf node is an abstract class that defines a set of parameters common to all types of light. These parameters include the light color, an enable flag, and a region of influence in which this Light node is active. A Light node also contains a list of Group nodes that specifies the hierarchical scope of this Light. If the scope list is empty, the Light node has universe scope: all nodes within the region of influence are affected by this Light node. If the scope list is non-empty, only those Leaf nodes under the Group nodes in the scope list are affected by this Light node (subject to the influencing bounds).

The light in a scene may come from several light sources that can be individually defined. Some of the light in a scene may come from a specific direction, known as a directional light, from a specific position, known as a point light, or from no particular direction or source as with ambient light.

Java 3D supports an arbitrary number of lights. However, the number of lights that can be active within the region of influence is implementation-dependent and cannot be defined here.

Light Color

The Java 3D lighting model approximates the way light works in the real world. Light is defined in terms of the red, green, and blue components that combine to create the light color. The three color components represent the amount of light emitted by the source.

Each of the three colors is represented by a floating point value that ranges from 0.0 to 1.0. A combination of the three colors such as (1.0, 1.0, 1.0), representing the red, green, and blue color values respectively, creates a white light with maximum brightness. A combination such as (0.0, 0.0, 0.0) creates no light (black). Values between the minimum and maximum values of the range produce corresponding brightness and colors. For example, a combination of (0.5, 0.5, 0.5) produces a 50% grey light. A combination of (1.0, 1.0, 0.0), red and green but no blue, produces a yellow light.

If a scene has multiple lights and all lights illuminate an object, the effect of the light on the object is the sum of the lights. For example, in a scene with two lights, if the first light emits (R1, G1, B1) and the second light emits (R2, G2, B2), the components are added together giving (R1+R2, G1+G2, B1+B2). If the sums of any of the color values is greater than 1.0, brighter than the maximum brightness permitted, the color value is clamped to 1.0.

Material Colors

In the Java 3D lighting model, the light sources have an effect on the scene only when there are object surfaces to absorb or reflect the light. Java 3D approximates an object's color by calculating the percentage of red, green, and blue light the object reflects. An object with a surface color of pure green absorbs all of the red and blue light that strikes it and reflects all of the green light. Viewing the object in a white light, the green color is reflected and you see a green object. However, if the green object is viewed in a red light, all of the red light is absorbed and the object appears black.

The surface of each object in the scene has certain material properties that define how light affects its appearance. The object might reflect light in various ways, depending on the object's surface type. The object might even emit its own light. The Java 3D lighting model specifies these material properties as five independent components: emitted color, ambient color, diffuse color, specular color, and shininess. All of these properties are computed independently, then added together to define how the surface of the object appears under light (an exception is Ambient light, which does not contribute to specular reflection). The material properties are defined in the Material class.

Influencing Bounds

Since a scene may be quite large, as large as the universe for example, it is often reasonable to limit the influence of lighting to a region that is within viewing range. There is no reason to waste all that computing power on illuminating objects that are too far away to be viewed. In Java 3D, the influencing bounds is defined by a Bounds object or a BoundingLeaf object. It should be noted that a BoundingLeaf object overrides a Bounds object, should both objects be set.

A Bounds object represents a convex, closed volume. Bounds defines three different types of containing volumes: an axis-aligned-box volume, a spherical volume, and a bounding polytope. A BoundingLeaf object also specifies a region of influence, but allows an application to specify a bounding region in one coordinate system (the local coordinate system of the BoundingLeaf node) other than the local coordinate system of the node that references the bounds (the Light).

Limiting the Scope

In addition to limiting the lighting calculations to a given region of a scene, lighting can also be limited to groups of nodes, defined by a Group object. This is known as "scoping." All nodes attached to a Group node define a list of scopes. Methods in the Light class permit the setting, addition, insertion, removal, and enumeration of nodes in the list of scopes.

Two-sided Lighting of Polygons

Java 3D performs lighting calculations for all polygons, whether they are front-facing or back-facing. Since most polygon objects are constructed with the front face in mind, the back-facing portion may not be correctly illuminated. For example, a sphere with part of the face cut away so you can see its inside. You might want to have the inside surface lit as well as the outside surface and you mught also want to define a different Material description to reduce shininess, specular color, etc.

For more information, see the "Face culling" and "Back-facing normal flip" descriptions in the PolygonAttributes class description.

Turning on the Lights

Lighting needs to be explicitly enabled with the setEnable method or with the lightOn parameter in the constructor before any of the child light sources have any effect on illuminating the scene. The child lights may also be enabled or disabled individually.

If lighting is not enabled, the current color of an object in the scene is simply mapped onto the object, and none of the lighting equations regarding Material properties, such as ambient color, diffuse color, specular color, and shininess, are performed. However, an object's emitted color, if specified and enabled, will still affect that object's appearance.

To disable lighting, call setEnable with false as the argument.
See Also:   Material
See Also:   Bounds
See Also:   BoundingLeaf
See Also:   Group
See Also:   PolygonAttributes



Field Summary
final public static  intALLOW_COLOR_READ
     Specifies that this Light allows read access to its color information at runtime.
final public static  intALLOW_COLOR_WRITE
     Specifies that this Light allows write access to its color information at runtime.
final public static  intALLOW_INFLUENCING_BOUNDS_READ
     Specifies that this Light allows read access to its influencing bounds and bounds leaf information.
final public static  intALLOW_INFLUENCING_BOUNDS_WRITE
     Specifies that this Light allows write access to its influencing bounds and bounds leaf information.
final public static  intALLOW_SCOPE_READ
     Specifies that this Light allows read access to its scope information at runtime.
final public static  intALLOW_SCOPE_WRITE
     Specifies that this Light allows write access to its scope information at runtime.
final public static  intALLOW_STATE_READ
     Specifies that this Light allows read access to its current state information at runtime.
final public static  intALLOW_STATE_WRITE
     Specifies that this Light allows write access to its current state information at runtime.

Constructor Summary
public  Light()
     Constructs a Light node with default parameters.
public  Light(Color3f color)
     Constructs and initializes a Light node using the specified color.
public  Light(boolean lightOn, Color3f color)
     Constructs and initializes a Light node using the specified enable flag and color.

Method Summary
public  voidaddScope(Group scope)
     Appends the specified Group node to this Light node's list of scopes. By default, Light nodes are scoped only by their influencing bounds.
 voidduplicateAttributes(Node originalNode, boolean forceDuplicate)
     Copies all Light information from originalNode into the current node.
public  EnumerationgetAllScopes()
     Returns an enumeration of this Light node's list of scopes.
public  voidgetColor(Color3f color)
     Gets this Light's current color and places it in the parameter specified.
public  booleangetEnable()
     Retrieves this Light's current state (on/off).
public  BoundingLeafgetInfluencingBoundingLeaf()
     Retrieves the Light node's influencing bounding leaf.
public  BoundsgetInfluencingBounds()
     Retrieves the Light node's influencing bounds.
public  GroupgetScope(int index)
     Retrieves the Group node at the specified index from this Light node's list of scopes.
Parameters:
  index - the index of the Group node to be returned.
public  intindexOfScope(Group scope)
     Retrieves the index of the specified Group node in this Light node's list of scopes.
Parameters:
  scope - the Group node to be looked up.
public  voidinsertScope(Group scope, int index)
     Inserts the specified Group node into this Light node's list of scopes at the specified index. By default, Light nodes are scoped only by their influencing bounds.
public  intnumScopes()
     Returns the number of nodes in this Light node's list of scopes.
public  voidremoveAllScopes()
     Removes all Group nodes from this Light node's list of scopes.
public  voidremoveScope(int index)
     Removes the node at the specified index from this Light node's list of scopes.
public  voidremoveScope(Group scope)
     Removes the specified Group node from this Light node's list of scopes.
public  voidsetColor(Color3f color)
     Sets the Light's current color.
public  voidsetEnable(boolean state)
     Turns the light on or off.
public  voidsetInfluencingBoundingLeaf(BoundingLeaf region)
     Sets the Light's influencing region to the specified bounding leaf.
public  voidsetInfluencingBounds(Bounds region)
     Sets the Light's influencing region to the specified bounds.
public  voidsetScope(Group scope, int index)
     Replaces the node at the specified index in this Light node's list of scopes with the specified Group node. By default, Light nodes are scoped only by their influencing bounds.
public  voidupdateNodeReferences(NodeReferenceTable referenceTable)
     Callback used to allow a node to check if any scene graph objects referenced by that node have been duplicated via a call to cloneTree. This method is called by cloneTree after all nodes in the sub-graph have been duplicated.

Field Detail
ALLOW_COLOR_READ
final public static int ALLOW_COLOR_READ(Code)
Specifies that this Light allows read access to its color information at runtime.



ALLOW_COLOR_WRITE
final public static int ALLOW_COLOR_WRITE(Code)
Specifies that this Light allows write access to its color information at runtime.



ALLOW_INFLUENCING_BOUNDS_READ
final public static int ALLOW_INFLUENCING_BOUNDS_READ(Code)
Specifies that this Light allows read access to its influencing bounds and bounds leaf information.



ALLOW_INFLUENCING_BOUNDS_WRITE
final public static int ALLOW_INFLUENCING_BOUNDS_WRITE(Code)
Specifies that this Light allows write access to its influencing bounds and bounds leaf information.



ALLOW_SCOPE_READ
final public static int ALLOW_SCOPE_READ(Code)
Specifies that this Light allows read access to its scope information at runtime.



ALLOW_SCOPE_WRITE
final public static int ALLOW_SCOPE_WRITE(Code)
Specifies that this Light allows write access to its scope information at runtime.



ALLOW_STATE_READ
final public static int ALLOW_STATE_READ(Code)
Specifies that this Light allows read access to its current state information at runtime.



ALLOW_STATE_WRITE
final public static int ALLOW_STATE_WRITE(Code)
Specifies that this Light allows write access to its current state information at runtime.




Constructor Detail
Light
public Light()(Code)
Constructs a Light node with default parameters. The default values are as follows:
    enable flag : true
    color : white (1,1,1)
    scope : empty (universe scope)
    influencing bounds : null
    influencing bounding leaf : null



Light
public Light(Color3f color)(Code)
Constructs and initializes a Light node using the specified color.
Parameters:
  color - the color of the light source



Light
public Light(boolean lightOn, Color3f color)(Code)
Constructs and initializes a Light node using the specified enable flag and color.
Parameters:
  lightOn - flag indicating whether this light is on or off
Parameters:
  color - the color of the light source




Method Detail
addScope
public void addScope(Group scope)(Code)
Appends the specified Group node to this Light node's list of scopes. By default, Light nodes are scoped only by their influencing bounds. This allows them to be further scoped by a list of nodes in the hierarchy.
Parameters:
  scope - the Group node to be appended.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if the specified group nodeis part of a compiled scene graph



duplicateAttributes
void duplicateAttributes(Node originalNode, boolean forceDuplicate)(Code)
Copies all Light information from originalNode into the current node. This method is called from the cloneNode method which is, in turn, called by the cloneTree method.


Parameters:
  originalNode - the original node to duplicate.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied.
exception:
  RestrictedAccessException - if this object is part of a liveor compiled scenegraph.
See Also:   Node.duplicateNode
See Also:   Node.cloneTree
See Also:   NodeComponent.setDuplicateOnCloneTree




getAllScopes
public Enumeration getAllScopes()(Code)
Returns an enumeration of this Light node's list of scopes. an Enumeration object containing all nodes in this Light node'slist of scopes.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getColor
public void getColor(Color3f color)(Code)
Gets this Light's current color and places it in the parameter specified.
Parameters:
  color - the vector that will receive this node's color
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getEnable
public boolean getEnable()(Code)
Retrieves this Light's current state (on/off). this node's current state (on/off)
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getInfluencingBoundingLeaf
public BoundingLeaf getInfluencingBoundingLeaf()(Code)
Retrieves the Light node's influencing bounding leaf. this Light's influencing bounding leaf information
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getInfluencingBounds
public Bounds getInfluencingBounds()(Code)
Retrieves the Light node's influencing bounds. this Light's influencing bounds information
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getScope
public Group getScope(int index)(Code)
Retrieves the Group node at the specified index from this Light node's list of scopes.
Parameters:
  index - the index of the Group node to be returned. the Group node at the specified index.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



indexOfScope
public int indexOfScope(Group scope)(Code)
Retrieves the index of the specified Group node in this Light node's list of scopes.
Parameters:
  scope - the Group node to be looked up. the index of the specified Group node;returns -1 if the object is not in the list.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
since:
   Java 3D 1.3



insertScope
public void insertScope(Group scope, int index)(Code)
Inserts the specified Group node into this Light node's list of scopes at the specified index. By default, Light nodes are scoped only by their influencing bounds. This allows them to be further scoped by a list of nodes in the hierarchy.
Parameters:
  scope - the Group node to be inserted at the specified index.
Parameters:
  index - the index at which the Group node is inserted.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if the specified group nodeis part of a compiled scene graph



numScopes
public int numScopes()(Code)
Returns the number of nodes in this Light node's list of scopes. If this number is 0, then the list of scopes is empty and this Light node has universe scope: all nodes within the region of influence are affected by this Light node. the number of nodes in this Light node's list of scopes.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



removeAllScopes
public void removeAllScopes()(Code)
Removes all Group nodes from this Light node's list of scopes. The Light node will then have universe scope: all nodes within the region of influence will be affected by this Light node.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if any group node in thisnode's list of scopes is part of a compiled scene graph
since:
   Java 3D 1.3



removeScope
public void removeScope(int index)(Code)
Removes the node at the specified index from this Light node's list of scopes. If this operation causes the list of scopes to become empty, then this Light will have universe scope: all nodes within the region of influence will be affected by this Light node.
Parameters:
  index - the index of the Group node to be removed.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if the group node at thespecified index is part of a compiled scene graph



removeScope
public void removeScope(Group scope)(Code)
Removes the specified Group node from this Light node's list of scopes. If the specified object is not in the list, the list is not modified. If this operation causes the list of scopes to become empty, then this Light will have universe scope: all nodes within the region of influence will be affected by this Light node.
Parameters:
  scope - the Group node to be removed.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if the specified group nodeis part of a compiled scene graph
since:
   Java 3D 1.3



setColor
public void setColor(Color3f color)(Code)
Sets the Light's current color.
Parameters:
  color - the value of this node's new color
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setEnable
public void setEnable(boolean state)(Code)
Turns the light on or off.
Parameters:
  state - true or false to set light on or off
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setInfluencingBoundingLeaf
public void setInfluencingBoundingLeaf(BoundingLeaf region)(Code)
Sets the Light's influencing region to the specified bounding leaf. When set to a value other than null, this overrides the influencing bounds object.
Parameters:
  region - the bounding leaf node used to specify the Lightnode's new influencing region.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setInfluencingBounds
public void setInfluencingBounds(Bounds region)(Code)
Sets the Light's influencing region to the specified bounds. This is used when the influencing bounding leaf is set to null.
Parameters:
  region - the bounds that contains the Light's new influencingregion.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setScope
public void setScope(Group scope, int index)(Code)
Replaces the node at the specified index in this Light node's list of scopes with the specified Group node. By default, Light nodes are scoped only by their influencing bounds. This allows them to be further scoped by a list of nodes in the hierarchy.
Parameters:
  scope - the Group node to be stored at the specified index.
Parameters:
  index - the index of the Group node to be replaced.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  RestrictedAccessException - if the specified group nodeis part of a compiled scene graph



updateNodeReferences
public void updateNodeReferences(NodeReferenceTable referenceTable)(Code)
Callback used to allow a node to check if any scene graph objects referenced by that node have been duplicated via a call to cloneTree. This method is called by cloneTree after all nodes in the sub-graph have been duplicated. The cloned Leaf node's method will be called and the Leaf node can then look up any object references by using the getNewObjectReference method found in the NodeReferenceTable object. If a match is found, a reference to the corresponding object in the newly cloned sub-graph is returned. If no corresponding reference is found, either a DanglingReferenceException is thrown or a reference to the original object is returned depending on the value of the allowDanglingReferences parameter passed in the cloneTree call.

NOTE: Applications should not call this method directly. It should only be called by the cloneTree method.
Parameters:
  referenceTable - a NodeReferenceTableObject that contains thegetNewObjectReference method needed to search fornew object instances.
See Also:   NodeReferenceTable
See Also:   Node.cloneTree
See Also:   DanglingReferenceException





Fields inherited from javax.media.j3d.Node
final public static int ALLOW_AUTO_COMPUTE_BOUNDS_READ(Code)(Java Doc)
final public static int ALLOW_AUTO_COMPUTE_BOUNDS_WRITE(Code)(Java Doc)
final public static int ALLOW_BOUNDS_READ(Code)(Java Doc)
final public static int ALLOW_BOUNDS_WRITE(Code)(Java Doc)
final public static int ALLOW_COLLIDABLE_READ(Code)(Java Doc)
final public static int ALLOW_COLLIDABLE_WRITE(Code)(Java Doc)
final public static int ALLOW_LOCALE_READ(Code)(Java Doc)
final public static int ALLOW_LOCAL_TO_VWORLD_READ(Code)(Java Doc)
final public static int ALLOW_PARENT_READ(Code)(Java Doc)
final public static int ALLOW_PICKABLE_READ(Code)(Java Doc)
final public static int ALLOW_PICKABLE_WRITE(Code)(Java Doc)
final public static int ENABLE_COLLISION_REPORTING(Code)(Java Doc)
final public static int ENABLE_PICK_REPORTING(Code)(Java Doc)

Methods inherited from javax.media.j3d.Node
final void checkDuplicateNode(Node originalNode, boolean forceDuplicate)(Code)(Java Doc)
void checkForCycle()(Code)(Java Doc)
public Node cloneNode(boolean forceDuplicate)(Code)(Java Doc)
public Node cloneTree()(Code)(Java Doc)
public Node cloneTree(boolean forceDuplicate)(Code)(Java Doc)
public Node cloneTree(boolean forceDuplicate, boolean allowDanglingReferences)(Code)(Java Doc)
public Node cloneTree(NodeReferenceTable referenceTable)(Code)(Java Doc)
public Node cloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate)(Code)(Java Doc)
public Node cloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate, boolean allowDanglingReferences)(Code)(Java Doc)
Node cloneTree(boolean forceDuplicate, Hashtable nodeHashtable)(Code)(Java Doc)
void duplicateAttributes(Node originalNode, boolean forceDuplicate)(Code)(Java Doc)
public void duplicateNode(Node originalNode, boolean forceDuplicate)(Code)(Java Doc)
public Bounds getBounds()(Code)(Java Doc)
public boolean getBoundsAutoCompute()(Code)(Java Doc)
public boolean getCollidable()(Code)(Java Doc)
public void getLocalToVworld(Transform3D t)(Code)(Java Doc)
public void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Node getParent()(Code)(Java Doc)
public boolean getPickable()(Code)(Java Doc)
public void setBounds(Bounds bounds)(Code)(Java Doc)
public void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc)
public void setCollidable(boolean collidable)(Code)(Java Doc)
public void setPickable(boolean pickable)(Code)(Java Doc)

Fields inherited from javax.media.j3d.SceneGraphObject
Hashtable nodeHashtable(Code)(Java Doc)
SceneGraphObjectRetained retained(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObject
final boolean capabilityBitsEmpty()(Code)(Java Doc)
final void checkForLiveOrCompiled()(Code)(Java Doc)
final public void clearCapability(int bit)(Code)(Java Doc)
final public void clearCapabilityIsFrequent(int bit)(Code)(Java Doc)
final void clearLive()(Code)(Java Doc)
void createRetained()(Code)(Java Doc)
protected void duplicateSceneGraphObject(SceneGraphObject originalNode)(Code)(Java Doc)
final public boolean getCapability(int bit)(Code)(Java Doc)
final public boolean getCapabilityIsFrequent(int bit)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
String getNamePrefix()(Code)(Java Doc)
NodeComponent getNodeComponent(NodeComponent originalNodeComponent, boolean forceDuplicate, Hashtable hashtable)(Code)(Java Doc)
public Object getUserData()(Code)(Java Doc)
final public boolean isCompiled()(Code)(Java Doc)
final public boolean isLive()(Code)(Java Doc)
final boolean isLiveOrCompiled()(Code)(Java Doc)
final public void setCapability(int bit)(Code)(Java Doc)
final public void setCapabilityIsFrequent(int bit)(Code)(Java Doc)
final void setCompiled()(Code)(Java Doc)
void setDefaultReadCapabilities(int[] bits)(Code)(Java Doc)
final void setLive()(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setUserData(Object userData)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void updateNodeReferences(NodeReferenceTable referenceTable)(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.