IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Specifies which 3D extraction processing module is controlled (if multiple modules are present).
Name |
Scan3dExtractionSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
Scan3dExtraction0 Scan3dExtraction1 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•Scan3dExtraction0: Selected features control Scan3dExtraction0 module.
•Scan3dExtraction1: Selected features control Scan3dExtraction1 module.
Code example
C++
// Determine the current entry of Scan3dExtractionSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("Scan3dExtractionSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of Scan3dExtractionSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("Scan3dExtractionSelector")->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);
}
}
// Set Scan3dExtractionSelector to "Scan3dExtraction0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("Scan3dExtractionSelector")->SetCurrentEntry("Scan3dExtraction0");
C#
// Determine the current entry of Scan3dExtractionSelector
string value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("Scan3dExtractionSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of Scan3dExtractionSelector
allEntries = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("Scan3dExtractionSelector").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
if ((allEntries[i].AccessStatus() != IDSImaging.Peak.API.Core.Nodes.NodeAccessStatus.NotAvailable)
&& (allEntries[i].AccessStatus() != IDSImaging.Peak.API.Core.Nodes.NodeAccessStatus.NotImplemented))
{
availableEntries.Add(allEntries[i].SymbolicValue());
}
}
// Set Scan3dExtractionSelector to "Scan3dExtraction0"
nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.EnumerationNode>("OpticContScan3dExtractionSelectorrollerSelector").SetCurrentEntry("Scan3dExtraction0");
Python
# Determine the current entry of Scan3dExtractionSelector (str)
value = nodeMapRemoteDevice.FindNode("Scan3dExtractionSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of Scan3dExtractionSelector
allEntries = nodeMapRemoteDevice.FindNode("Scan3dExtractionSelector").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())
# Set Scan3dExtractionSelector to "Scan3dExtraction0" (str)
nodeMapRemoteDevice.FindNode("Scan3dExtractionSelector").SetCurrentEntry("Scan3dExtraction0")