vmm3d.surface.parametric
Class Hyperboloid1
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.core3D.Exhibit3D
-
- vmm3d.surface.Surface
-
- vmm3d.surface.parametric.SurfaceParametric
-
- vmm3d.surface.parametric.Hyperboloid1
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
public class Hyperboloid1 extends SurfaceParametric
Defines the Single Sheeted Hyperboloid surface family.
-
-
Field Summary
-
Fields inherited from class vmm3d.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
-
Fields inherited from class vmm3d.surface.Surface
uPatchCount, vPatchCount
-
-
Constructor Summary
Constructors Constructor and Description Hyperboloid1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ActionListgetAdditionalAnimationsForView(View view)This method returns a list ofActionItemthat will be added to the Animation menu of the 3dxm applicaiton.voidparameterChanged(Parameter param, java.lang.Object oldValue, java.lang.Object newValue)This method will be called automatically when a parameter that has been added to this Exhibit is changed.Vector3DsurfacePoint(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 vmm3d.surface.parametric.SurfaceParametric
addExtraXML, deriv_u, deriv_v, gaussMap, getActionsForView, getPatchCountU, getPatchCountV, readExtraXML, removeView, setEpsilon, setPatchCount, setU, setV, setViewpoint, surfaceNormal
-
Methods inherited from class vmm3d.surface.Surface
getBuildAnimation, getDefaultOrientation, getDefaultView, getGrid3D, setDefaultOrientation
-
Methods inherited from class vmm3d.core3D.Exhibit3D
getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp
-
Methods inherited from class vmm3d.core.Exhibit
addChangeListener, addDecoration, addView, clearDecorations, forceRedraw, getAlternativeViews, getCreateAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, removeChangeListener, removeDecoration, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
-
-
-
-
Method Detail
-
parameterChanged
public void parameterChanged(Parameter param, java.lang.Object oldValue, java.lang.Object newValue)
Description copied from class:ExhibitThis method will be called automatically when a parameter that has been added to this Exhibit is changed. It should not ordinarily be called directly. Note that in fact, this method simply callsforceRedraw. This method is defined in the <@link Parameterizable} interface.- Specified by:
parameterChangedin interfaceParameterizable- Overrides:
parameterChangedin classExhibit- Parameters:
param- The Parmeter whose value has been set.oldValue- The previous value of the parameter.newValue- The new, current value of the parameter. This is not necessarily guaranteed to be different from the old value (although it is for parameters definedin the VMM core).- See Also:
Exhibit.forceRedraw()
-
getAdditionalAnimationsForView
public ActionList getAdditionalAnimationsForView(View view)
Description copied from class:ExhibitThis method returns a list ofActionItemthat 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 byView#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.
- Overrides:
getAdditionalAnimationsForViewin classExhibit- Parameters:
view- The view in which the animations will be run.
-
surfacePoint
public Vector3D surfacePoint(double u, double v)
Description copied from class:SurfaceParametricThe 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:
surfacePointin classSurfaceParametric
-
-
DMelt 3.0 © DataMelt by jWork.ORG