#include "Spinnaker.h"
#include "SpinGenApi/SpinnakerGenApi.h"
#include <iostream>
#include <sstream>
◆ MAX_CHARS
@example NodeMapInfo.cpp
@brief NodeMapInfo.cpp shows how to retrieve node map information. It relies
on information provided in the Enumeration example. Also, check out the
Acquisition and ExceptionHandling examples if you haven't already.
Acquisition demonstrates image acquisition while ExceptionHandling shows the
handling of standard and Spinnaker exceptions.
This example explores retrieving information from all major node types on the
camera. This includes string, integer, float, boolean, command, enumeration,
category, and value types. Looping through multiple child nodes is also
covered. A few node types are not covered - base, port, and register - as
they are not fundamental. The final node type - enumeration entry - is
explored only in terms of its parent node type - enumeration.
Once comfortable with NodeMapInfo, we suggest checking out ImageFormatControl
and Exposure. ImageFormatControl explores customizing image settings on a
camera while Exposure introduces the standard structure of configuring a device, acquiring some images, and then returning the device to a default state.
◆ readType
Enumerator |
---|
VALUE | |
INDIVIDUAL | |
◆ indent()
void indent |
( |
unsigned int |
level | ) |
|
◆ main()
int main |
( |
int |
, |
|
|
char ** |
|
|
) |
| |
◆ printBooleanNode()
int printBooleanNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printCategoryNodeAndAllFeatures()
int printCategoryNodeAndAllFeatures |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printCommandNode()
int printCommandNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printEnumerationNodeAndCurrentEntry()
int printEnumerationNodeAndCurrentEntry |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printFloatNode()
int printFloatNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printIntegerNode()
int printIntegerNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printStringNode()
int printStringNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ printValueNode()
int printValueNode |
( |
CNodePtr |
node, |
|
|
unsigned int |
level |
|
) |
| |
◆ RunSingleCamera()
int RunSingleCamera |
( |
CameraPtr |
cam | ) |
|
◆ chosenRead