![]() |
FlowEngine 9.000
Photogrammetry Software Development Kit
|
#include <BulkAccessInterface.h>
Public Types | |
| enum | DataType { DataType_Positions , DataType_Normals , DataType_Colors , DataType_TexCoords , DataType_SplatInfo } |
Public Member Functions | |
| virtual FLE_DLL Index | getPointCount () const =0 |
| virtual FLE_DLL Result | getPointData (DataType type, Buffer< void > outData) const =0 |
| virtual FLE_DLL Result | setPointData (DataType type, ConstBuffer< void > data)=0 |
| virtual FLE_DLL | ~BulkAccessInterface ()=default |
Interface for all FlowEngine objects with functions to access data in bulk.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
|
pure virtual |
Copies point data from the object.
| type | the type of data to be copied. See BulkAccessInterface::DataType for the available types and their expected formats. |
| outData | a buffer large enough to countain getPointCount() elements. See BulkAccessInterface::DataType for the expected format and memory layout. The caller is responsible for allocating and managing the memory for this buffer. |
outData.outData is not a valid buffer or is not large enough to hold all point positions.
|
pure virtual |
Copies point data to the object.
| type | the type of data to be copied. See BulkAccessInterface::DataType for the available types and their expected formats. |
| data | a buffer containing the point data to be copied to the object. See BulkAccessInterface::DataType for the expected format and memory layout. |
inData to the object.inData is not a valid buffer or does not contain enough data to fill all point positions.