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
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 an
SoPSVectorOutput
instance which writes by default to standard output. Methods on SoPSVectorOutput
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
enableElement
(Class<? extends Inventor> t, int stkIndex) 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
-
Constructor Details
-
SoVectorizePSAction
public SoVectorizePSAction()Constructor.
-
-
Method Details
-
enableElement
-
getPSVectorOutput
Returns theSoPSVectorOutput
instance in action.
-