Package com.openinventor.hardcopy
Class SoVectorizeCGMAction
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.actions.SoAction
-
- com.openinventor.hardcopy.SoVectorizeAction
-
- com.openinventor.hardcopy.SoVectorizeCGMAction
-
public class SoVectorizeCGMAction extends SoVectorizeAction
Realizes the vectorization of a scene graph to a file in CGM format. This class is used for vectorizing scene graphs to CGM format files. It contains anSoCGMVectorOutput
instance which writes by default to standard output. Methods onSoCGMVectorOutput
can be called to specify what file to write to.Limitations:
setOrientation()
has no effect for CGM format.- The orientation is translator dependent.
- 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 SoVectorizeCGMAction()
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)
SoCGMVectorOutput
getCGMVectorOutput()
Returns theSoCGMVectorOutput
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
-
getCGMVectorOutput
public SoCGMVectorOutput getCGMVectorOutput()
Returns theSoCGMVectorOutput
instance in action.
-
enableElement
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
-
-