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
68
71
75
80
83
86
91
96
102
107
113
118
126
132
138
142
147
150
153
157
162
165
168
173
178
184
189
195
200
208
214
220
224
229
232
235
239
244
247
250
255
260
266
271
277
282
290
296
302
306
311
314
317
321
326
329
332
337
343
349
354
360
366
374
380
386
390
395
398
401
405
410
413
416
421
427
433
438
444
450
458
464
470
474
479
482
485
489
494
497
500
505
510
516
521
527
532
540
546
552
553#ifdef __cplusplus
554} // extern "C"
555#endif
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:35
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:34
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:33
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)
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_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 unsigned char * MR_ViewportProperty_unsigned_char_get_const_2(const MR_ViewportProperty_unsigned_char *_this, MR_ViewportId id, bool *isDef)
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 unsigned char * MR_ViewportProperty_unsigned_char_index(MR_ViewportProperty_unsigned_char *_this, MR_ViewportId id)
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_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get(MR_ViewportProperty_MR_Vector4_unsigned_char *_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 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:43
MRC_API bool MR_ViewportProperty_MR_AffineXf3f_reset_0(MR_ViewportProperty_MR_AffineXf3f *_this)
MRC_API const MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get_const_2(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this, MR_ViewportId id, bool *isDef)
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 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 MR_ViewportProperty_MR_Color * MR_ViewportProperty_MR_Color_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ViewportProperty_MR_Color *_other)
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 bool MR_ViewportProperty_MR_Vector4_unsigned_char_reset_0(MR_ViewportProperty_MR_Vector4_unsigned_char *_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_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)
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_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 const MR_AffineXf3f * MR_ViewportProperty_MR_AffineXf3f_get_const_0(const MR_ViewportProperty_MR_AffineXf3f *_this)
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)
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_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 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 const unsigned char * MR_ViewportProperty_unsigned_char_get_const_0(const MR_ViewportProperty_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)
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 unsigned char * MR_ViewportProperty_unsigned_char_get(MR_ViewportProperty_unsigned_char *_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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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 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 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_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 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 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)
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_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 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 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 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_const_2(const MR_ViewportProperty_MR_AffineXf3f *_this, MR_ViewportId id, bool *isDef)
MRC_API const MR_Vector4_unsigned_char * MR_ViewportProperty_MR_Vector4_unsigned_char_get_const_0(const MR_ViewportProperty_MR_Vector4_unsigned_char *_this)
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_XfBasedCache_MR_Box3f MR_XfBasedCache_MR_Box3f
Definition MRViewportProperty.h:18
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 exports.h:11
Definition MRAffineXf.h:39
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRMatrix3.h:68
Definition MRViewportId.h:17