vmm.surface.parametric
Class UserSurfaceParametric

java.lang.Object
  extended by vmm.core.Exhibit
      extended by vmm.core3D.Exhibit3D
          extended by vmm.surface.Surface
              extended by vmm.surface.parametric.SurfaceParametric
                  extended by vmm.surface.parametric.UserSurfaceParametric
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable, UserExhibit, UserExhibit3D

public class UserSurfaceParametric
extends SurfaceParametric
implements UserExhibit3D


Nested Class Summary
 
Nested classes/interfaces inherited from interface vmm.core3D.UserExhibit3D
UserExhibit3D.Support
 
Nested classes/interfaces inherited from interface vmm.core.UserExhibit
UserExhibit.FunctionInfo
 
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
UserSurfaceParametric()
           
 
Method Summary
 UserExhibit.Support getUserExhibitSupport()
          This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.
 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, getDefaultView, setDefaultOrientation
 
Methods inherited from class vmm.core3D.Exhibit3D
computeDrawDataHook, doDrawHook, getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp
 
Methods inherited from class vmm.core.Exhibit
addChangeListener, addDecoration, addParameter, addView, clearDecorations, computeDrawData, doDraw, fireExhibitChangeEvent, forceRedraw, getAdditionalAnimationsForView, getAlternativeViews, getCreateAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, removeChangeListener, removeDecoration, removeParameter, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vmm.core3D.UserExhibit3D
getDefaultViewpoint, setDefaultViewpoint
 
Methods inherited from interface vmm.core.UserExhibit
getDefaultView, getDefaultWindow, getParameters, setDefaultWindow
 
Methods inherited from interface vmm.core.Parameterizable
parameterChanged
 

Constructor Detail

UserSurfaceParametric

public UserSurfaceParametric()
Method Detail

surfacePoint

public Vector3D surfacePoint(double u,
                             double v)
Description copied from class: SurfaceParametric
The parametric equations that define the surface, given as a function from the uv-plane into R3. The return value of this function can be null, indicating that the function is undefined for the given u and v.

Specified by:
surfacePoint in class SurfaceParametric

getUserExhibitSupport

public UserExhibit.Support getUserExhibitSupport()
Description copied from interface: UserExhibit
This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.

Specified by:
getUserExhibitSupport in interface UserExhibit