|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jbeans.j3d.modeler.geometry.GeometryModeler
GeometryModeler is an abstract and super class of all modelers to create javax.media.j3d.Geometry object from data. A modeler is an object which creates javax.media.j3d.Geometry object(s) from a given dataset.
Serializable, GeometryUpdater
,
Serialized FormField Summary | |
protected double[] |
bounds
|
protected double[] |
center
|
protected javax.swing.event.EventListenerList |
geometryListeners
|
protected java.util.Vector |
geoms
|
static int |
SCALAR_MODE_DEFAULT
|
static int |
SCALAR_MODE_USE_CELL_DATA
|
static int |
SCALAR_MODE_USE_POINT_DATA
|
protected int |
scalarMode
|
Constructor Summary | |
GeometryModeler()
|
Method Summary | |
protected void |
addGeometry(javax.media.j3d.Geometry geom)
|
protected void |
addGeometry(int index,
javax.media.j3d.Geometry geom)
|
void |
addGeometryListener(SceneGraphObjectListener l)
adds an SceneGraphObjectListener to the shape |
protected void |
clearGeometry()
|
double[] |
getBounds()
|
void |
getBounds(double[] bounds)
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). |
double[] |
getCenter()
|
javax.media.j3d.Geometry[] |
getGeometries()
Returns the current shape object. |
javax.media.j3d.Geometry |
getGeometry()
Returns the current shape object. |
double |
getLength()
|
protected void |
model()
Construct a javax.media.j3d.GeometryArray object. |
protected abstract void |
modelGeometry()
|
void |
removeGeometryListener(SceneGraphObjectListener l)
removes an GeometryListener from the shape. |
protected void |
setGeometry(javax.media.j3d.Geometry geom)
|
protected void |
update()
Update a javax.media.j3d.GeometryArray object. |
abstract void |
updateData(javax.media.j3d.Geometry geom)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SCALAR_MODE_DEFAULT
public static final int SCALAR_MODE_USE_POINT_DATA
public static final int SCALAR_MODE_USE_CELL_DATA
protected transient javax.swing.event.EventListenerList geometryListeners
protected transient double[] bounds
protected transient double[] center
protected transient int scalarMode
protected transient java.util.Vector geoms
Constructor Detail |
public GeometryModeler()
Method Detail |
protected void model()
protected abstract void modelGeometry()
protected void update()
protected void clearGeometry()
protected void setGeometry(javax.media.j3d.Geometry geom)
protected void addGeometry(javax.media.j3d.Geometry geom)
protected void addGeometry(int index, javax.media.j3d.Geometry geom)
public javax.media.j3d.Geometry getGeometry()
public javax.media.j3d.Geometry[] getGeometries()
public abstract void updateData(javax.media.j3d.Geometry geom)
updateData
in interface javax.media.j3d.GeometryUpdater
public void addGeometryListener(SceneGraphObjectListener l)
public void removeGeometryListener(SceneGraphObjectListener l)
public double[] getBounds()
public void getBounds(double[] bounds)
public double[] getCenter()
public double getLength()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |