|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vmm.core.Exhibit vmm.core3D.Exhibit3D vmm.surface.Surface vmm.surface.parametric.SurfaceParametric vmm.surface.parametric.BoyBryantKusner
public class BoyBryantKusner
Defines a Boy's surface, following Bryant-Kusner
Field Summary |
---|
Fields inherited from class vmm.surface.parametric.SurfaceParametric |
---|
COLOR_GAUSS_CURVATURE, COLOR_MEAN_CURVATURE, COLOR_TWO_SIDED_DEFAULT, COLOR_TWO_SIDED_USER, COLOR_USER, COLOR_USER_FUNCTION_HSB, COLOR_USER_FUNCTION_RGB, COLOR_WHITE, umax, umin, vmax, vmin |
Fields inherited from class vmm.surface.Surface |
---|
data, uPatchCount, vPatchCount |
Fields inherited from class vmm.core3D.Exhibit3D |
---|
defaultViewpoint, defaultViewUp, previousTransform3D |
Fields inherited from class vmm.core.Exhibit |
---|
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform |
Constructor Summary | |
---|---|
BoyBryantKusner()
|
Method Summary | |
---|---|
ActionList |
getAdditionalAnimationsForView(View view)
This method returns a list of ActionItem that will be added to
the Animation menu of the 3dxm applicaiton. |
View |
getDefaultView()
Returns a default view of this exhibit, a View of type SurfaceView . |
Vector3D |
surfacePoint(double u,
double v)
The parametric equations that define the surface, given as a function from the uv-plane into R3. |
Methods inherited from class vmm.surface.parametric.SurfaceParametric |
---|
addExtraXML, createData, deriv_u, deriv_v, gaussMap, getActionsForView, readExtraXML, removeView, surfaceNormal |
Methods inherited from class vmm.surface.Surface |
---|
computeDrawData3D, doDraw3D, getBuildAnimation, getDefaultOrientation, setDefaultOrientation |
Methods inherited from class vmm.core3D.Exhibit3D |
---|
computeDrawDataHook, doDrawHook, getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoyBryantKusner()
Method Detail |
---|
public View getDefaultView()
Surface
SurfaceView
.
(Note: If a Surface is displayed in a plain View3D, it will always appear as a wireframe.)
getDefaultView
in class Surface
public ActionList getAdditionalAnimationsForView(View view)
Exhibit
ActionItem
that will be added to
the Animation menu of the 3dxm applicaiton. The values in the list should
ordinarily be commands (i.e. AbstractActionVMM
)
that run animations (although there is no way to enforce
this restriction). These animations commands are in addition to the standard "Morph"
and "Cyclic Morph" commands. Note that these commands are added to those returned
by View.getAdditionalAnimations()
.
In this top-level Exhibit class, the return value is a an empty list (but not null). In general, when overriding this method, subclasses should call "super.getAdditionalAnimationsForView()" to obtain a list of actions from the superclass. It can then add additional actions or remove or disable actions that are in the list from the superclass.
getAdditionalAnimationsForView
in class Exhibit
view
- The view in which the animations will be run.public Vector3D surfacePoint(double u, double v)
SurfaceParametric
surfacePoint
in class SurfaceParametric
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |