uk.ac.ed.svg_handler
Class SVGHandler
java.lang.Object
uk.ac.ed.svg_handler.SVGHandler
public class SVGHandler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ext
public static final String ext
- See Also:
- Constant Field Values
SCALE
public static double SCALE
INTERVAL
public static double INTERVAL
INVERSE_INTERVAL
public static double INVERSE_INTERVAL
CONTOURS
public static boolean CONTOURS
MANIFOLD
public static boolean MANIFOLD
SATURATION_DAMPENING
public static double SATURATION_DAMPENING
BRIGHTNESS_FIDDLE_FACTOR
public static double BRIGHTNESS_FIDDLE_FACTOR
pen_up
protected boolean pen_up
morphml_handler
protected MorphMLHandler morphml_handler
morphology
protected Morphology morphology
depth
protected double depth
thickness
protected double thickness
paxinos_handler
protected PaxinosHandler paxinos_handler
feature_map
protected HashMap feature_map
next_point_id
protected int next_point_id
manifold
protected org.virtualratbrain.namespace.Manifold manifold
polygon
protected org.virtualratbrain.namespace.Polygon polygon
current_x
protected int current_x
current_y
protected int current_y
SVGHandler
public SVGHandler(MorphMLHandler morphml_handler,
PaxinosHandler paxinos_handler)
getFileFilter
public static FileFilter getFileFilter()
isSVGFile
public static boolean isSVGFile(File file)
isSVGFileName
public static boolean isSVGFileName(String file_name)
setMorphology
public void setMorphology(Morphology morphology)
setDepth
public void setDepth(double depth)
setThickness
public void setThickness(double thickness)
readStream
public Morphology readStream(InputStream input_stream)
initialiseManifoldFeature
protected void initialiseManifoldFeature(Color colour)
initialiseContourFeature
protected void initialiseContourFeature(Color colour)
handleMoveToInstruction
protected void handleMoveToInstruction(uk.ac.ed.svg_handler.MoveTo instruction)
handleLineToInstruction
protected void handleLineToInstruction(uk.ac.ed.svg_handler.LineTo instruction)
handleCurveToInstruction
protected void handleCurveToInstruction(uk.ac.ed.svg_handler.CurveTo instruction)