vmm3d.fractals
Class Sierpinski
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.fractals.RepeatedSegmentFractal
-
- vmm3d.fractals.Sierpinski
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
public class Sierpinski extends RepeatedSegmentFractal
The fractal "Sierpinski" curve.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class vmm3d.fractals.RepeatedSegmentFractal
RepeatedSegmentFractal.RSFView
-
-
Constructor Summary
Constructors Constructor and Description Sierpinski()
-
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.booleangetUseInjectiveCurve()Returns the value of the useInjectiveCurves property.voidsetUseInjectiveCurves(boolean useInjectiveCurves)Sets the value of the setUseInjectiveCurves 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
-
getUseInjectiveCurve
public boolean getUseInjectiveCurve()
Returns the value of the useInjectiveCurves property.
-
setUseInjectiveCurves
public void setUseInjectiveCurves(boolean useInjectiveCurves)
Sets the value of the setUseInjectiveCurves property. This property determines which of two approximations of the Sierpinski curve is drawn.- Parameters:
useInjectiveCurves- If set to true, then an injective approximation is used for the Sierpinski curve. Otherwise, a non-injective approximation is used.
-
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