vmm3d.fractals
Class Hilbert
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.fractals.RepeatedSegmentFractal
-
- vmm3d.fractals.Hilbert
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
public class Hilbert extends RepeatedSegmentFractal
The square-filling Hilbert curve.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class vmm3d.fractals.RepeatedSegmentFractal
RepeatedSegmentFractal.RSFView
-
-
Constructor Summary
Constructors Constructor and Description Hilbert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ActionListgetActionsForView(View view)Adds a submenu that contains commands for selecting the value of the segmentChoice property.intgetSegmentChoice()Returns the value of the segmentChoice property.voidsetSegmentChoice(int segmentChoice)Sets the value of the segmentChoice property.-
Methods inherited from class vmm3d.fractals.RepeatedSegmentFractal
getCreateAnimation, getDefaultView
-
Methods inherited from class vmm3d.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addView, clearDecorations, forceRedraw, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultTransform, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
-
-
-
-
Method Detail
-
getSegmentChoice
public int getSegmentChoice()
Returns the value of the segmentChoice property.- See Also:
setSegmentChoice(int)
-
setSegmentChoice
public void setSegmentChoice(int segmentChoice)
Sets the value of the segmentChoice property. Legal values are 1 to 4. This property determines the shape of the segment that is repeated to make an approximation of the fractal curve.- Parameters:
segmentChoice- The new value of the segmentChoice property. Should be in the range 1 to 4; otehr values will be silently ignored.
-
getActionsForView
public ActionList getActionsForView(View view)
Adds a submenu that contains commands for selecting the value of the segmentChoice property.- Overrides:
getActionsForViewin classExhibit
-
-
DMelt 3.0 © DataMelt by jWork.ORG