JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.j3d
Class JCCubeSquareArray

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.BranchGroup
                          |
                          +--com.klg.jclass.chart3d.j3d.JCBranchGroup
                                |
                                +--com.klg.jclass.chart3d.j3d.JCCubeSquareArray

public class JCCubeSquareArray
extends JCBranchGroup


Field Summary
protected static int FACE_BOTTOM
           
protected static int FACE_FAR
           
protected static int FACE_LEFT
           
protected static int FACE_NEAR
           
protected static int FACE_RIGHT
           
protected static int FACE_TOP
           
protected static int NUM_FACES
           
 
Fields inherited from class javax.media.j3d.BranchGroup
ALLOW_DETACH
 
Fields inherited from class javax.media.j3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
protected JCCubeSquareArray(Color3f fillColor, Color3f outlineColor)
           
 
Method Summary
protected  void addGridLine(com.klg.jclass.chart3d.JCAxis axis, double value, Color3f color)
           
protected  void addObject(int face, com.klg.jclass.chart3d.j3d.JCBranchGroup bg)
           
protected  void applyTexture(int face, com.klg.jclass.chart3d.j3d.JCTexture2D texture)
           
protected  void clearObjects(int face)
           
protected  void flipWallImage(int face, int axis)
           
protected  com.klg.jclass.chart3d.j3d.JCShape3D getFace(int face)
           
protected  com.klg.jclass.chart3d.j3d.JCShape3D getFaceOutline(int face)
           
protected  float getPolygonOffset()
           
protected  float getPolygonOffsetFactor()
           
protected  double getRotation(int face)
           
protected  double getWallImageRotation(int face)
           
protected  void setPolygonOffset(float polygonOffset)
           
protected  void setPolygonOffsetFactor(float polygonOffsetFactor)
           
protected  void setRotation(int face, double angle)
           
protected  void setWallImageRotation(int face, double angle)
           
 
Methods inherited from class com.klg.jclass.chart3d.j3d.JCBranchGroup
removeAllChildren
 
Methods inherited from class javax.media.j3d.BranchGroup
cloneNode, compile, detach, pickAll, pickAllSorted, pickAny, pickClosest
 
Methods inherited from class javax.media.j3d.Group
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, insertChild, moveTo, numChildren, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, duplicateSceneGraphObject, getCapability, getUserData, isCompiled, isLive, setCapability, setUserData, updateNodeReferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_FACES

protected static final int NUM_FACES
See Also:
Constant Field Values

FACE_LEFT

protected static final int FACE_LEFT
See Also:
Constant Field Values

FACE_RIGHT

protected static final int FACE_RIGHT
See Also:
Constant Field Values

FACE_BOTTOM

protected static final int FACE_BOTTOM
See Also:
Constant Field Values

FACE_TOP

protected static final int FACE_TOP
See Also:
Constant Field Values

FACE_FAR

protected static final int FACE_FAR
See Also:
Constant Field Values

FACE_NEAR

protected static final int FACE_NEAR
See Also:
Constant Field Values
Constructor Detail

JCCubeSquareArray

protected JCCubeSquareArray(Color3f fillColor,
                            Color3f outlineColor)
Method Detail

setPolygonOffset

protected void setPolygonOffset(float polygonOffset)

setPolygonOffsetFactor

protected void setPolygonOffsetFactor(float polygonOffsetFactor)

getPolygonOffset

protected float getPolygonOffset()

getPolygonOffsetFactor

protected float getPolygonOffsetFactor()

applyTexture

protected void applyTexture(int face,
                            com.klg.jclass.chart3d.j3d.JCTexture2D texture)

getFace

protected com.klg.jclass.chart3d.j3d.JCShape3D getFace(int face)

getFaceOutline

protected com.klg.jclass.chart3d.j3d.JCShape3D getFaceOutline(int face)

setRotation

protected void setRotation(int face,
                           double angle)

getRotation

protected double getRotation(int face)

setWallImageRotation

protected void setWallImageRotation(int face,
                                    double angle)

getWallImageRotation

protected double getWallImageRotation(int face)

flipWallImage

protected void flipWallImage(int face,
                             int axis)

addObject

protected void addObject(int face,
                         com.klg.jclass.chart3d.j3d.JCBranchGroup bg)

clearObjects

protected void clearObjects(int face)

addGridLine

protected void addGridLine(com.klg.jclass.chart3d.JCAxis axis,
                           double value,
                           Color3f color)

Copyright © 2004 Quest Software Inc..
All rights reserved.