|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.idgis.flash.FlashMovie nl.idgis.giserver.FlashGraphic nl.idgis.giserver.FlashMap
public class FlashMap
FlashMap generates a static maplayer in the form of a Flash (swf) file for a set of features of a specific type
Field Summary |
---|
Fields inherited from class nl.idgis.flash.FlashMovie |
---|
aantal0pixelDxDy, aantal16bits, aantal24bits, aantal8bits, aantalColorFill, aantalGraphicFill, aantalLineToCalls, aantalMoveToCalls, aantalShapeOutputCalls, aantalXpixelDxDy, timeDrawFeatures, timeFilterSymbolizers, timeGetFeatures |
Constructor Summary | |
---|---|
FlashMap(int width,
int height,
int fps)
FlashMap constructor |
Method Summary | |
---|---|
void |
addMapCharateristics(double minx,
double miny,
double maxx,
double maxy,
org.deegree.graphics.sld.Rule[] rules,
java.lang.String resourceRoot,
org.deegree.datatypes.QualifiedName maptipProperty,
java.lang.String crsName)
adding flash map charcteristics |
void |
drawFeatureCollection(org.deegree.model.feature.FeatureCollection fc,
org.deegree.graphics.sld.Rule[] rules)
Draw a feature collection |
void |
drawFeatureCollections(java.util.Vector<org.deegree.model.feature.FeatureCollection> segmentFc,
org.deegree.graphics.sld.Rule[] rules)
Draw a set of feature collection. |
void |
drawSegment(nl.idgis.flash.FlashShape shape,
FlashSymbolizer lsym,
org.deegree.model.spatialschema.CurveSegment segment)
Draw a segment , this is a line. |
org.deegree.model.spatialschema.Surface |
getEnvSurface()
|
double |
getMapScale()
Map scale |
RuleDepthManager |
getRuleDepthManager()
|
double |
getScaleX()
Getter scaling x-axis |
double |
getScaleY()
Getter scaling y-axis |
boolean |
hasToClip(org.deegree.model.spatialschema.Geometry geom)
checks if the geometry of the feature needs to be clipped on the bounding box of the map using the bounding box of the geometry |
void |
output(java.io.OutputStream o)
Outputs the complete Flash movie of the map to the provided OutputStream |
void |
postFeatureActions()
Post actions when all features are processed. |
void |
setRuleDepthManager(RuleDepthManager ruleDepthManager)
|
long |
translateX(double value)
Translates a world coordinate x to a screen coordinate x in twips. |
long |
translateXDistance(double xDistance)
Translates a world distance x to a screen distance x in twips. |
long |
translateY(double value)
Translates a world coordinate y to a screen coordinate y in twips. |
long |
translateYDistance(double yDistance)
Translates a world distance y to a screen distance y in twips. |
Methods inherited from class nl.idgis.giserver.FlashGraphic |
---|
finalize, getAppenderReports, getFont, getResourceRoot, getScale, setResourceRoot, setScale |
Methods inherited from class nl.idgis.flash.FlashMovie |
---|
createActionList, createBitmap, createMorph, createShape, createSprite, createText, createText, doAction, getContent, getFilesize, getFilesizeString, getFps, getFrameCount, getHeight, getWidth, importAssets, isCompressSWF, modifyCharacter, modifyCharacter, modifyCharacter, outputCharacter, placeCharacter, placeCharacter, placeCharacter, placeObject, publishActionList, publishCharacter, removeCharacter, setBackgroundColor, setCompressSWF, setHeightInPixels, setWidthInPixels, showFrame, useCharacter, useCharacter, useCharacter, useCharacter, useCharacter, useCharacter, useCharacter, useCharacter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlashMap(int width, int height, int fps) throws java.io.IOException
width
- of generated Flash movie in pixelsheight
- of generated Flash movie in pixels
java.io.IOException
Method Detail |
---|
public void addMapCharateristics(double minx, double miny, double maxx, double maxy, org.deegree.graphics.sld.Rule[] rules, java.lang.String resourceRoot, org.deegree.datatypes.QualifiedName maptipProperty, java.lang.String crsName) throws java.lang.Exception
minx
- of bounding box of map in crsName coordinatesminy
- of bounding box of map in crsName coordinatesmaxx
- of bounding box of map in crsName coordinatesmaxy
- of bounding box of map in crsName coordinatesrules
- to be used for this maplayer instanceresourceRoot
- root directory which should have a fonts and symbols foldermaptipProperty
- name of the property providing the values of the maptipcrsName
- name of the CoordinateSystem of the features
java.lang.Exception
public void drawFeatureCollections(java.util.Vector<org.deegree.model.feature.FeatureCollection> segmentFc, org.deegree.graphics.sld.Rule[] rules) throws java.lang.Exception
segmentFc
- the set of feature-segment collectionrules
-
java.lang.Exception
public void drawFeatureCollection(org.deegree.model.feature.FeatureCollection fc, org.deegree.graphics.sld.Rule[] rules) throws java.lang.Exception
fc
- the feature collectionrules
-
java.lang.Exception
public boolean hasToClip(org.deegree.model.spatialschema.Geometry geom)
geom
- to be checked for clipping
public void drawSegment(nl.idgis.flash.FlashShape shape, FlashSymbolizer lsym, org.deegree.model.spatialschema.CurveSegment segment) throws java.lang.Exception
shape
- :
concerning shape characterlsym
- :
flash symbolizersegment
- :
segment(line) to draw
java.lang.Exception
public void output(java.io.OutputStream o) throws java.lang.Exception
output
in class FlashGraphic
java.lang.Exception
public long translateX(double value)
public long translateY(double value)
public long translateXDistance(double xDistance)
public long translateYDistance(double yDistance)
public double getMapScale()
public double getScaleX()
public double getScaleY()
public RuleDepthManager getRuleDepthManager()
public void setRuleDepthManager(RuleDepthManager ruleDepthManager)
public void postFeatureActions() throws java.lang.Exception
FlashGraphic
postFeatureActions
in class FlashGraphic
java.io.IOException
java.lang.Exception
public org.deegree.model.spatialschema.Surface getEnvSurface()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |