FreeHEP API
Version current

org.freehep.j3d
Class OutlinedShape3D

java.lang.Object
  extended byorg.freehep.j3d.OutlinedShape3D

public class OutlinedShape3D
extends Object

Outlined Shape3D is factory for creating wireframe Shape3D from normal Shape3D.

Version:
1.2.0
Author:
J.Hrivnac
Source Code:
OutlinedShape3D.java

Field Summary
static javax.vecmath.Color3f BLACK
           
static javax.vecmath.Color3f BRIGHT
           
static javax.vecmath.Color3f DARK
           
static javax.vecmath.Color3f WHITE
           
 
Constructor Summary
OutlinedShape3D()
           
 
Method Summary
static javax.media.j3d.Shape3D create(javax.media.j3d.Shape3D shape, javax.vecmath.Color3f color)
          Create wireframe Shape3D clone.
static javax.vecmath.Color3f outlineColor()
          Return outline Color.
static void setOutlineColor(javax.vecmath.Color3f oc)
          Use outlined shapes Color (null means no outline).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHITE

public static final javax.vecmath.Color3f WHITE

BLACK

public static final javax.vecmath.Color3f BLACK

BRIGHT

public static final javax.vecmath.Color3f BRIGHT

DARK

public static final javax.vecmath.Color3f DARK
Constructor Detail

OutlinedShape3D

public OutlinedShape3D()
Method Detail

create

public static javax.media.j3d.Shape3D create(javax.media.j3d.Shape3D shape,
                                             javax.vecmath.Color3f color)
Create wireframe Shape3D clone. There are special values for color defined:


setOutlineColor

public static void setOutlineColor(javax.vecmath.Color3f oc)
Use outlined shapes Color (null means no outline). DARK is default.


outlineColor

public static javax.vecmath.Color3f outlineColor()
Return outline Color.


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.