IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the optical filter type of the camera.
Name |
DeviceOpticalFilterType |
Category |
|
Interface |
Enumeration |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
HQ GL DL None Unknown |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•HQ: IR cut-off filter for high quality color rendering.
•GL: Glass filter for dirt protection.
•DL: Daylight-cut filter.
•None: No optical filter.
•Unknown: Unknown optical filter type.
Code example
C++
// Determine the current entry of DeviceOpticalFilterType
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DeviceOpticalFilterType")->CurrentEntry()->SymbolicValue();// Get a list of all available entries of DeviceOpticalFilterType
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("DeviceOpticalFilterType")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
&& (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
{
availableEntries.emplace_back(entry);
}
}
C#
// Determine the current entry of DeviceOpticalFilterType
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DeviceOpticalFilterType").CurrentEntry().SymbolicValue();// Get a list of all available entries of DeviceOpticalFilterType
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("DeviceOpticalFilterType").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
&& (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
{
availableEntries.Add(allEntries[i].SymbolicValue());
}
}
Python
# Determine the current entry of DeviceOpticalFilterType (str)
value = nodeMapRemoteDevice.FindNode("DeviceOpticalFilterType").CurrentEntry().SymbolicValue()# Get a list of all available entries of DeviceOpticalFilterType
allEntries = nodeMapRemoteDevice.FindNode("DeviceOpticalFilterType").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())