|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsim.portrayal.FieldPortrayal
sim.portrayal3d.FieldPortrayal3D
sim.portrayal3d.grid.ValueGridPortrayal3D
| Nested Class Summary |
| Nested classes inherited from class sim.portrayal.FieldPortrayal |
FieldPortrayal.CustomInspector |
| Field Summary | |
ColorMap |
map
|
double |
scale
|
| Fields inherited from class sim.portrayal.FieldPortrayal |
classPortrayals, dirtyField, field, immutableField, portrayalForAll, portrayalForNull, portrayalForRemainder, portrayals |
| Constructor Summary | |
ValueGridPortrayal3D()
|
|
ValueGridPortrayal3D(double s)
|
|
ValueGridPortrayal3D(java.lang.String valueName)
|
|
ValueGridPortrayal3D(java.lang.String valueName,
double scale)
|
|
| Method Summary | |
LocationWrapper |
completedWrapper(LocationWrapper w,
com.sun.j3d.utils.picking.PickIntersection pi,
com.sun.j3d.utils.picking.PickResult pr)
Given the provided PickIntersection and the PickResult it came from, fill in w the location of the picked object, and return it. |
javax.media.j3d.TransformGroup |
createModel()
Returns a tree structure of the form InternalTransform[model info]. |
Portrayal |
getDefaultPortrayal()
Should return a portrayal which can portray any object regardless of whether it's valid or not |
java.lang.Object |
getField()
Returns the field. |
ColorMap |
getMap()
|
java.lang.String |
getValueName()
|
double |
newValue(int x,
int y,
int z)
|
javax.media.j3d.PolygonAttributes |
polygonAttributes()
Provides a PolygonAttributes which can be modified to change the underlying model's attributes (culling, vertex versus point versus fill). |
void |
setField(java.lang.Object field)
Sets the field. |
void |
setMap(ColorMap m)
|
void |
updateModel(javax.media.j3d.TransformGroup modelTG)
Returns a tree structure of the form InternalTransform[model info]. |
| Methods inherited from class sim.portrayal3d.FieldPortrayal3D |
getDefaultTransform, getModel, getTransform, resetTransform, rotateX, rotateY, rotateZ, scale, scale, setTransform, transform, translate |
| Methods inherited from class sim.portrayal.FieldPortrayal |
getDefaultNullPortrayal, getInspector, getName, getPortrayalForAll, getPortrayalForNull, getPortrayalForObject, getPortrayalForRemainder, getStatus, isImmutableField, setImmutableField, setPortrayalForAll, setPortrayalForClass, setPortrayalForNull, setPortrayalForObject, setPortrayalForRemainder, setSelected |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface sim.portrayal.Portrayal |
getInspector, getName, getStatus, setSelected |
| Field Detail |
public double scale
public ColorMap map
| Constructor Detail |
public ValueGridPortrayal3D()
public ValueGridPortrayal3D(java.lang.String valueName)
public ValueGridPortrayal3D(double s)
public ValueGridPortrayal3D(java.lang.String valueName,
double scale)
| Method Detail |
public ColorMap getMap()
public void setMap(ColorMap m)
public java.lang.String getValueName()
public Portrayal getDefaultPortrayal()
FieldPortrayal
getDefaultPortrayal in class FieldPortrayal3Dpublic void setField(java.lang.Object field)
FieldPortrayal
setField in class FieldPortrayalpublic java.lang.Object getField()
FieldPortrayal
getField in class FieldPortrayalpublic javax.media.j3d.PolygonAttributes polygonAttributes()
Portrayal3D
polygonAttributes in interface Portrayal3DpolygonAttributes in class FieldPortrayal3D
public double newValue(int x,
int y,
int z)
public javax.media.j3d.TransformGroup createModel()
FieldPortrayal3D...where InternalTransform is an identity transformgroup whose transform will be modified elsewhere (create it but don't play with it).
createModel in class FieldPortrayal3Dpublic void updateModel(javax.media.j3d.TransformGroup modelTG)
FieldPortrayal3D...where InternalTransform is an identity transformgroup whose transform will be modified elsewhere (don't play with it). By default, this function does nothing. Override it to update the model when it's called.
updateModel in class FieldPortrayal3D
public LocationWrapper completedWrapper(LocationWrapper w,
com.sun.j3d.utils.picking.PickIntersection pi,
com.sun.j3d.utils.picking.PickResult pr)
FieldPortrayal3D
completedWrapper in class FieldPortrayal3D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||