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
108
113
119
124
132
138
144
148
153
157
161
166
172
175
178
185
190
196
201
207
212
220
226
232
236
241
245
249
254
260
263
266
273
278
284
289
295
300
308
314
320
324
329
333
337
342
348
351
354
361
367
373
378
384
390
398
404
410
414
419
423
427
432
438
441
444
451
457
463
468
474
480
488
494
500
504
509
513
517
522
528
531
534
541
546
552
557
563
568
576
582
588
589#ifdef __cplusplus
590} // extern "C"
591#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)
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)
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)
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)
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)
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 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)
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)
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_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)
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)
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)
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