vmm3d.spacecurve.parametric
Class SphericalCurve
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.core3D.Exhibit3D
-
- vmm3d.spacecurve.SpaceCurve
-
- vmm3d.spacecurve.parametric.SpaceCurveParametric
-
- vmm3d.spacecurve.parametric.SphericalCurve
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
- Direct Known Subclasses:
- Loxodrome, SphericalCycloid, SphericalEllipse, Viviani
public abstract class SphericalCurve extends SpaceCurveParametric
A curve that lies on the surface of a sphere. The sphere is shown as a random dot cloud. The sphere is of radius 1. Note that in any subclass, the value() method must return a vector of length one (unless the return value is null); this is not checked or enforced anywhere in this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description classSphericalCurve.SphericalCurveViewThe default view for a SphericalCurve.-
Nested classes/interfaces inherited from class vmm3d.spacecurve.parametric.SpaceCurveParametric
SpaceCurveParametric.SpaceCurveParametricView, SpaceCurveParametric.SpaceCurveParametricViewAsTube
-
-
Constructor Summary
Constructors Constructor and Description SphericalCurve()Constructs a SphericalCurve with a blue dot-cloud sphere and a default window of (-1.2,1.2,-1.2,1.2) that should be OK for any subclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ViewgetDefaultView()Returns a View of typeSphericalCurve.SphericalCurveView, which is a subclass ofSpaceCurveParametric.SpaceCurveParametricViewthat defines some additional Actions.-
Methods inherited from class vmm3d.spacecurve.parametric.SpaceCurveParametric
geographicCoordinates, getActionsForView, getAlternativeViews, getBuildAnimation, getCreateAnimation, getT, getTResolution, makeRepereMobile
-
Methods inherited from class vmm3d.spacecurve.SpaceCurve
getPoint, getPointCount
-
Methods inherited from class vmm3d.core3D.Exhibit3D
getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp
-
Methods inherited from class vmm3d.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addView, clearDecorations, forceRedraw, getAdditionalAnimationsForView, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
-
-
-
-
Constructor Detail
-
SphericalCurve
public SphericalCurve()
Constructs a SphericalCurve with a blue dot-cloud sphere and a default window of (-1.2,1.2,-1.2,1.2) that should be OK for any subclass. It also sets a default viewpoint of (16,9,19) which might or might need to be changed in individual subclasses.
-
-
Method Detail
-
getDefaultView
public View getDefaultView()
Returns a View of typeSphericalCurve.SphericalCurveView, which is a subclass ofSpaceCurveParametric.SpaceCurveParametricViewthat defines some additional Actions.- Overrides:
getDefaultViewin classSpaceCurveParametric
-
-
DMelt 3.0 © DataMelt by jWork.ORG