_BinLayerOperation, _BinLayerSetColor, BinLayerClipboardCopy, BinLayerClipboardPaste, BinLayerCopy, BinLayerDelete, BinLayerDuplicate, BinLayerFillFramesND, BinLayerGetNameFromID, BinLayerGetNameFromIndex, BinLayerMerge, BinLayerMergeND, BinLayerSelect, BinLayerSetColor, BinLayerSetColorEx, BinLayerSetComponent, BinLayerStore, BinLayerSynchronizeBinariesWithChannels, GetGrayImageFromBinLayer, ProcessBinLayer
This function runs the Copy Binary Layers command.
Description
BinLayerClipboardCopy(
char *BinLayerNameSrc
);
This function copies binary layers into the clipboard. The layers can be pasted into different documents.
Parameters
Note
If you have layers with duplicate names use #id for source layer names instead.
See Also
BinLayerCopy, BinLayerClipboardPaste
This function runs the Paste Binary Layers command.
Description
BinLayerClipboardPaste(
char *BinLayerNameDst
);
This function pastes binary layers from clipboard into the current document. Clipboard must contain some binary layer.
Parameters
See Also
BinLayerCopy, CopyBinary, PasteBinary
Description
BinLayerCopy( char *BinLayerNameDst
, char *BinLayerNameSrc
);
This function copies contents of one binary layer into another binary layer.
Parameters
Note
If you have layers with duplicate names use #id for source layer names instead.
See Also
BinLayerClipboardCopy, BinLayerClipboardPaste, CopyBinary, PasteBinary
This function runs the Delete All Layers command.
Description
BinLayerDelete(
char *BinLayerNameDst
);
This function deletes the specified binary layers.
Parameters
Note
If you have layers with duplicate names use #id for layer names instead. If all layer shall be deleted, use “*” as the parameter.
See Also
BinLayerDuplicate, BinLayerMerge, BinLayerSelect, BinLayerSetComponent, BinLayerStore
Description
BinLayerDuplicate( char *BinLayerNameDst
, char *BinLayerNameSrc
);
This function duplicates the binary layers.
Parameters
See Also
BinLayerDelete, BinLayerMerge, BinLayerSelect, BinLayerSetComponent, BinLayerStore
Description
BinLayerFillFramesND( intNDTLoop
, intNDMPLoop
, intNDZLoop
, intNDDimension
);
This function fills frames which miss binary layer with the binary layer of their neighbors. If all dimensions are used, the function looks for neighbors containing a binary layer in the following order: Z, MP, T.
Parameters
NDDimension
Frame selection of the ND document.
Current frame | |
Time dimension | |
Multipoint dimension | |
Z dimension | |
All frames (the whole ND document). | |
Selection - the frames/dimensions selected by mouse within the ND control bar will be affected. |
Note
Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).
Description
BinLayerGetNameFromID( unsigned intBinLayerID
, char *BinLayerNameDst
, intBufferLength
);
Gets a binary layer name from its unique identifier (ID). IDs of the binary layers appear in tooltips of the Binary Layers control.
Parameters
See Also
BinLayerGetNameFromIndex
Description
BinLayerGetNameFromIndex( intIndex
, char *BinLayerNameDst
, intBufferLength
);
Gets a binary layer name from its index. Index starts from 0 and corresponds to the binary layers order in the Binary Layers control.
Parameters
See Also
BinLayerGetNameFromID
Description
BinLayerMerge( char *BinLayerNameDst
, char *BinLayerNameSrc
, intBinLayerOp
);
This function merges all source layers into a new destination layer. A parameter defines how the layers are merged. At least two source layers are necessary.
Parameters
BinLayerNameDst
Name of the destination binary layer(s) which will be created by the function.
Note
Some functions accept a list of binary layers. A coma-separated list of names is expected. If the list is in another format than expected or NULL, default names will be used.
BinLayerNameSrc
Name of the source binary layer(s).
Note
Some functions accept a list of binary layers. These functions expect a coma-separated list of names. If the parameter is NULL or an empty string, selected (visible) layers are used instead.
Note
If you have layers with duplicate names use #id for source layer names instead.
See Also
BinLayerDelete, BinLayerDuplicate, BinLayerSelect, BinLayerSetComponent, BinLayerStore
Description
BinLayerMergeND( char *BinLayerNameDst
, char *BinLayerNameSrc
, intBinLayerOp
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function merges all source layers of an ND document into a new destination layer. A parameter defines how the layers are merged.
Parameters
BinLayerNameDst
Name of the destination binary layer(s) which will be created by the function.
Note
Some functions accept a list of binary layers. A coma-separated list of names is expected. If the list is in another format than expected or NULL, default names will be used.
BinLayerNameSrc
Name of the source binary layer(s).
Note
Some functions accept a list of binary layers. These functions expect a coma-separated list of names. If the parameter is NULL or an empty string, selected (visible) layers are used instead.
BinLayerOp
Integer number specifying the operation between the layers. Default operation is Union.
Description
BinLayerSelect(
char *BinLayerNameDst
);
This function selects the specified binary layers. Remaining layers are deselected.
Parameters
Note
If you have layers with duplicate names use #id for layer names instead.
See Also
BinLayerDelete, BinLayerDuplicate, BinLayerMerge, BinLayerSetComponent, BinLayerStore
This function runs the Binary for channel command.
Description
BinLayerSetColor( char *BinLayerNameDst
, dwordBinLayerColor
, intBinLayerColorMode
);
This function changes the color of any existing binary layer.
Parameters
Description
BinLayerSetColorEx( char *BinLayerNameDst
, dwordBinLayerColor
, intBinLayerColorMode
, intCreateUndo
);
This function changes the color of any existing binary layer and enables the user to undo this process in the Undo History.
Parameters
Description
BinLayerSetComponent( char *BinLayerNameDst
, char *BinLayerComponent
);
This function attaches or detaches a binary layer to a channel. When the layer is attached to a channel, it takes its color and synchronizes its visibility.
Parameters
Note
If you have layers with duplicate names use #id for layer names instead.
See Also
BinLayerDelete, BinLayerDuplicate, BinLayerMerge, BinLayerSelect, BinLayerStore
Description
BinLayerStore( char *BinLayerNameDst
, char *BinLayerNameSrc
);
Moves the binary layers from the working set into the stored binary layer set.
Parameters
Note
If you have layers with duplicate names use #id for layer names instead.
See Also
BinLayerDelete, BinLayerDuplicate, BinLayerMerge, BinLayerSelect, BinLayerSetComponent
Description
BinLayerSynchronizeBinariesWithChannels(
int BinLayerSynchronize
);
When selecting a channel, this function automatically selects a binary layer attached to the appropriate channel and deselects all binary layers attached to other channels.
Description
GetGrayImageFromBinLayer( char *BinLayerNameSrc
, intComponent
, intBin2GrayCStyle
);
This function replaces areas under the selected binary layer with a solid color. A copy of the current image will be created with the selected component (channel) modified.
Parameters
Description
ProcessBinLayer(
char *ProcessingBinLayerName
);
Processes the selected binary layer.
Description
_BinLayerOperation( char *BinLayerNameSrc
, char *BinLayerNameDst
, intBinLayerOp
);
This function opens the Binary Operation dialog window.
Parameters
BinLayerNameSrc
Name of the source binary layer(s).
Note
Some functions accept a list of binary layers. These functions expect a coma-separated list of names. If the parameter is NULL or an empty string, selected (visible) layers are used instead.
BinLayerNameDst
Name of the destination binary layer(s) which will be created by the function.
Note
Some functions accept a list of binary layers. A coma-separated list of names is expected. If the list is in another format than expected or NULL, default names will be used.