MeshLib C Docs
Loading...
Searching...
No Matches
MRConeObject.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
20typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
21typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
22typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
23typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
24typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
27typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
28typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
29typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
30typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
31typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
33typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
34typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.h>`.
35typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
36typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
37typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
38typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
39typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
40typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
41typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
42
43
56
60
65
69
73
78
82
88
93
98
102
108
113
119
124
132
139
144
148
154
159
165
170
178
185
190
194
200
205
211
216
224
231
236
240
246
251
257
262
270
277
282
289
292
295
303
306
310
313
318
321
326
331
336
342
348
354
360
367
374
379MRC_API void MR_ConeObject_setHeight(MR_ConeObject *_this, float height, const MR_ViewportId *id);
380
385MRC_API void MR_ConeObject_setAngle(MR_ConeObject *_this, float angle, const MR_ViewportId *id);
386
392
398
399// Returns point considered as base for the feature
404
409
416
421
426
432
438
444
449
450// The cached orthonormalized rotation matrix.
451// `isDef` receives false if matrix is overridden for this specific viewport.
457
458// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
459// `isDef` receives false if matrix is overridden for this specific viewport.
465
466// This color is used for subfeatures.
467// `isDef` receives false if matrix is overridden for this specific viewport.
473MRC_API const MR_Color *MR_ConeObject_getDecorationsColor(const MR_ConeObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
474
479MRC_API void MR_ConeObject_setDecorationsColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
480
485
489
490// Point size and line width, for primary rendering rather than subfeatures.
494
498
502
506
507// Point size and line width, for subfeatures rather than primary rendering.
511
515
519
523
524// Per-component alpha multipliers. The global alpha is multiplied by thise.
528
532
536
540
544
548
552
556
562MRC_API void MR_ConeObject_setVisualizeProperty(MR_ConeObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
563
570
577
584
590
596
602
609
616
623MRC_API const MR_Color *MR_ConeObject_getFrontColor(const MR_ConeObject *_this, const bool *selected, const MR_ViewportId *viewportId);
624
630MRC_API void MR_ConeObject_setFrontColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
631
638
644
650
655
662
668MRC_API void MR_ConeObject_setBackColor(MR_ConeObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
669
675MRC_API const unsigned char *MR_ConeObject_getGlobalAlpha(const MR_ConeObject *_this, const MR_ViewportId *viewportId);
676
681MRC_API void MR_ConeObject_setGlobalAlpha(MR_ConeObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
682
688
693
700MRC_API void MR_ConeObject_setDirtyFlags(MR_ConeObject *_this, unsigned int mask, const bool *invalidateCaches);
701
706
711
715MRC_API void MR_ConeObject_resetDirtyExceptMask(const MR_ConeObject *_this, unsigned int mask);
716
721
728
733MRC_API bool MR_ConeObject_getRedrawFlag(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
734
740MRC_API bool MR_ConeObject_isPickable(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
741
747MRC_API void MR_ConeObject_setPickable(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
748
753
758
763
768
773
777MRC_API void MR_ConeObject_setSpecularStrength(MR_ConeObject *_this, float specularStrength);
778
783
787MRC_API void MR_ConeObject_setAmbientStrength(MR_ConeObject *_this, float ambientStrength);
788
795
801
807
812
818
824
829MRC_API void MR_ConeObject_setUseDefaultScenePropertiesOnDeserialization(MR_ConeObject *_this, bool useDefaultScenePropertiesOnDeserialization);
830
835
840
845
850MRC_API void MR_ConeObject_setName(MR_ConeObject *_this, const char *name, const char *name_end);
851
859MRC_API const MR_AffineXf3f *MR_ConeObject_xf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
860
866
871
879
885
889MRC_API void MR_ConeObject_applyScale(MR_ConeObject *_this, float scaleFactor);
890
896
903
910
915
919
925
929
933MRC_API bool MR_ConeObject_isAncestor(const MR_ConeObject *_this, const MR_Object *ancestor);
934
940
948MRC_API bool MR_ConeObject_addChild(MR_ConeObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
949
957
962
967
972
976
982
986
991
997MRC_API void MR_ConeObject_setVisible(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
998
1004MRC_API bool MR_ConeObject_isVisible(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
1005
1011
1017
1021
1027
1034
1042
1049
1054
1060
1067
1075MRC_API bool MR_ConeObject_addTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
1076
1083MRC_API bool MR_ConeObject_removeTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
1084
1085// return true if model of current object equals to model (the same) of other
1090
1091// return hash of model (or hash object pointer if object has no model)
1095
1096// returns this Object as shared_ptr
1097// finds it among its parent's recognized children
1102
1103#ifdef __cplusplus
1104} // extern "C"
1105#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_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:33
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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length
Definition MRAddVisualPropertiesMixin.h:56
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
MRC_API void MR_ConeObject_setSubfeatureLineWidth(MR_ConeObject *_this, float lineWidth)
MRC_API float MR_ConeObject_getSubfeatureAlphaPoints(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setBackColor(MR_ConeObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_ViewportMask * MR_ConeObject_globalClippedByPlaneMask(const MR_ConeObject *_this)
MRC_API MR_Box3f MR_ConeObject_getBoundingBox(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setDirtyFlags(MR_ConeObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFromOrFail_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API const char * MR_ConeObject_typeName(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setBackColorsForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const char * MR_ConeObject_StaticTypeName(void)
Generated from method MR::ConeObject::StaticTypeName.
MRC_API bool MR_ConeObject_select(MR_ConeObject *_this, bool on)
MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_ConeObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(const MR_ConeObject *object)
MRC_API const MR_ConeObject * MR_ConeObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_ConeObject_shallowClone(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setAngle(MR_ConeObject *_this, float angle, const MR_ViewportId *id)
MRC_API MR_ConeObject * MR_ConeObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API bool MR_ConeObject_supportsVisualizeProperty(const MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API bool MR_ConeObject_isAncestor(const MR_ConeObject *_this, const MR_Object *ancestor)
MRC_API MR_ConeObject * MR_ConeObject_DefaultConstruct(void)
MRC_API void MR_ConeObject_applyScale(MR_ConeObject *_this, float scaleFactor)
MRC_API void MR_ConeObject_removeAllChildren(MR_ConeObject *_this)
MRC_API void MR_ConeObject_setAmbientStrength(MR_ConeObject *_this, float ambientStrength)
MRC_API float MR_ConeObject_getAmbientStrength(const MR_ConeObject *_this)
MRC_API unsigned int MR_ConeObject_getDirtyFlags(const MR_ConeObject *_this)
MRC_API bool MR_ConeObject_removeTag(MR_ConeObject *_this, const char *tag, const char *tag_end)
MRC_API float MR_ConeObject_getSubfeatureAlphaLines(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setAncillary(MR_ConeObject *_this, bool ancillary)
MRC_API const MR_ConeObject * MR_ConeObject_StaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API void MR_ConeObject_setColoringType(MR_ConeObject *_this, MR_ColoringType coloringType)
MRC_API float MR_ConeObject_getSubfeaturePointSize(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setHeight(MR_ConeObject *_this, float height, const MR_ViewportId *id)
MRC_API void MR_ConeObject_setShininess(MR_ConeObject *_this, float shininess)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ConeObject_getGlobalAlphaForAllViewports(const MR_ConeObject *_this)
MRC_API const MR_std_set_std_string * MR_ConeObject_tags(const MR_ConeObject *_this)
MRC_API bool MR_ConeObject_globalClippedByPlane(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ConeObject_isGlobalAncillary(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setSubfeaturePointSize(MR_ConeObject *_this, float pointSize)
MRC_API const MR_ConeObject * MR_ConeObject_StaticDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API const MR_ViewportMask * MR_ConeObject_getVisualizePropertyMask(const MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ConeObject_setXf(MR_ConeObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API bool MR_ConeObject_getRedrawFlag(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_Color * MR_ConeObject_getBackColorsForAllViewports(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setDecorationsColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API bool MR_ConeObject_isLocked(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setDirection(MR_ConeObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id)
MRC_API MR_ColoringType MR_ConeObject_getColoringType(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableStaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API void MR_ConeObject_setSpecularStrength(MR_ConeObject *_this, float specularStrength)
MRC_API bool MR_ConeObject_addTag(MR_ConeObject *_this, const char *tag, const char *tag_end)
MRC_API const MR_Object * MR_ConeObject_UpcastTo_MR_Object(const MR_ConeObject *object)
MRC_API MR_std_vector_MR_ViewportMask * MR_ConeObject_getAllVisualizeProperties(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setLocked(MR_ConeObject *_this, bool on)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API void MR_ConeObject_setGlobalAlphaForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API const MR_Color * MR_ConeObject_getBackColor(const MR_ConeObject *_this, const MR_ViewportId *viewportId)
MRC_API float MR_ConeObject_getMainFeatureAlpha(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_swap(MR_ConeObject *_this, MR_Object *other)
MRC_API const char * MR_ConeObject_StaticClassName(void)
Generated from method MR::ConeObject::StaticClassName.
MRC_API float MR_ConeObject_getAngle(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API void MR_ConeObject_setPointSize(MR_ConeObject *_this, float pointSize)
MRC_API float MR_ConeObject_getShininess(const MR_ConeObject *_this)
MRC_API MR_Matrix3f MR_ConeObject_getRotationMatrix(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_Vector3f MR_ConeObject_getCenter(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API void MR_ConeObject_setPickable(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_Matrix3f MR_ConeObject_getScaleShearMatrix(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_FeatureObject * MR_ConeObject_UpcastTo_MR_FeatureObject(const MR_ConeObject *object)
MRC_API const MR_ConeObject * MR_ConeObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API float MR_ConeObject_getSubfeatureAlphaMesh(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setGlobalVisibility(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ConeObject_setName(MR_ConeObject *_this, const char *name, const char *name_end)
MRC_API void MR_ConeObject_renderForPicker(const MR_ConeObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API MR_Vector3f MR_ConeObject_getBasePoint(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API MR_std_optional_MR_Vector3f * MR_ConeObject_getNormal(const MR_ConeObject *_this, const MR_Vector3f *point)
MRC_API MR_ConeObject * MR_ConeObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_ConeObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(MR_ConeObject *object)
MRC_API float MR_ConeObject_getLineWidth(const MR_ConeObject *_this)
MRC_API const MR_ConeObject * MR_ConeObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API void MR_ConeObject_setFrontColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_FeatureObjectProjectPointResult * MR_ConeObject_projectPoint(const MR_ConeObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API MR_ConeObject * MR_ConeObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API bool MR_ConeObject_isSelected(const MR_ConeObject *_this)
MRC_API bool MR_ConeObject_sameModels(const MR_ConeObject *_this, const MR_Object *other)
MRC_API const MR_VisualObject * MR_ConeObject_UpcastTo_MR_VisualObject(const MR_ConeObject *object)
MRC_API float MR_ConeObject_getBaseRadius(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ConeObject_resetRedrawFlag(const MR_ConeObject *_this)
MRC_API MR_Vector3f MR_ConeObject_getDirection(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API void MR_ConeObject_DestroyArray(const MR_ConeObject *_this)
Destroys a heap-allocated array of MR_ConeObject. Does nothing if the pointer is null.
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ConeObject_xfsForAllViewports(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_resetDirty(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_OffsetMutablePtr(MR_ConeObject *ptr, ptrdiff_t i)
MRC_API const char * MR_ConeObject_StaticClassNameInPlural(void)
Generated from method MR::ConeObject::StaticClassNameInPlural.
MRC_API MR_uint64_t MR_ConeObject_getModelHash(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_toggleVisualizeProperty(MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API MR_VisualObject * MR_ConeObject_MutableUpcastTo_MR_VisualObject(MR_ConeObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_ConeObject_clone(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setFrontColorsForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API void MR_ConeObject_resetFrontColor(MR_ConeObject *_this)
MRC_API MR_std_vector_std_string * MR_ConeObject_getInfoLines(const MR_ConeObject *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ConeObject_getDecorationsColorForAllViewports(const MR_ConeObject *_this, bool selected)
MRC_API bool MR_ConeObject_isPickable(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ConeObject_setWorldXf(MR_ConeObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_FeatureObject * MR_ConeObject_MutableUpcastTo_MR_FeatureObject(MR_ConeObject *object)
MRC_API const MR_ViewportProperty_MR_Color * MR_ConeObject_getFrontColorsForAllViewports(const MR_ConeObject *_this, const bool *selected)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
struct MR_ConeObject MR_ConeObject
Definition MRConeObject.h:55
MRC_API bool MR_ConeObject_globalVisibility(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ConeObject_getSpecularStrength(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setParentLocked(MR_ConeObject *_this, bool lock)
MRC_API void MR_ConeObject_setBaseRadius(MR_ConeObject *_this, float radius, const MR_ViewportId *id)
MRC_API bool MR_ConeObject_render(const MR_ConeObject *_this, const MR_ModelRenderParams *_1)
MRC_API bool MR_ConeObject_detachFromParent(MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFromOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API MR_ConeObject * MR_ConeObject_DefaultConstructArray(size_t num_elems)
MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_ConeObject_getAllSharedProperties(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setGlobalClippedByPlane(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ConeObject_isParentLocked(const MR_ConeObject *_this)
MRC_API MR_Box3f MR_ConeObject_getWorldTreeBox(const MR_ConeObject *_this, const MR_ViewportId *_1)
MRC_API MR_ConeObject * MR_ConeObject_AssignFromAnother(MR_ConeObject *_this, MR_PassBy _other_pass_by, MR_ConeObject *_other)
MRC_API void MR_ConeObject_setSubfeatureAlphaLines(MR_ConeObject *_this, float alpha)
MRC_API MR_uint64_t MR_ConeObject_heapBytes(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setCenter(MR_ConeObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
MRC_API const MR_Color * MR_ConeObject_getFrontColor(const MR_ConeObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API bool MR_ConeObject_isAncillary(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableStaticDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API bool MR_ConeObject_addChild(MR_ConeObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API const MR_Color * MR_ConeObject_getDecorationsColor(const MR_ConeObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API const MR_AffineXf3f * MR_ConeObject_xf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_ConeObject_resetColors(MR_ConeObject *_this)
MRC_API bool MR_ConeObject_hasModel(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_sortChildren(MR_ConeObject *_this)
MRC_API MR_AffineXf3f MR_ConeObject_worldXf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API bool MR_ConeObject_getVisualizeProperty(const MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ConeObject_copyAllSolidColors(MR_ConeObject *_this, const MR_VisualObject *other)
MRC_API void MR_ConeObject_setLineWidth(MR_ConeObject *_this, float lineWidth)
MRC_API MR_std_string * MR_ConeObject_classNameInPlural(const MR_ConeObject *_this)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFromOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length *object)
MRC_API bool MR_ConeObject_isVisible(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ConeObject_renderUi(const MR_ConeObject *_this, const MR_UiRenderParams *params)
MRC_API MR_std_shared_ptr_MR_Object * MR_ConeObject_shallowCloneTree(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setVisualizePropertyMask(MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_ConeObject_getSharedPtr(const MR_ConeObject *_this)
MRC_API const MR_std_string * MR_ConeObject_name(const MR_ConeObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ConeObject_cloneTree(const MR_ConeObject *_this)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ConeObject_setVisualizeProperty(MR_ConeObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ConeObject_setSubfeatureAlphaPoints(MR_ConeObject *_this, float alpha)
MRC_API void MR_ConeObject_setGlobalAlpha(MR_ConeObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API bool MR_ConeObject_addChildBefore(MR_ConeObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API MR_std_string * MR_ConeObject_className(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject(MR_FeatureObject *object)
MRC_API bool MR_ConeObject_hasVisualRepresentation(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API MR_Object * MR_ConeObject_MutableUpcastTo_MR_Object(MR_ConeObject *object)
MRC_API float MR_ConeObject_getPointSize(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_Destroy(const MR_ConeObject *_this)
Destroys a heap-allocated instance of MR_ConeObject. Does nothing if the pointer is null.
MRC_API void MR_ConeObject_setXfsForAllViewports(MR_ConeObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API float MR_ConeObject_getSubfeatureLineWidth(const MR_ConeObject *_this)
MRC_API bool MR_ConeObject_useDefaultScenePropertiesOnDeserialization(const MR_ConeObject *_this)
MRC_API void MR_ConeObject_setVisibilityMask(MR_ConeObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ConeObject * MR_ConeObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API MR_ViewportMask * MR_ConeObject_visibilityMask(const MR_ConeObject *_this)
MRC_API MR_Box3f MR_ConeObject_getWorldBox(const MR_ConeObject *_this, const MR_ViewportId *_1)
MRC_API void MR_ConeObject_setSubfeatureAlphaMesh(MR_ConeObject *_this, float alpha)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_ViewportMask * MR_ConeObject_globalVisibilityMask(const MR_ConeObject *_this)
MRC_API MR_ConeObject * MR_ConeObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API MR_ConeObject * MR_ConeObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ConeObject *_other)
MRC_API const MR_ConeObject * MR_ConeObject_OffsetPtr(const MR_ConeObject *ptr, ptrdiff_t i)
MRC_API MR_ObjectChildrenHolder * MR_ConeObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ConeObject *object)
MRC_API void MR_ConeObject_setAllVisualizeProperties(MR_ConeObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API const MR_ObjectChildrenHolder * MR_ConeObject_UpcastTo_MR_ObjectChildrenHolder(const MR_ConeObject *object)
MRC_API void MR_ConeObject_resetXf(MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API void MR_ConeObject_setDecorationsColorForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API void MR_ConeObject_setUseDefaultScenePropertiesOnDeserialization(MR_ConeObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API const MR_ConeObject * MR_ConeObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API void MR_ConeObject_setVisible(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const unsigned char * MR_ConeObject_getGlobalAlpha(const MR_ConeObject *_this, const MR_ViewportId *viewportId)
MRC_API float MR_ConeObject_getHeight(const MR_ConeObject *_this, const MR_ViewportId *id)
MRC_API void MR_ConeObject_resetDirtyExceptMask(const MR_ConeObject *_this, unsigned int mask)
MRC_API void MR_ConeObject_setMainFeatureAlpha(MR_ConeObject *_this, float alpha)
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
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