|
|||||||||
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.DiracBelt
public class DiracBelt
Defines a Dirac Belt (for the Belt-Trick) with parametric equations ((1/2)*(v - 8*u*cos(t)*(1 + 2*cos(t)^2*cos(v))*sin(t)*sin(v/2)^2 + cos(4*t)*(v - sin(v)) + sin(v)) -2.5, -cos(v)*sin(2*t) + u*cos(t)^2*sin(2*v);, u*(-cos(2*t)*sin(t)^2 + cos(t)^2*(cos(2*t)*cos(2*v) + 4*cos(v)*sin(t)^2)) + (1/2)*sin(4*t)*(-v + sin(v))))
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 | |
---|---|
DiracBelt()
|
Method Summary | |
---|---|
Animation |
getCreateAnimation(View view)
This method is called to "create" the Exhibit. |
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 DiracBelt()
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 Animation getCreateAnimation(View view)
Exhibit
getCreateAnimation
in class Exhibit
view
- A View that is displaying this Exhibit. The animation, if any, that
is returned by this method will be installed in the View's display. If the view
is null, than a creation animation that can run independently of a view could
be returned.
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 |