graphoutput
Class CirclePlane

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.BranchGroup
                          |
                          +--graphoutput.CirclePlane

public class CirclePlane
extends javax.media.j3d.BranchGroup

Creates plane as a half-circle with normal vector (x, 0, z)


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_PICK, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
CirclePlane(double radius, int vertexcnt)
          Creates a half-circle within this BranchGroup with normal vector (x, 0, z) with the specified parameters
 
Method Summary
 javax.vecmath.Color3f getColor()
          Returns the current color of the CirclePlane.
 float getTransparency()
          Returns the current transparency of the CirclePlane.
 void setColor(javax.vecmath.Color3f col, float transparency)
          Set the color and the transparency of the CirclePlane.
 void setPosition(javax.vecmath.Point3d p, javax.vecmath.Vector3d v)
          Changes the current position and orientation of the plane.
 
Methods inherited from class javax.media.j3d.BranchGroup
cloneNode, compile, detach, duplicateNode, 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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CirclePlane

public CirclePlane(double radius,
                   int vertexcnt)
Creates a half-circle within this BranchGroup with normal vector (x, 0, z) with the specified parameters
Method Detail

setPosition

public void setPosition(javax.vecmath.Point3d p,
                        javax.vecmath.Vector3d v)
Changes the current position and orientation of the plane.

setColor

public void setColor(javax.vecmath.Color3f col,
                     float transparency)
Set the color and the transparency of the CirclePlane.

getColor

public javax.vecmath.Color3f getColor()
Returns the current color of the CirclePlane.

getTransparency

public float getTransparency()
Returns the current transparency of the CirclePlane.