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

Class dnx.lr.node.PointSetNode

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.lr.Node
                   |
                   +----dnx.lr.SubsidiaryNode
                           |
                           +----dnx.lr.GeometryNode
                                   |
                                   +----dnx.lr.node.PointSetNode

public class PointSetNode
extends GeometryNode
 PointSet {
    exposedField SFNode       color           NULL
    exposedField SFNode       coord           NULL
 }

The PointSet node specifies a set of 3D points in the local coordinate system with associated colors at each point. The coord field specifies a Coordinate node (or instance of a Coordinate node) - results are undefined if the coord field specifies any other type of node. PointSet uses the coordinates in order. If the coord field is NULL, then the PointSet is empty.

PointSets are not lit, not texture-mapped, or collided with during collision detection.

If the color field is not NULL, it must specify a Color node that contains at least the number of points contained in the coord node - results are undefined if the color field specifies any other type of node. Colors shall be applied to each point in order. The results are undefined if the number of values in the Color node is less than the number of values specified in the Coordinate node

If the color field is NULL and there is a Material defined for the Appearance affecting this PointSet, then use the emissiveColor of the Material to draw the points. See "Concepts - Lighting Model, Lighting Off" for details on lighting equations.


Variable Index

 o color
 o coord

Constructor Index

 o PointSetNode()

Method Index

 o boundingBoxHasChanged(Field)
Meant to be overridden by subclasses.
 o createNodeDefinition(NodeDefinition)
Create the node definition.
 o initFields()
Initialize field values.
 o pick(PickTraversal, PickDetail)
 o potentialChildCarryingFieldChange(Field, Node)
 o recomputeBoundingBox(BoundingBox3)
Meant to be overridden by subclasses; compute the bounding box and store into the argument.
 o render(NodeInstance, RenderTraversal)
 o sendModelData(Model)

Variables

 o color
  public SFNode color
 o coord
  public SFNode coord

Constructors

 o PointSetNode
  public PointSetNode()

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 render
  public void render(NodeInstance inst,
                     RenderTraversal traversal)
Overrides:
render in class GeometryNode
 o pick
  public boolean pick(PickTraversal traversal,
                      PickDetail detail)
Overrides:
pick in class GeometryNode
 o sendModelData
  public int sendModelData(Model model)
Overrides:
sendModelData in class GeometryNode
 o recomputeBoundingBox
  public void recomputeBoundingBox(BoundingBox3 box)
Meant to be overridden by subclasses; compute the bounding box and store into the argument.
Overrides:
recomputeBoundingBox in class Node
 o boundingBoxHasChanged
  protected boolean boundingBoxHasChanged(Field f)
Meant to be overridden by subclasses.
Overrides:
boundingBoxHasChanged in class Node
 o potentialChildCarryingFieldChange
  public void potentialChildCarryingFieldChange(Field f,
                                                Node newValue)
Overrides:
potentialChildCarryingFieldChange in class Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index