MeshLib C Docs
Loading...
Searching...
No Matches
MRPlaneObject.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRBox.h>
5#include <MRCMesh/MREnums.h>
6#include <MRCMesh/MRMatrix3.h>
7#include <MRCMesh/MRVector3.h>
9#include <MRCMisc/common.h>
10#include <MRCMisc/exports.h>
11
12#include <stdbool.h>
13#include <stddef.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
20typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
21typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
22typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
23typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
24typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
26typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
27typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
28typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
29typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
30typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
31typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
33typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
34typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
35typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
36typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
37typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
38typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
39typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
40
41
53
57
62
66
70
75
79
85
90
95
99
105
110
116
121
129
136
141
145
151
156
162
167
175
182
187
191
197
202
208
213
221
228
233
240
243
246
254
257
261
264
269
272
277
282
287
293
299
306
313
318MRC_API void MR_PlaneObject_setSize(MR_PlaneObject *_this, float size, const MR_ViewportId *id);
319
325
330
335
341
346
351
352// Returns point considered as base for the feature
357
364
369
374
379
385
391
396
397// The cached orthonormalized rotation matrix.
398// `isDef` receives false if matrix is overridden for this specific viewport.
404
405// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
406// `isDef` receives false if matrix is overridden for this specific viewport.
412
413// This color is used for subfeatures.
414// `isDef` receives false if matrix is overridden for this specific viewport.
420MRC_API const MR_Color *MR_PlaneObject_getDecorationsColor(const MR_PlaneObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
421
426MRC_API void MR_PlaneObject_setDecorationsColor(MR_PlaneObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
427
432
436
437// Point size and line width, for primary rendering rather than subfeatures.
441
445
449
453
454// Point size and line width, for subfeatures rather than primary rendering.
458
462
466
470
471// Per-component alpha multipliers. The global alpha is multiplied by thise.
475
479
483
487
491
495
499
503
510
517
524
531
537
543
549
556
563
570MRC_API const MR_Color *MR_PlaneObject_getFrontColor(const MR_PlaneObject *_this, const bool *selected, const MR_ViewportId *viewportId);
571
577MRC_API void MR_PlaneObject_setFrontColor(MR_PlaneObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
578
585
591
597
602
609
615MRC_API void MR_PlaneObject_setBackColor(MR_PlaneObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
616
622MRC_API const unsigned char *MR_PlaneObject_getGlobalAlpha(const MR_PlaneObject *_this, const MR_ViewportId *viewportId);
623
628MRC_API void MR_PlaneObject_setGlobalAlpha(MR_PlaneObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
629
635
640
647MRC_API void MR_PlaneObject_setDirtyFlags(MR_PlaneObject *_this, unsigned int mask, const bool *invalidateCaches);
648
653
658
662MRC_API void MR_PlaneObject_resetDirtyExceptMask(const MR_PlaneObject *_this, unsigned int mask);
663
668
675
681
687MRC_API bool MR_PlaneObject_isPickable(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask);
688
694MRC_API void MR_PlaneObject_setPickable(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask);
695
700
705
710
715
720
724MRC_API void MR_PlaneObject_setSpecularStrength(MR_PlaneObject *_this, float specularStrength);
725
730
734MRC_API void MR_PlaneObject_setAmbientStrength(MR_PlaneObject *_this, float ambientStrength);
735
742
748
754
759
765
771
776MRC_API void MR_PlaneObject_setUseDefaultScenePropertiesOnDeserialization(MR_PlaneObject *_this, bool useDefaultScenePropertiesOnDeserialization);
777
782
787
792
797MRC_API void MR_PlaneObject_setName(MR_PlaneObject *_this, const char *name, const char *name_end);
798
806MRC_API const MR_AffineXf3f *MR_PlaneObject_xf(const MR_PlaneObject *_this, const MR_ViewportId *id, bool *isDef);
807
813
818
826
832
836MRC_API void MR_PlaneObject_applyScale(MR_PlaneObject *_this, float scaleFactor);
837
843
850
857
862
866
872
876
880MRC_API bool MR_PlaneObject_isAncestor(const MR_PlaneObject *_this, const MR_Object *ancestor);
881
887
895MRC_API bool MR_PlaneObject_addChild(MR_PlaneObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
896
904
909
914
919
923
929
933
938
944MRC_API void MR_PlaneObject_setVisible(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask);
945
951MRC_API bool MR_PlaneObject_isVisible(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask);
952
958
964
968
974
981
989
996
1001
1007
1014
1022MRC_API bool MR_PlaneObject_addTag(MR_PlaneObject *_this, const char *tag, const char *tag_end);
1023
1030MRC_API bool MR_PlaneObject_removeTag(MR_PlaneObject *_this, const char *tag, const char *tag_end);
1031
1032// return true if model of current object equals to model (the same) of other
1037
1038// return hash of model (or hash object pointer if object has no model)
1042
1043// returns this Object as shared_ptr
1044// finds it among its parent's recognized children
1049
1050#ifdef __cplusplus
1051} // extern "C"
1052#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:23
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:37
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:31
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:32
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:28
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:35
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:38
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:34
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:27
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:29
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:26
struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:22
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:21
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:25
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_ColoringType
Definition MREnums.h:94
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:18
MRC_API void MR_PlaneObject_setCenter(MR_PlaneObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_AffineXf3f * MR_PlaneObject_xf(const MR_PlaneObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_ObjectChildrenHolder * MR_PlaneObject_UpcastTo_MR_ObjectChildrenHolder(const MR_PlaneObject *object)
MRC_API const MR_FeatureObject * MR_PlaneObject_UpcastTo_MR_FeatureObject(const MR_PlaneObject *object)
MRC_API MR_PlaneObject * MR_PlaneObject_DefaultConstructArray(size_t num_elems)
MRC_API const MR_ViewportProperty_MR_Color * MR_PlaneObject_getBackColorsForAllViewports(const MR_PlaneObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PlaneObject_shallowClone(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_resetDirtyExceptMask(const MR_PlaneObject *_this, unsigned int mask)
MRC_API MR_FeatureObjectProjectPointResult * MR_PlaneObject_projectPoint(const MR_PlaneObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API const MR_std_string * MR_PlaneObject_name(const MR_PlaneObject *_this)
MRC_API bool MR_PlaneObject_addChild(MR_PlaneObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API bool MR_PlaneObject_addTag(MR_PlaneObject *_this, const char *tag, const char *tag_end)
MRC_API MR_ObjectChildrenHolder * MR_PlaneObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_PlaneObject *object)
MRC_API MR_Box3f MR_PlaneObject_getBoundingBox(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setGlobalVisibility(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_setXfsForAllViewports(MR_PlaneObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API bool MR_PlaneObject_sameModels(const MR_PlaneObject *_this, const MR_Object *other)
MRC_API void MR_PlaneObject_setAmbientStrength(MR_PlaneObject *_this, float ambientStrength)
MRC_API float MR_PlaneObject_getSizeX(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API void MR_PlaneObject_setLineWidth(MR_PlaneObject *_this, float lineWidth)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API const char * MR_PlaneObject_StaticClassName(void)
Generated from method MR::PlaneObject::StaticClassName.
MRC_API MR_PlaneObject * MR_PlaneObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_PlaneObject_resetFrontColor(MR_PlaneObject *_this)
MRC_API MR_std_vector_std_string * MR_PlaneObject_getInfoLines(const MR_PlaneObject *_this)
MRC_API const MR_Object * MR_PlaneObject_UpcastTo_MR_Object(const MR_PlaneObject *object)
MRC_API MR_Matrix3f MR_PlaneObject_getRotationMatrix(const MR_PlaneObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_PlaneObject_xfsForAllViewports(const MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_PlaneObject_getRedrawFlag(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_Vector3f MR_PlaneObject_getBasePoint(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API MR_Vector3f MR_PlaneObject_getCenter(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API void MR_PlaneObject_setVisualizeProperty(MR_PlaneObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_Box3f MR_PlaneObject_getWorldTreeBox(const MR_PlaneObject *_this, const MR_ViewportId *_1)
MRC_API const MR_ViewportProperty_MR_Color * MR_PlaneObject_getFrontColorsForAllViewports(const MR_PlaneObject *_this, const bool *selected)
MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_PlaneObject_getAllSharedProperties(const MR_PlaneObject *_this)
MRC_API bool MR_PlaneObject_isLocked(const MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_DefaultConstruct(void)
MRC_API bool MR_PlaneObject_getVisualizeProperty(const MR_PlaneObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFromOrFail_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API const MR_Color * MR_PlaneObject_getFrontColor(const MR_PlaneObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API void MR_PlaneObject_resetDirty(const MR_PlaneObject *_this)
MRC_API MR_uint64_t MR_PlaneObject_getModelHash(const MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableStaticDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API MR_Object * MR_PlaneObject_MutableUpcastTo_MR_Object(MR_PlaneObject *object)
MRC_API void MR_PlaneObject_setNormal(MR_PlaneObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id)
MRC_API MR_PlaneObject * MR_PlaneObject_OffsetMutablePtr(MR_PlaneObject *ptr, ptrdiff_t i)
MRC_API void MR_PlaneObject_setName(MR_PlaneObject *_this, const char *name, const char *name_end)
MRC_API void MR_PlaneObject_setShininess(MR_PlaneObject *_this, float shininess)
MRC_API bool MR_PlaneObject_select(MR_PlaneObject *_this, bool on)
MRC_API MR_uint64_t MR_PlaneObject_heapBytes(const MR_PlaneObject *_this)
MRC_API const MR_PlaneObject * MR_PlaneObject_StaticDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API void MR_PlaneObject_setVisualizePropertyMask(MR_PlaneObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_setAncillary(MR_PlaneObject *_this, bool ancillary)
MRC_API void MR_PlaneObject_setParentLocked(MR_PlaneObject *_this, bool lock)
MRC_API float MR_PlaneObject_getSize(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API const MR_Color * MR_PlaneObject_getBackColor(const MR_PlaneObject *_this, const MR_ViewportId *viewportId)
MRC_API void MR_PlaneObject_setSubfeaturePointSize(MR_PlaneObject *_this, float pointSize)
MRC_API float MR_PlaneObject_getLineWidth(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setSpecularStrength(MR_PlaneObject *_this, float specularStrength)
MRC_API void MR_PlaneObject_setSubfeatureAlphaLines(MR_PlaneObject *_this, float alpha)
MRC_API const MR_Color * MR_PlaneObject_getDecorationsColor(const MR_PlaneObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API void MR_PlaneObject_setPointSize(MR_PlaneObject *_this, float pointSize)
MRC_API const MR_ViewportProperty_unsigned_char * MR_PlaneObject_getGlobalAlphaForAllViewports(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_resetRedrawFlag(const MR_PlaneObject *_this)
MRC_API float MR_PlaneObject_getSubfeaturePointSize(const MR_PlaneObject *_this)
MRC_API float MR_PlaneObject_getSpecularStrength(const MR_PlaneObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PlaneObject_clone(const MR_PlaneObject *_this)
MRC_API float MR_PlaneObject_getMainFeatureAlpha(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_Destroy(const MR_PlaneObject *_this)
Destroys a heap-allocated instance of MR_PlaneObject. Does nothing if the pointer is null.
MRC_API float MR_PlaneObject_getSubfeatureAlphaMesh(const MR_PlaneObject *_this)
MRC_API MR_std_string * MR_PlaneObject_className(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setSubfeatureAlphaPoints(MR_PlaneObject *_this, float alpha)
MRC_API void MR_PlaneObject_setLocked(MR_PlaneObject *_this, bool on)
MRC_API const MR_ViewportMask * MR_PlaneObject_getVisualizePropertyMask(const MR_PlaneObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API float MR_PlaneObject_getPointSize(const MR_PlaneObject *_this)
MRC_API MR_FeatureObject * MR_PlaneObject_MutableUpcastTo_MR_FeatureObject(MR_PlaneObject *object)
MRC_API void MR_PlaneObject_applyScale(MR_PlaneObject *_this, float scaleFactor)
MRC_API void MR_PlaneObject_setDirtyFlags(MR_PlaneObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API void MR_PlaneObject_setSubfeatureLineWidth(MR_PlaneObject *_this, float lineWidth)
MRC_API bool MR_PlaneObject_useDefaultScenePropertiesOnDeserialization(const MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API MR_std_vector_MR_ViewportMask * MR_PlaneObject_getAllVisualizeProperties(const MR_PlaneObject *_this)
MRC_API const MR_PlaneObject * MR_PlaneObject_OffsetPtr(const MR_PlaneObject *ptr, ptrdiff_t i)
MRC_API void MR_PlaneObject_setSubfeatureAlphaMesh(MR_PlaneObject *_this, float alpha)
MRC_API void MR_PlaneObject_renderUi(const MR_PlaneObject *_this, const MR_UiRenderParams *params)
MRC_API void MR_PlaneObject_setBackColor(MR_PlaneObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_PlaneObject_cloneTree(const MR_PlaneObject *_this)
MRC_API const MR_PlaneObject * MR_PlaneObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_PlaneObject_isPickable(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_PlaneObject_resetColors(MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API MR_std_string * MR_PlaneObject_classNameInPlural(const MR_PlaneObject *_this)
MRC_API MR_ColoringType MR_PlaneObject_getColoringType(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setSizeY(MR_PlaneObject *_this, float size, const MR_ViewportId *id)
MRC_API bool MR_PlaneObject_hasModel(const MR_PlaneObject *_this)
MRC_API const char * MR_PlaneObject_typeName(const MR_PlaneObject *_this)
MRC_API const MR_VisualObject * MR_PlaneObject_UpcastTo_MR_VisualObject(const MR_PlaneObject *object)
MRC_API void MR_PlaneObject_setBackColorsForAllViewports(MR_PlaneObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API float MR_PlaneObject_getShininess(const MR_PlaneObject *_this)
MRC_API MR_AffineXf3f MR_PlaneObject_worldXf(const MR_PlaneObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API float MR_PlaneObject_getSubfeatureAlphaLines(const MR_PlaneObject *_this)
MRC_API MR_Vector3f MR_PlaneObject_getNormal(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject(MR_FeatureObject *object)
MRC_API bool MR_PlaneObject_globalVisibility(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const unsigned char * MR_PlaneObject_getGlobalAlpha(const MR_PlaneObject *_this, const MR_ViewportId *viewportId)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API MR_PlaneObject * MR_PlaneObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PlaneObject *_other)
MRC_API void MR_PlaneObject_setFrontColor(MR_PlaneObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
struct MR_PlaneObject MR_PlaneObject
Definition MRPlaneObject.h:52
MRC_API float MR_PlaneObject_getSubfeatureAlphaPoints(const MR_PlaneObject *_this)
MRC_API float MR_PlaneObject_getAmbientStrength(const MR_PlaneObject *_this)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_PlaneObject_addChildBefore(MR_PlaneObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API MR_Matrix3f MR_PlaneObject_getScaleShearMatrix(const MR_PlaneObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_ViewportMask * MR_PlaneObject_globalClippedByPlaneMask(const MR_PlaneObject *_this)
MRC_API MR_Box3f MR_PlaneObject_getWorldBox(const MR_PlaneObject *_this, const MR_ViewportId *_1)
MRC_API void MR_PlaneObject_resetXf(MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API MR_ViewportMask * MR_PlaneObject_visibilityMask(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setMainFeatureAlpha(MR_PlaneObject *_this, float alpha)
MRC_API void MR_PlaneObject_setGlobalAlpha(MR_PlaneObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API bool MR_PlaneObject_globalClippedByPlane(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PlaneObject * MR_PlaneObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API void MR_PlaneObject_setXf(MR_PlaneObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_PlaneObject_setVisibilityMask(MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_copyAllSolidColors(MR_PlaneObject *_this, const MR_VisualObject *other)
MRC_API unsigned int MR_PlaneObject_getDirtyFlags(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_swap(MR_PlaneObject *_this, MR_Object *other)
MRC_API float MR_PlaneObject_getSizeY(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API bool MR_PlaneObject_isAncillary(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setGlobalClippedByPlane(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_setPickable(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_PlaneObject_getSharedPtr(const MR_PlaneObject *_this)
MRC_API bool MR_PlaneObject_isSelected(const MR_PlaneObject *_this)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API bool MR_PlaneObject_removeTag(MR_PlaneObject *_this, const char *tag, const char *tag_end)
MRC_API bool MR_PlaneObject_isAncestor(const MR_PlaneObject *_this, const MR_Object *ancestor)
MRC_API const MR_PlaneObject * MR_PlaneObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_PlaneObject_isVisible(const MR_PlaneObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_renderForPicker(const MR_PlaneObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_PlaneObject_setUseDefaultScenePropertiesOnDeserialization(MR_PlaneObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API MR_VisualObject * MR_PlaneObject_MutableUpcastTo_MR_VisualObject(MR_PlaneObject *object)
MRC_API bool MR_PlaneObject_detachFromParent(MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_removeAllChildren(MR_PlaneObject *_this)
MRC_API const char * MR_PlaneObject_StaticTypeName(void)
Generated from method MR::PlaneObject::StaticTypeName.
MRC_API void MR_PlaneObject_setFrontColorsForAllViewports(MR_PlaneObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API const MR_ViewportProperty_MR_Color * MR_PlaneObject_getDecorationsColorForAllViewports(const MR_PlaneObject *_this, bool selected)
MRC_API void MR_PlaneObject_setAllVisualizeProperties(MR_PlaneObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_PlaneObject_setVisible(MR_PlaneObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PlaneObject_setSize(MR_PlaneObject *_this, float size, const MR_ViewportId *id)
MRC_API void MR_PlaneObject_setDecorationsColor(MR_PlaneObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API bool MR_PlaneObject_hasVisualRepresentation(const MR_PlaneObject *_this)
MRC_API bool MR_PlaneObject_render(const MR_PlaneObject *_this, const MR_ModelRenderParams *_1)
MRC_API void MR_PlaneObject_setColoringType(MR_PlaneObject *_this, MR_ColoringType coloringType)
MRC_API float MR_PlaneObject_getSubfeatureLineWidth(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_toggleVisualizeProperty(MR_PlaneObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_PlaneObject * MR_PlaneObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API void MR_PlaneObject_sortChildren(MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_setSizeX(MR_PlaneObject *_this, float size, const MR_ViewportId *id)
MRC_API bool MR_PlaneObject_isGlobalAncillary(const MR_PlaneObject *_this)
MRC_API MR_ViewportMask * MR_PlaneObject_globalVisibilityMask(const MR_PlaneObject *_this)
MRC_API MR_Matrix3f MR_PlaneObject_calcLocalBasis(const MR_PlaneObject *_this, const MR_ViewportId *id)
MRC_API MR_PlaneObject * MR_PlaneObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API bool MR_PlaneObject_supportsVisualizeProperty(const MR_PlaneObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const MR_PlaneObject * MR_PlaneObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API bool MR_PlaneObject_isParentLocked(const MR_PlaneObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PlaneObject_shallowCloneTree(const MR_PlaneObject *_this)
MRC_API const char * MR_PlaneObject_StaticClassNameInPlural(void)
Generated from method MR::PlaneObject::StaticClassNameInPlural.
MRC_API void MR_PlaneObject_setDecorationsColorForAllViewports(MR_PlaneObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API const MR_std_set_std_string * MR_PlaneObject_tags(const MR_PlaneObject *_this)
MRC_API void MR_PlaneObject_DestroyArray(const MR_PlaneObject *_this)
Destroys a heap-allocated array of MR_PlaneObject. Does nothing if the pointer is null.
MRC_API void MR_PlaneObject_setGlobalAlphaForAllViewports(MR_PlaneObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API void MR_PlaneObject_setWorldXf(MR_PlaneObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_PlaneObject * MR_PlaneObject_AssignFromAnother(MR_PlaneObject *_this, MR_PassBy _other_pass_by, MR_PlaneObject *_other)
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Definition MRBox.h:107
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRMatrix3.h:68
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRViewportId.h:17