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; }
14// clang-format on
15
16namespace VoxelShapes {
17
18class Cells {
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 Cells& operator=(Cells const&);
31 Cells(Cells const&);
32 Cells();
33
34public:
35 // member functions
36 // NOLINTBEGIN
38
39 MCNAPI void forEachBox(
41 void(schar, schar, schar, schar, schar, schar) const,
42 void(schar, schar, schar, schar, schar, schar)> consumer,
43 bool mergeNeighbors
44 ) const;
45
46 MCNAPI ::VoxelShapes::Cells& operator=(::VoxelShapes::Cells&&);
47
48 MCNAPI ::VoxelShapes::Cells reverseAxes(bool reverseX, bool reverseY, bool reverseZ) const;
49
50 MCNAPI ::VoxelShapes::Cells rotate(::VoxelShapes::AxesPermutation const& rotation) const;
51
52 MCNAPI ~Cells();
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCNAPI static ::VoxelShapes::Cells join(
59 ::VoxelShapes::Cells const& first,
60 ::VoxelShapes::Cells const& second,
61 ::VoxelShapes::IndexMerger const& xMerger,
62 ::VoxelShapes::IndexMerger const& yMerger,
63 ::VoxelShapes::IndexMerger const& zMerger,
64 ::VoxelShapes::JoinOperation operation
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCNAPI void* $ctor(::VoxelShapes::Cells&&);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCNAPI void $dtor();
78 // NOLINTEND
79};
80
81} // namespace VoxelShapes
Definition AxesPermutation.h:12
Definition Cells.h:18
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::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 Alias.h:14