 
            This function returns the vector data interface in the lplpVectorData parameter for the given HIGEAR handle.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_vector_data_get(
        HIGEAR hIGear, 
        LPVOID* lplpVectorData 
);
 | |
| Name | Type | Description | 
|---|---|---|
| hIGear | HIGEAR | HIGEAR handle of the image. | 
| lplpVectorData | LPVOID* | Vector data. | 
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Indexed RGB – 8bpp;
RGB – 24 bpp.
Vector
| 
                        Copy Code
                     | |
|---|---|
| /* C++ interface */ IIGVectorData* pVectorData; AT_ERRCOUNT nErrCount; nErrCount = IG_vector_data_get(hIGear, (LPVOID*)& pVectorData); if(!nErrCount && pVectorData) { /* Rotate camera to 90 degrees in XY plane */ pVectorData-> CameraRotate(3.14159/4, IG_DIR_XY); } /* C interface */ IIGVectorData* pVectorData; AT_ERRCOUNT nErrCount; nErrCount = IG_vector_data_get(hIGear, (LPVOID*)& pVectorData); if(!nErrCount && pVectorData) { /* Rotate camera to 90 degrees in XY plane */ pVectorData-> lpVtbl->CameraRotate(pVectorData, 3.14159/4, IG_DIR_XY); } | |
The second parameter should be converted to the IIGVectorData pointer to become an accessible for the vector data functionality.