|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.opengl.model.Model.Implementation
com.threerings.tudey.shape.ShapeModel
public class ShapeModel
Shape model implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
ShapeModel(GlContext ctx,
Scope parentScope,
ShapeModelConfig config)
Creates a new shape model implementation. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
drawBounds()
Draws the bounds of the model in immediate mode. |
Box |
getBounds()
Returns a reference to the bounds of the model. |
boolean |
getIntersection(Ray3D ray,
Vector3f result)
Finds the intersection of a ray with this object and places it in the supplied vector (if it exists). |
void |
setConfig(ShapeModelConfig config)
Sets the configuration of this model. |
void |
updateBounds()
Updates the bounds of the model. |
| Methods inherited from class com.threerings.opengl.model.Model.Implementation |
|---|
attach, createAnimation, detach, detachAll, getAnimation, getAnimations, getInfluenceFlags, getPlayingAnimations, getPointWorldTransform, getScopeName, getTickPolicy, hasCompleted, isImplementation, reset, setTickPolicy, tick, wasAdded, willBeRemoved |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeModel(GlContext ctx,
Scope parentScope,
ShapeModelConfig config)
| Method Detail |
|---|
public void setConfig(ShapeModelConfig config)
public Box getBounds()
Model.Implementation
getBounds in class Model.Implementationpublic void updateBounds()
Model.Implementation
updateBounds in class Model.Implementationpublic void drawBounds()
Model.Implementation
drawBounds in class Model.Implementation
public boolean getIntersection(Ray3D ray,
Vector3f result)
Intersectable
getIntersection in interface IntersectablegetIntersection in class Model.Implementationpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class Model.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||