0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / RWGltf / RWGltf_GltfPrimArrayData.hxx
CommitLineData
0a419c51 1// Author: Kirill Gavrilov
2// Copyright (c) 2018-2019 OPEN CASCADE SAS
3//
4// This file is part of Open CASCADE Technology software library.
5//
6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
11//
12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
14
15#ifndef _RWGltf_GltfPrimArrayData_HeaderFile
16#define _RWGltf_GltfPrimArrayData_HeaderFile
17
18#include <NCollection_Buffer.hxx>
19#include <RWGltf_GltfAccessor.hxx>
20#include <RWGltf_GltfArrayType.hxx>
21#include <TCollection_AsciiString.hxx>
22
23//! An element within primitive array - vertex attribute or element indexes.
24class RWGltf_GltfPrimArrayData
25{
26public:
27 Handle(NCollection_Buffer) StreamData;
28 TCollection_AsciiString StreamUri;
29 int64_t StreamOffset;
d9d75a84 30 int64_t StreamLength;
0a419c51 31
32 RWGltf_GltfAccessor Accessor;
33 RWGltf_GltfArrayType Type;
34
35 RWGltf_GltfPrimArrayData()
d9d75a84 36 : StreamOffset (0), StreamLength (0), Type (RWGltf_GltfArrayType_UNKNOWN) {}
0a419c51 37
38 RWGltf_GltfPrimArrayData (RWGltf_GltfArrayType theType)
d9d75a84 39 : StreamOffset (0), StreamLength (0), Type (theType) {}
0a419c51 40};
41
42#endif // _RWGltf_GltfPrimArrayData_HeaderFile