LEADTOOLS DICOM C++ Class Library Help > Classes and Member Functions > LDicomWaveformChannel > LDicomWaveformChannel Class Members > LDicomWaveformChannel::SetNotchFilterBandwidth |
#include "Ltdic.h"
L_BOOL LDicomWaveformChannel::SetNotchFilterBandwidth(bInclude, dBandwidth)
L_BOOL bInclude; |
/* dataset insertion/removal flag */ |
L_DOUBLE dBandwidth; |
/* new notch filter bandwidth*/ |
Sets the notch filter bandwidth for the channel.
Parameter |
Description |
|
bInclude |
Boolean flag that specifies whether the function should insert the "Notch Filter Bandwidth" (003A,0223) element or remove it from the dataset. |
|
|
Value |
Meaning |
|
TRUE |
Insert the "Notch Filter Bandwidth" (003A,0223) element (that corresponds to this channel) into the dataset and then set its value. |
|
FALSE |
Delete the "Notch Filter Bandwidth" (003A,0223) element (that corresponds to this channel) from the dataset. |
dBandwidth |
New notch filter bandwidth. |
Returns
TRUE |
The notch filter bandwidth was updated successfully. |
FALSE |
An error occurred. |
Comments
This function sets the value of the "Notch Filter Bandwidth" (003A,0223) element that corresponds to this channel. Set bInclude to TRUE to force the function to insert the element if it doesnt already exist in the dataset.
This function can also be used to delete the "Notch Filter Bandwidth" (003A,0223) element that corresponds to this channel by setting bInclude to FALSE. In this case the dBandwidth parameter is ignored.
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64
See Also
Functions |
Class Members, LDicomWaveformChannel::GetNotchFilterBandwidth |
Topics: |
Example
For an Example, refer to LDicomWaveformChannel::SetChannelSamples8