LeviLamina
Loading...
Searching...
No Matches
Cells.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/small_vector.h"
7#include "mc/deps/voxel_shapes/JoinOperation.h"
8#include "mc/platform/brstd/function_ref.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace VoxelShapes { class AxesPermutation; }
13namespace VoxelShapes { class IndexMerger; }
14namespace VoxelShapes { struct SerializableCells; }
15// clang-format on
16
17namespace VoxelShapes {
18
19class Cells {
20public:
21 // member variables
22 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 Cells& operator=(Cells const&);
32 Cells(Cells const&);
33 Cells();
34
35public:
36 // member functions
37 // NOLINTBEGIN
39
40 MCNAPI void forEachBox(
42 void(schar, schar, schar, schar, schar, schar) const,
43 void(schar, schar, schar, schar, schar, schar)> consumer,
44 bool mergeNeighbors
45 ) const;
46
47 MCNAPI ::VoxelShapes::Cells& operator=(::VoxelShapes::Cells&&);
48
49 MCNAPI ::VoxelShapes::Cells reverseAxes(bool reverseX, bool reverseY, bool reverseZ) const;
50
51 MCNAPI ::VoxelShapes::Cells rotate(::VoxelShapes::AxesPermutation const& rotation) const;
52
53 MCNAPI ::VoxelShapes::SerializableCells toSerializable() const;
54
55 MCNAPI ~Cells();
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCNAPI static ::VoxelShapes::Cells fromSerializable(::VoxelShapes::SerializableCells const& serializable);
62
63 MCNAPI static ::VoxelShapes::Cells join(
64 ::VoxelShapes::Cells const& first,
65 ::VoxelShapes::Cells const& second,
66 ::VoxelShapes::IndexMerger const& xMerger,
67 ::VoxelShapes::IndexMerger const& yMerger,
68 ::VoxelShapes::IndexMerger const& zMerger,
69 ::VoxelShapes::JoinOperation operation
70 );
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor(::VoxelShapes::Cells&&);
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84};
85
86} // namespace VoxelShapes
Definition AxesPermutation.h:12
Definition Cells.h:19
static MCAPI ::VoxelShapes::Cells fromSerializable(::VoxelShapes::SerializableCells const &serializable)
MCAPI::VoxelShapes::Cells & operator=(::VoxelShapes::Cells &&)
static MCAPI ::VoxelShapes::Cells join(::VoxelShapes::Cells const &first, ::VoxelShapes::Cells const &second, ::VoxelShapes::IndexMerger const &xMerger, ::VoxelShapes::IndexMerger const &yMerger, ::VoxelShapes::IndexMerger const &zMerger, ::VoxelShapes::JoinOperation operation)
MCAPI::VoxelShapes::Cells reverseAxes(bool reverseX, bool reverseY, bool reverseZ) const
MCAPI void * $ctor(::VoxelShapes::Cells &&)
MCAPI void $dtor()
MCAPI::VoxelShapes::SerializableCells toSerializable() const
MCAPI::VoxelShapes::Cells rotate(::VoxelShapes::AxesPermutation const &rotation) const
MCAPI Cells(::VoxelShapes::Cells &&)
MCAPI void forEachBox(::brstd::function_ref< void(schar, schar, schar, schar, schar, schar) const, void(schar, schar, schar, schar, schar, schar)> consumer, bool mergeNeighbors) const
Definition IndexMerger.h:10
Definition function_ref.h:60
Definition SerializableCells.h:7
Definition Alias.h:14