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
25
30
35
40
45
50
54
59
62
65
69
74
77
80
85
90
96
101
107
112
120
126
132
136
141
144
147
151
156
159
162
167
172
178
183
189
194
202
208
214
218
223
226
229
233
238
241
244
249
254
260
265
271
276
284
290
296
300
305
308
311
315
320
323
326
331
337
343
348
354
360
368
374
380
384
389
392
395
399
404
407
410
415
421
427
432
438
444
452
458
464
468
473
476
479
483
488
491
494
499
504
510
515
521
526
534
540
546
547#ifdef __cplusplus
548} // extern "C"
549#endif
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRFeatureObject.h:32
struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char
Definition MRMatrix4.h:19
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRObject.h:44
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:44
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)
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRViewportProperty.h:34
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:39
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:49
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:19
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRMatrix3.h:59
Definition MRViewportId.h:17