FlowEngine 9.000
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
BulkAccessInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2026
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINEBULKACCESSNTERFACE_H
20#define FLOWENGINEBULKACCESSNTERFACE_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26namespace FlowEngine
27{
30 {
31 public:
32
34 {
40 };
41
42 public:
43
45 FLE_DLL virtual ~BulkAccessInterface() = default;
46
47 public:
48
49 // @returns the number of points in this object.
50 FLE_DLL virtual Index getPointCount() const = 0;
51
62 FLE_DLL virtual Result getPointData( DataType type, Buffer< void > outData ) const = 0;
63
73 FLE_DLL virtual Result setPointData( DataType type, ConstBuffer< void > data ) = 0;
74 };
75}
76
77#endif
Interface for all FlowEngine objects with functions to access data in bulk.
Definition: BulkAccessInterface.h:30
virtual FLE_DLL Result getPointData(DataType type, Buffer< void > outData) const =0
virtual FLE_DLL Index getPointCount() const =0
virtual FLE_DLL Result setPointData(DataType type, ConstBuffer< void > data)=0
DataType
Definition: BulkAccessInterface.h:34
@ DataType_Colors
The normal vectors at each point in the object. Memory layout is 3 * sizeof( float )
Definition: BulkAccessInterface.h:37
@ DataType_TexCoords
The RGB color values at each point in the object. Memory layout is 3 * sizeof( uint8_t )
Definition: BulkAccessInterface.h:38
@ DataType_Positions
Definition: BulkAccessInterface.h:35
@ DataType_SplatInfo
The 2D texture coordinates at each point in the object. Memory layout is 2 * sizeof( float )
Definition: BulkAccessInterface.h:39
@ DataType_Normals
The 3D coordinates of the points in the object. Memory layout is 3 * sizeof( double )
Definition: BulkAccessInterface.h:36
virtual FLE_DLL ~BulkAccessInterface()=default
Default virtual destructor.
Definition: BoundingBoxInterface.cpp:26
std::ptrdiff_t Index
Index type.
Definition: CommonDef.h:103
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:48
Specialization for a type-erased mutable buffer.
Definition: CommonDef.h:352
Specialization for a type-erased const buffer.
Definition: CommonDef.h:387