MeshLib C Docs
Loading...
Searching...
No Matches
MRViewportProperty.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRColor.h>
5#include <MRCMesh/MRMatrix3.h>
7#include <MRCMisc/common.h>
8#include <MRCMisc/exports.h>
9
10#include <stdbool.h>
11#include <stddef.h>
12#include <stdint.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct MR_XfBasedCache_MR_Box3f MR_XfBasedCache_MR_Box3f; // Defined in `#include <MRCMesh/MRXfBasedCache.h>`.
19
20
25
30
35
40
45
49
54
57
60
64
69
72
75
80
85
91
96
102
107
115
121
127
131
136
139
142
146
151
154
157
162
167
173
178
184
189
197
203
209
213
218
221
224
228
233
236
239
244
249
255
260
266
271
279
285
291
295
300
303
306
310
315
318
321
326
332
338
343
349
355
363
369
375
379
384
387
390
394
399
402
405
410
415
421
426
432
437
445
451
457
458#ifdef __cplusplus
459} // extern "C"
460#endif
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRFeatureObject.h:33
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRObject.h:43
MRC_API void MR_ViewportProperty_MR_Matrix3f_set_1(MR_ViewportProperty_MR_Matrix3f *_this, MR_Matrix3f def)
MRC_API MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_index(MR_ViewportProperty_MR_Matrix3f *_this, MR_ViewportId id)
MRC_API bool MR_ViewportProperty_uint8_t_reset_1(MR_ViewportProperty_uint8_t *_this, MR_ViewportId id)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_DefaultConstructArray(size_t num_elems)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_OffsetPtr(const MR_ViewportProperty_MR_AffineXf3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_ViewportProperty_MR_Matrix3f_reset_1(MR_ViewportProperty_MR_Matrix3f *_this, MR_ViewportId id)
MRC_API const MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get_const_0(const MR_ViewportProperty_MR_Matrix3f *_this)
MRC_API bool MR_ViewportProperty_MR_AffineXf3f_reset_1(MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id)
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_other)
MRC_API bool MR_ViewportProperty_MR_Matrix3f_reset_0(MR_ViewportProperty_MR_Matrix3f *_this)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_Construct(const MR_Color *def)
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_DefaultConstructArray(size_t num_elems)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_Construct(const MR_AffineXf3f *def)
MRC_API MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get(MR_ViewportProperty_MR_Matrix3f *_this)
MRC_API void MR_ViewportProperty_MR_Matrix3f_DestroyArray(const MR_ViewportProperty_MR_Matrix3f *_this)
Destroys a heap-allocated array of MR_ViewportProperty_MR_Matrix3f. Does nothing if the pointer is nu...
MRC_API const MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get_const_2(const MR_ViewportProperty_MR_Matrix3f *_this, MR_ViewportId id, bool *isDef)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Matrix3f *_other)
MRC_API const MR_Color * MR_ViewportProperty_MR_Color_get_const_2(const MR_ViewportProperty_MR_Color *_this, MR_ViewportId id, bool *isDef)
MRC_API bool MR_ViewportProperty_MR_Color_reset_0(MR_ViewportProperty_MR_Color *_this)
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_DefaultConstructArray(size_t num_elems)
MRC_API void MR_ViewportProperty_MR_Color_DestroyArray(const MR_ViewportProperty_MR_Color *_this)
Destroys a heap-allocated array of MR_ViewportProperty_MR_Color. Does nothing if the pointer is null.
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_DefaultConstruct(void)
MRC_API MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get(MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_AssignFromAnother(MR_ViewportProperty_MR_Color *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Color *_other)
struct MR_ViewportProperty_MR_XfBasedCache_MR_Box3f MR_ViewportProperty_MR_XfBasedCache_MR_Box3f
Definition MRViewportProperty.h:39
MRC_API bool MR_ViewportProperty_MR_AffineXf3f_reset_0(MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API const uint8_t * MR_ViewportProperty_uint8_t_get_const_0(const MR_ViewportProperty_uint8_t *_this)
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_Construct(const MR_XfBasedCache_MR_Box3f *def)
MRC_API const MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_OffsetPtr(const MR_ViewportProperty_uint8_t *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_AssignFromAnother(MR_ViewportProperty_MR_AffineXf3f *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_MR_AffineXf3f *_other)
MRC_API const MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get_const_2(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, MR_ViewportId id, bool *isDef)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_OffsetMutablePtr(MR_ViewportProperty_MR_Matrix3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_ViewportProperty_uint8_t_set_2(MR_ViewportProperty_uint8_t *_this, uint8_t v, MR_ViewportId id)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Color *_other)
MRC_API uint8_t * MR_ViewportProperty_uint8_t_get(MR_ViewportProperty_uint8_t *_this)
MRC_API void MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_set_2(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, const MR_XfBasedCache_MR_Box3f *v, MR_ViewportId id)
MRC_API MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
MRC_API const MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get_const_0(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
MRC_API const MR_Color * MR_ViewportProperty_MR_Color_get_const_0(const MR_ViewportProperty_MR_Color *_this)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_AffineXf3f *_other)
MRC_API const MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_OffsetPtr(const MR_ViewportProperty_MR_Color *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_set_1(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, const MR_XfBasedCache_MR_Box3f *def)
MRC_API bool MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_reset_1(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, MR_ViewportId id)
MRC_API void MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_DestroyArray(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
Destroys a heap-allocated array of MR_ViewportProperty_MR_XfBasedCache_MR_Box3f. Does nothing if the ...
MRC_API void MR_ViewportProperty_MR_Color_Destroy(const MR_ViewportProperty_MR_Color *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_MR_Color. Does nothing if the pointer is nu...
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_OffsetMutablePtr(MR_ViewportProperty_MR_AffineXf3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_ViewportProperty_uint8_t MR_ViewportProperty_uint8_t
Definition MRViewportProperty.h:34
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_Construct(const MR_Matrix3f *def)
MRC_API const MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_const_0(const MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_uint8_t *_other)
MRC_API void MR_ViewportProperty_uint8_t_DestroyArray(const MR_ViewportProperty_uint8_t *_this)
Destroys a heap-allocated array of MR_ViewportProperty_uint8_t. Does nothing if the pointer is null.
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_OffsetMutablePtr(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_Construct(const uint8_t *def)
MRC_API void MR_ViewportProperty_MR_Matrix3f_set_2(MR_ViewportProperty_MR_Matrix3f *_this, MR_Matrix3f v, MR_ViewportId id)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_DefaultConstruct(void)
MRC_API void MR_ViewportProperty_MR_Matrix3f_Destroy(const MR_ViewportProperty_MR_Matrix3f *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_MR_Matrix3f. Does nothing if the pointer is...
MRC_API const uint8_t * MR_ViewportProperty_uint8_t_get_const_2(const MR_ViewportProperty_uint8_t *_this, MR_ViewportId id, bool *isDef)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_OffsetMutablePtr(MR_ViewportProperty_MR_Color *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_reset_0(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
MRC_API uint8_t * MR_ViewportProperty_uint8_t_index(MR_ViewportProperty_uint8_t *_this, MR_ViewportId id)
MRC_API const MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_OffsetPtr(const MR_ViewportProperty_MR_Matrix3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_DefaultConstructArray(size_t num_elems)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_DefaultConstruct(void)
MRC_API void MR_ViewportProperty_MR_Color_set_1(MR_ViewportProperty_MR_Color *_this, MR_Color def)
MRC_API void MR_ViewportProperty_MR_AffineXf3f_set_1(MR_ViewportProperty_MR_AffineXf3f *_this, MR_AffineXf3f def)
MRC_API const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_OffsetPtr(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_DefaultConstruct(void)
MRC_API MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_index(MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id)
MRC_API void MR_ViewportProperty_MR_Color_set_2(MR_ViewportProperty_MR_Color *_this, MR_Color v, MR_ViewportId id)
MRC_API void MR_ViewportProperty_uint8_t_Destroy(const MR_ViewportProperty_uint8_t *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_uint8_t. Does nothing if the pointer is nul...
MRC_API MR_Color * MR_ViewportProperty_MR_Color_get(MR_ViewportProperty_MR_Color *_this)
MRC_API void MR_ViewportProperty_MR_AffineXf3f_DestroyArray(const MR_ViewportProperty_MR_AffineXf3f *_this)
Destroys a heap-allocated array of MR_ViewportProperty_MR_AffineXf3f. Does nothing if the pointer is ...
MRC_API void MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_Destroy(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_MR_XfBasedCache_MR_Box3f....
MRC_API MR_Color * MR_ViewportProperty_MR_Color_index(MR_ViewportProperty_MR_Color *_this, MR_ViewportId id)
MRC_API MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_index(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, MR_ViewportId id)
MRC_API void MR_ViewportProperty_MR_AffineXf3f_set_2(MR_ViewportProperty_MR_AffineXf3f *_this, MR_AffineXf3f v, MR_ViewportId id)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_DefaultConstructArray(size_t num_elems)
MRC_API void MR_ViewportProperty_uint8_t_set_1(MR_ViewportProperty_uint8_t *_this, uint8_t def)
MRC_API bool MR_ViewportProperty_MR_Color_reset_1(MR_ViewportProperty_MR_Color *_this, MR_ViewportId id)
struct MR_ViewportProperty_MR_Matrix3f MR_ViewportProperty_MR_Matrix3f
Definition MRViewportProperty.h:44
MRC_API bool MR_ViewportProperty_uint8_t_reset_0(MR_ViewportProperty_uint8_t *_this)
MRC_API const MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_const_2(const MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id, bool *isDef)
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_AssignFromAnother(MR_ViewportProperty_uint8_t *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_uint8_t *_other)
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_AssignFromAnother(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_other)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_AssignFromAnother(MR_ViewportProperty_MR_Matrix3f *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Matrix3f *_other)
struct MR_XfBasedCache_MR_Box3f MR_XfBasedCache_MR_Box3f
Definition MRViewportProperty.h:18
MRC_API MR_ViewportProperty_uint8_t * MR_ViewportProperty_uint8_t_OffsetMutablePtr(MR_ViewportProperty_uint8_t *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_ViewportProperty_MR_AffineXf3f_Destroy(const MR_ViewportProperty_MR_AffineXf3f *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_MR_AffineXf3f. Does nothing if the pointer ...
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_DefaultConstruct(void)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Generated from class MR::Color.
Definition MRColor.h:19
Definition MRMatrix3.h:58
Definition MRViewportId.h:18