org.jdesktop.wonderland.client.jme.utils.graphics
Class GraphicsUtils

java.lang.Object
  extended by org.jdesktop.wonderland.client.jme.utils.graphics.GraphicsUtils

public class GraphicsUtils
extends java.lang.Object

Miscellaneous Graphics Utilities

Author:
deronj

Constructor Summary
GraphicsUtils()
           
 
Method Summary
static void printCommonRenderStates(com.jme.scene.Spatial spatial)
          Print render states that are commonly of interest.
static void printGeometry(com.jme.scene.TriMesh triMesh)
          Print the contents of the given geometry, except for texture coords.
static void printGeometry(com.jme.scene.TriMesh triMesh, boolean printTextureCoords)
          Print the contents of the given geometry.
static void printGraphBounds(com.jme.scene.Node root)
          Traverse the graph, printing the world bounds of each node
static void printImage(com.jme.image.Image image)
          Print the attributes of the given image and a small subset of its contents.
static void printNode(com.jme.scene.Node node)
          Print the contents of the given node.
static void printRenderState(com.jme.scene.state.RenderState rs)
          Print the pertinent attributes of the given render state.
static void printSpatial(com.jme.scene.Spatial spatial)
          Print the contents of the given spatial.
static void printTexture(com.jme.image.Texture texture)
          Print the pertinent attributes of the given texture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicsUtils

public GraphicsUtils()
Method Detail

printImage

public static void printImage(com.jme.image.Image image)
Print the attributes of the given image and a small subset of its contents.


printTexture

public static void printTexture(com.jme.image.Texture texture)
Print the pertinent attributes of the given texture.


printRenderState

public static void printRenderState(com.jme.scene.state.RenderState rs)
Print the pertinent attributes of the given render state.


printGeometry

public static void printGeometry(com.jme.scene.TriMesh triMesh)
Print the contents of the given geometry, except for texture coords.


printGeometry

public static void printGeometry(com.jme.scene.TriMesh triMesh,
                                 boolean printTextureCoords)
Print the contents of the given geometry.

Parameters:
printTextureCoords - Print texture coordinates if true.

printNode

public static void printNode(com.jme.scene.Node node)
Print the contents of the given node.


printCommonRenderStates

public static void printCommonRenderStates(com.jme.scene.Spatial spatial)
Print render states that are commonly of interest.


printSpatial

public static void printSpatial(com.jme.scene.Spatial spatial)
Print the contents of the given spatial.


printGraphBounds

public static void printGraphBounds(com.jme.scene.Node root)
Traverse the graph, printing the world bounds of each node

Parameters:
roo -


Open Wonderland - http://openwonderland.org