public class SoCGMVectorOutput extends SoVectorOutput
SoCGMVectorOutput
is contained in an SoVectorizeCGMAction
; this is typically the only instance needed.
The environment variable OIV_CGM_HARDCOPY_BUFSIZE specifies the buffer size in bytes for storing CGM calls before writing them to the disk. The default buffer size is 1048576 bytes (1 megabyte). If set to 1, no buffering is done.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoCGMVectorOutput()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getVersion()
Gets the version of the output CGM file.
|
boolean |
isBinary()
Gets the output mode.
|
boolean |
isIndexed()
Gets the color mode.
|
void |
setBinary()
Calls setBinary(true).
|
void |
setBinary(boolean flag)
Sets the output mode.
|
void |
setIndexed()
Calls setIndexed(true).
|
void |
setIndexed(boolean flag)
Sets the color mode.
|
void |
setVersion()
Calls setVersion((int)1).
|
void |
setVersion(int vers)
Sets the version of the output CGM file.
|
closeFile, openFile
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoCGMVectorOutput()
public void setBinary()
public void setVersion()
public void setIndexed()
public void setVersion(int vers)
public boolean isBinary()
public int getVersion()
public void setIndexed(boolean flag)
public boolean isIndexed()
public void setBinary(boolean flag)
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com