org.jcae.viewer3d
Class MarkUtils

java.lang.Object
  extended by org.jcae.viewer3d.MarkUtils

public class MarkUtils
extends java.lang.Object


Nested Class Summary
static class MarkUtils.MarkID
           
 
Field Summary
static java.lang.Object MARK_IDENTIFIER
          dummy object to indentify marks in the java3d tree
 
Constructor Summary
MarkUtils()
           
 
Method Summary
protected static javax.media.j3d.ImageComponent2D createImageComponent2D(java.lang.String label, java.awt.Font font, java.awt.Color borderColor, java.awt.Color textColor)
          J3D.org Copyright (c) 2000 Java Source This source is licensed under the GNU LGPL v2.1 Please read http://www.gnu.org/copyleft/lgpl.html for more information
protected static javax.media.j3d.Shape3D createLabelShape(java.lang.Object object, float[] coords)
           
static javax.media.j3d.Node createMarkNode(MarkDomain domain, int domainID)
           
static void setPickable(javax.media.j3d.Node marks, boolean enable)
          Change the pickable status of a node created with createMarkNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARK_IDENTIFIER

public static final java.lang.Object MARK_IDENTIFIER
dummy object to indentify marks in the java3d tree

Constructor Detail

MarkUtils

public MarkUtils()
Method Detail

createMarkNode

public static javax.media.j3d.Node createMarkNode(MarkDomain domain,
                                                  int domainID)
Parameters:
domain -
Returns:

createLabelShape

protected static javax.media.j3d.Shape3D createLabelShape(java.lang.Object object,
                                                          float[] coords)
Parameters:
object -
coords -
Returns:

createImageComponent2D

protected static javax.media.j3d.ImageComponent2D createImageComponent2D(java.lang.String label,
                                                                         java.awt.Font font,
                                                                         java.awt.Color borderColor,
                                                                         java.awt.Color textColor)
J3D.org Copyright (c) 2000 Java Source This source is licensed under the GNU LGPL v2.1 Please read http://www.gnu.org/copyleft/lgpl.html for more information


setPickable

public static void setPickable(javax.media.j3d.Node marks,
                               boolean enable)
Change the pickable status of a node created with createMarkNode.

Parameters:
marks -