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, getNativeResourceHandle
public SoCGMVectorOutput()
public void setIndexed()
public void setVersion()
public void setBinary()
public void setBinary(boolean flag)
public boolean isBinary()
public boolean isIndexed()
public void setVersion(int vers)
public int getVersion()
public void setIndexed(boolean flag)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com