Package com.openinventor.hardcopy
Class SoVectorizePSAction
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.actions.SoAction
-
- com.openinventor.hardcopy.SoVectorizeAction
-
- com.openinventor.hardcopy.SoVectorizePSAction
-
public class SoVectorizePSAction extends SoVectorizeAction
Realizes the vectorization of a scene graph to a file in PostScript format. This class is used for vectorizing scene graphs to PostScript format files. It contains anSoPSVectorOutput
instance which writes by default to standard output. Methods onSoPSVectorOutput
can be called to specify what file to write to.Limitations:
- End line style TRIANGULAR is not supported; end line style ROUND is assumed instead.
- Join line style NONE, MITERED_BEVELED, and TRIANGULAR are not supported; join line styles BEVELED, MITERED, and ROUNDED are assumed instead.
- For LANDSCAPE orientation, the start position is the upper-left corner.
- See additional limitations in
SoVectorizeAction
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.hardcopy.SoVectorizeAction
SoVectorizeAction.ColorTranslationMethods, SoVectorizeAction.DimensionUnits, SoVectorizeAction.EndLineStyles, SoVectorizeAction.HLHSRModes, SoVectorizeAction.JoinLineStyles, SoVectorizeAction.Orientations, SoVectorizeAction.ShadeModels
-
Nested classes/interfaces inherited from class com.openinventor.inventor.actions.SoAction
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoVectorizePSAction()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
SoPSVectorOutput
getPSVectorOutput()
Returns theSoPSVectorOutput
instance in action.-
Methods inherited from class com.openinventor.hardcopy.SoVectorizeAction
beginPage, beginPage, enableLighting, endPage, getBackgroundColor, getColorPriority, getColorTranslationMethod, getDrawingDimensions, getDrawingDimensions, getHLHSRMode, getHLHSRRasterCaching, getHLHSRRasterQuality, getLineEndStyle, getLineJoinsStyle, getLineOffset, getLinePatternSize, getLinePatternSize, getMarkerOffset, getMiterLimit, getNominalWidth, getNominalWidth, getOrientation, getPenNum, getPixelImageSize, getPixelImageSize, getPolygonOffset, getShadeModel, getStartPosition, getStartPosition, getVectorOutput, isLightingEnabled, setBackgroundColor, setBackgroundColor, setBorder, setBorder, setColorPriority, setColorTranslationMethod, setDrawingDimensions, setDrawingDimensions, setDrawingDimensions, setDrawingDimensions, setHLHSRMode, setHLHSRRasterCaching, setHLHSRRasterQuality, setLineEndStyle, setLineJoinsStyle, setLineOffset, setLinePatternSize, setLinePatternSize, setMarkerOffset, setMiterLimit, setNominalWidth, setNominalWidth, setOrientation, setPenDescription, setPenDescription, setPenDescription, setPenDescription, setPixelImageSize, setPixelImageSize, setPolygonOffset, setShadeModel, setStartPosition, setStartPosition, setStartPosition, setStartPosition
-
Methods inherited from class com.openinventor.inventor.actions.SoAction
apply, apply, clearApplyResult, forwardTraversal, forwardTraversal, getContinueActionInBranchFlag, getCurPath, getDistribMode, getNodeAppliedTo, getOriginalPathListAppliedTo, getPathAppliedTo, getPathCode, getPathListAppliedTo, getPipeId, getSceneManager, getState, getWhatAppliedTo, hasTerminated, invalidateState, isBeingApplied, isLastPathListAppliedTo, isUsingAlternateRep, nullAction, postDelayedTraversal, preDelayedTraversal, resetContinueActionInBranchFlag, setPipeId, setSceneManager, setUpState, stopActionInBranch, traverse, useAlternateRep
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
enableElement
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
-
getPSVectorOutput
public SoPSVectorOutput getPSVectorOutput()
Returns theSoPSVectorOutput
instance in action.
-
-