You are here: Start » Function Reference » Camera Support » GoPxL » GoPxL_GrabUniformProfile
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Captures uniform profile from GoPxL device.
Syntax
bool fil::GoPxL_GrabUniformProfile ( GoPxL_State& ioState, const ftl::Optional<fil::GoPxLAddress>& inAddress, int inInputQueueSize, ftl::Optional<int> inSourceID, fil::Profile& outProfileData, ftl::Conditional<fil::Profile>& outProfileIntensity, ftl::real& outZScale, ftl::real& outZOffset, fil::GoPxLFrameInfo& outFrameInfo )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | GoPxL_State& | Object used to maintain state of the function. | ||
![]() |
inAddress | const Optional<GoPxLAddress>& | NIL | GoPxL Device identifying IP address (e.g. "127.0.0.1" or "127.0.0.1:3600") or serial number (e.g. "SN:17335") | |
![]() |
inInputQueueSize | int | 1 - 50000 | Number of incoming frames that can be buffered before the application is able to process them | |
![]() |
inSourceID | Optional<int> | 0 - ![]() |
NIL | ID of the data source in Gocator Protocol |
![]() |
outProfileData | Profile& | ProfileData | ||
![]() |
outProfileIntensity | Conditional<Profile>& | ProfileIntensity | ||
![]() |
outZScale | real& | Z scale in mm | ||
![]() |
outZOffset | real& | Z offset in mm | ||
![]() |
outFrameInfo | GoPxLFrameInfo& | Frame metadata |
Remarks
Device driver software
This filter is intended to cooperate with a Gocator device running GoPxL firmware. It is not required to install any additional software to connect to the device.
Device identification
When there is only one device connected, the field inAddress can be set to Auto. In this situation, the first available device will be used.
inAddress can be used to pick one of multiple devices connected to the computer. inAddress can be set to:
- IP Address - GoPxL Device identifying IP address (e.g. "127.0.0.1" or "127.0.0.1:3600")
- Serial Number - GoPxL Device serial number with "SN:" prefix (e.g. "SN:17335")
Gocator Protocol data source ID
When the field inSourceID is set to Auto, all data sources of a specific type would be processed by this filter. To process only one, chosen data source, set the value of this field to an appropriate ID. Data source IDs can be found in the GoPxL web interface, under Control/Gocator tab.
See Also
- GoPxL_GrabUniformProfile_WithTimeout – Captures uniform profile from GoPxL device.
- GoPxL_GrabImages – Captures images from GoPxL device.
- GoPxL_GrabImages_WithTimeout – Captures images from GoPxL device.
- GoPxL_GrabPoint3DGrid – Captures Point3DGrid (not resampled surface) from GoPxL device.
- GoPxL_GrabPoint3DGrid_WithTimeout – Captures Point3DGrid (not resampled surface) from GoPxL device with timeout; returns Nil if no data comes in the specified time.
- GoPxL_GrabProfile – Captures profile from GoPxL device.
- GoPxL_GrabProfile_WithTimeout – Captures profile from GoPxL device.
- GoPxL_GrabSurface – Captures Surface from GoPxL device.
- GoPxL_GrabSurface_WithTimeout – Captures Surface from GoPxL device with timeout; returns Nil if no data comes in the specified time.