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
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char; // Defined in `#include <MRCMesh/MRVector4.h>`.
18typedef struct MR_XfBasedCache_MR_Box3f MR_XfBasedCache_MR_Box3f; // Defined in `#include <MRCMesh/MRXfBasedCache.h>`.
19
20
26
32
38
44
50
56
60
65
69
73
78
84
87
90
97
102
107
113
118
124
129
137
143
149
153
158
162
166
171
177
180
183
190
195
200
206
211
217
222
230
236
242
246
251
255
259
264
270
273
276
283
288
293
299
304
310
315
323
329
335
339
344
348
352
357
363
366
369
376
382
388
393
399
405
413
419
425
429
434
438
442
447
453
456
459
466
471
477
483
488
494
500
508
514
520
524
529
533
537
542
548
551
554
561
566
571
577
582
588
593
601
607
613
614#ifdef __cplusplus
615} // extern "C"
616#endif
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:29
struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char
Definition MRMatrix4.h:19
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 MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_DefaultConstructArray(size_t num_elems)
struct MR_ViewportProperty_MR_Vector4_unsigned_char MR_ViewportProperty_MR_Vector4_unsigned_char
Definition MRViewportProperty.h:49
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_OffsetPtr(const MR_ViewportProperty_MR_AffineXf3f *ptr, ptrdiff_t i)
MRC_API const MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get_2(const MR_ViewportProperty_MR_Matrix3f *_this, MR_ViewportId id, bool *isDef)
MRC_API bool MR_ViewportProperty_MR_Matrix3f_reset_1(MR_ViewportProperty_MR_Matrix3f *_this, MR_ViewportId id)
MRC_API bool MR_equal_MR_ViewportProperty_unsigned_char(const MR_ViewportProperty_unsigned_char *_this, const MR_ViewportProperty_unsigned_char *_1)
MRC_API bool MR_ViewportProperty_MR_AffineXf3f_reset_1(MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_Construct(const unsigned char *def)
MRC_API MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_index(MR_ViewportProperty_MR_Vector4_unsigned_char *_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 void MR_ViewportProperty_MR_Vector4_unsigned_char_Destroy(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_MR_Vector4_unsigned_char....
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get_0(const MR_ViewportProperty_MR_Matrix3f *_this)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_Construct(const MR_AffineXf3f *def)
MRC_API bool MR_equal_MR_ViewportProperty_MR_Matrix3f(const MR_ViewportProperty_MR_Matrix3f *_this, const MR_ViewportProperty_MR_Matrix3f *_1)
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 MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Matrix3f *_other)
MRC_API unsigned char * MR_ViewportProperty_unsigned_char_index(MR_ViewportProperty_unsigned_char *_this, MR_ViewportId id)
MRC_API bool MR_ViewportProperty_MR_Color_reset_0(MR_ViewportProperty_MR_Color *_this)
MRC_API void MR_ViewportProperty_unsigned_char_Destroy(const MR_ViewportProperty_unsigned_char *_this)
Destroys a heap-allocated instance of MR_ViewportProperty_unsigned_char. Does nothing if the pointer ...
MRC_API const unsigned char * MR_ViewportProperty_unsigned_char_get_0(const MR_ViewportProperty_unsigned_char *_this)
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_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:43
MRC_API bool MR_ViewportProperty_MR_AffineXf3f_reset_0(MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_DefaultConstructArray(size_t num_elems)
MRC_API MR_ViewportProperty_MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_Construct(const MR_XfBasedCache_MR_Box3f *def)
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 MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_OffsetMutablePtr(MR_ViewportProperty_MR_Matrix3f *ptr, ptrdiff_t i)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Color *_other)
MRC_API bool MR_equal_MR_ViewportProperty_MR_Vector4_unsigned_char(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this, const MR_ViewportProperty_MR_Vector4_unsigned_char *_1)
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 bool MR_ViewportProperty_MR_Vector4_unsigned_char_reset_0(MR_ViewportProperty_MR_Vector4_unsigned_char *_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)
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 const MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get_2(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this, MR_ViewportId id, bool *isDef)
MRC_API void MR_ViewportProperty_unsigned_char_set_1(MR_ViewportProperty_unsigned_char *_this, unsigned char def)
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)
MRC_API MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_Construct(const MR_Vector4_unsigned_char *def)
MRC_API void MR_ViewportProperty_MR_Vector4_unsigned_char_set_1(MR_ViewportProperty_MR_Vector4_unsigned_char *_this, const MR_Vector4_unsigned_char *def)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_Construct(const MR_Matrix3f *def)
MRC_API MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_AssignFromAnother(MR_ViewportProperty_MR_Vector4_unsigned_char *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Vector4_unsigned_char *_other)
MRC_API void MR_ViewportProperty_MR_Vector4_unsigned_char_DestroyArray(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this)
Destroys a heap-allocated array of MR_ViewportProperty_MR_Vector4_unsigned_char. Does nothing if the ...
MRC_API bool MR_ViewportProperty_unsigned_char_reset_0(MR_ViewportProperty_unsigned_char *_this)
MRC_API MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Vector4_unsigned_char *_other)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_OffsetPtr(const MR_ViewportProperty_unsigned_char *ptr, ptrdiff_t i)
MRC_API const MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get_2(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this, MR_ViewportId id, bool *isDef)
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)
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_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_DefaultConstruct(void)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_DefaultConstruct(void)
MRC_API MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get_mut(MR_ViewportProperty_MR_Vector4_unsigned_char *_this)
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 MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_OffsetMutablePtr(MR_ViewportProperty_MR_Color *ptr, ptrdiff_t i)
MRC_API bool MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_reset_0(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
MRC_API MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_OffsetMutablePtr(MR_ViewportProperty_MR_Vector4_unsigned_char *ptr, ptrdiff_t i)
MRC_API const MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_OffsetPtr(const MR_ViewportProperty_MR_Matrix3f *ptr, ptrdiff_t i)
MRC_API MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_DefaultConstructArray(size_t num_elems)
MRC_API MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get_mut(MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_this)
MRC_API bool MR_equal_MR_ViewportProperty_MR_Color(const MR_ViewportProperty_MR_Color *_this, const MR_ViewportProperty_MR_Color *_1)
MRC_API MR_ViewportProperty_MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_DefaultConstruct(void)
MRC_API MR_Color * MR_ViewportProperty_MR_Color_get_mut(MR_ViewportProperty_MR_Color *_this)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_unsigned_char *_other)
MRC_API void MR_ViewportProperty_unsigned_char_DestroyArray(const MR_ViewportProperty_unsigned_char *_this)
Destroys a heap-allocated array of MR_ViewportProperty_unsigned_char. Does nothing if the pointer is ...
MRC_API void MR_ViewportProperty_MR_Color_set_1(MR_ViewportProperty_MR_Color *_this, MR_Color def)
MRC_API MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_get_mut(MR_ViewportProperty_MR_Matrix3f *_this)
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)
MRC_API bool MR_equal_MR_ViewportProperty_MR_AffineXf3f(const MR_ViewportProperty_MR_AffineXf3f *_this, const MR_ViewportProperty_MR_AffineXf3f *_1)
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 const unsigned char * MR_ViewportProperty_unsigned_char_get_2(const MR_ViewportProperty_unsigned_char *_this, MR_ViewportId id, bool *isDef)
MRC_API const MR_XfBasedCache_MR_Box3f * MR_ViewportProperty_MR_XfBasedCache_MR_Box3f_get_0(const MR_ViewportProperty_MR_XfBasedCache_MR_Box3f *_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 const MR_Color * MR_ViewportProperty_MR_Color_get_2(const MR_ViewportProperty_MR_Color *_this, MR_ViewportId id, bool *isDef)
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 const MR_ViewportProperty_MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_OffsetPtr(const MR_ViewportProperty_MR_Vector4_unsigned_char *ptr, ptrdiff_t i)
MRC_API unsigned char * MR_ViewportProperty_unsigned_char_get_mut(MR_ViewportProperty_unsigned_char *_this)
MRC_API void MR_ViewportProperty_MR_AffineXf3f_set_2(MR_ViewportProperty_MR_AffineXf3f *_this, MR_AffineXf3f v, MR_ViewportId id)
MRC_API const MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_0(const MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API MR_ViewportProperty_MR_Matrix3f * MR_ViewportProperty_MR_Matrix3f_DefaultConstructArray(size_t num_elems)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_AssignFromAnother(MR_ViewportProperty_unsigned_char *_this, MR_PassBy _other_pass_by, MR_ViewportProperty_unsigned_char *_other)
MRC_API bool MR_ViewportProperty_MR_Vector4_unsigned_char_reset_1(MR_ViewportProperty_MR_Vector4_unsigned_char *_this, MR_ViewportId id)
MRC_API MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_mut(MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API bool MR_ViewportProperty_MR_Color_reset_1(MR_ViewportProperty_MR_Color *_this, MR_ViewportId id)
MRC_API void MR_ViewportProperty_MR_Vector4_unsigned_char_set_2(MR_ViewportProperty_MR_Vector4_unsigned_char *_this, const MR_Vector4_unsigned_char *v, MR_ViewportId id)
MRC_API bool MR_ViewportProperty_unsigned_char_reset_1(MR_ViewportProperty_unsigned_char *_this, MR_ViewportId id)
struct MR_ViewportProperty_MR_Matrix3f MR_ViewportProperty_MR_Matrix3f
Definition MRViewportProperty.h:55
MRC_API const MR_Color * MR_ViewportProperty_MR_Color_get_0(const MR_ViewportProperty_MR_Color *_this)
MRC_API void MR_ViewportProperty_unsigned_char_set_2(MR_ViewportProperty_unsigned_char *_this, unsigned char v, MR_ViewportId id)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_DefaultConstructArray(size_t num_elems)
MRC_API const MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_2(const MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id, bool *isDef)
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)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_DefaultConstruct(void)
MRC_API MR_ViewportProperty_unsigned_char * MR_ViewportProperty_unsigned_char_OffsetMutablePtr(MR_ViewportProperty_unsigned_char *ptr, ptrdiff_t i)
struct MR_XfBasedCache_MR_Box3f MR_XfBasedCache_MR_Box3f
Definition MRViewportProperty.h:18
MRC_API const MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get_0(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this)
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:23
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRMatrix3.h:68
Definition MRViewportId.h:17