public class HPlotMX extends Object
| Constructor and Description |
|---|
HPlotMX()
Construct a canvas with a plot with the default parameters.
|
HPlotMX(String exhibitName)
Create canvas and show mathematical object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the current graph including graph settings.
|
void |
close()
Close the canvas (and dispose all components) Note: a memory leak is
found - no time to study it.
|
void |
doc()
Show online documentation.
|
void |
draw(vmm3d.conformalmap.ConformalMap exhibit)
Draw conformal map object.
|
void |
draw(vmm3d.core.Exhibit exhibit)
Draw mathematical object in form of exhibit.
|
void |
draw(vmm3d.core.Exhibit exhibit,
vmm3d.core.View view)
Draw any mathematical object in form of exhibit with a given view.
|
void |
draw(vmm3d.polyhedron.RegularPolyhedron exhibit)
Draw RegularPolyhedron object (parametric function defining a surface).
|
void |
draw(vmm3d.spacecurve.parametric.SpaceCurveParametric exhibit)
Draw parametric space curves
|
void |
draw(vmm3d.surface.implicit.SurfaceImplicit exhibit)
Draw mathematical SurfaceImplicit object (parametric function defining a surface).
|
void |
draw(vmm3d.surface.parametric.SurfaceParametric exhibit)
Draw mathematical SurfaceParametric object (parametric function defining a surface).
|
boolean |
export(String file)
Export graph into an image file.
|
vmm3d.core.Display |
getDisplay()
Get the current display.
|
vmm3d.core.View |
getView()
Get current view.
|
vmm3d.xm3d.WindowXM |
getWindowXM()
Get the current frame.
|
void |
visible()
Show the canvas
|
void |
visible(boolean vs)
Set the canvas frame visible or not
|
public HPlotMX(String exhibitName)
exhibitName - exhibitName object to be shown.public HPlotMX()
public void clear()
public void draw(vmm3d.core.Exhibit exhibit)
exhibit - mathematical object to be shown.public void draw(vmm3d.surface.parametric.SurfaceParametric exhibit)
exhibit - parametric function to draw surfacepublic void draw(vmm3d.surface.implicit.SurfaceImplicit exhibit)
exhibit - parametric function to draw surfacepublic void draw(vmm3d.polyhedron.RegularPolyhedron exhibit)
exhibit - RegularPolyhedronpublic void draw(vmm3d.conformalmap.ConformalMap exhibit)
exhibit - conformal mappublic void draw(vmm3d.spacecurve.parametric.SpaceCurveParametric exhibit)
exhibit - parametric space curves.public void draw(vmm3d.core.Exhibit exhibit,
vmm3d.core.View view)
exhibit - mathematical object to be shown.view - View of this exhibit.public boolean export(String file)
filename - file namepublic vmm3d.xm3d.WindowXM getWindowXM()
public vmm3d.core.Display getDisplay()
public vmm3d.core.View getView()
public void visible(boolean vs)
vs - (boolean) true: visible, false: not visiblepublic void visible()
public void close()
public void doc()
DMelt 2.0 © DataMelt by jWork.ORG