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_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
23typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
24typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
25typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
28typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
29typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
30typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
31typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
33typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
34typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
35typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.h>`.
36typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
37typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
38typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
39typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
40typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
41typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
42typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
43
44
57
61
66
70
74
79
83
89
94
99
103
109
114
120
125
133
140
145
149
155
160
166
171
179
186
191
195
201
206
212
217
225
232
237
241
247
252
258
263
271
278
283
290
293
296
304
307
311
314
319
322
327
332
337
343
349
355
361
368
375
380MRC_API void MR_ConeObject_setHeight(MR_ConeObject *_this, float height, const MR_ViewportId *id);
381
386MRC_API void MR_ConeObject_setAngle(MR_ConeObject *_this, float angle, const MR_ViewportId *id);
387
393
399
400// Returns point considered as base for the feature
405
410
417
422
427
433
439
445
450
451// The cached orthonormalized rotation matrix.
452// `isDef` receives false if matrix is overridden for this specific viewport.
458
459// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
460// `isDef` receives false if matrix is overridden for this specific viewport.
466
467// This color is used for subfeatures.
468// `isDef` receives false if matrix is overridden for this specific viewport.
474MRC_API const MR_Color *MR_ConeObject_getDecorationsColor(const MR_ConeObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
475
480MRC_API void MR_ConeObject_setDecorationsColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
481
486
490
491// Point size and line width, for primary rendering rather than subfeatures.
495
499
503
507
508// Point size and line width, for subfeatures rather than primary rendering.
512
516
520
524
525// Per-component alpha multipliers. The global alpha is multiplied by thise.
529
533
537
541
545
549
553
557
563MRC_API void MR_ConeObject_setVisualizeProperty(MR_ConeObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
564
571
578
585
591
597
603
610
617
624MRC_API const MR_Color *MR_ConeObject_getFrontColor(const MR_ConeObject *_this, const bool *selected, const MR_ViewportId *viewportId);
625
631MRC_API void MR_ConeObject_setFrontColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
632
639
645
651
656
663
669MRC_API void MR_ConeObject_setBackColor(MR_ConeObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
670
676MRC_API const unsigned char *MR_ConeObject_getGlobalAlpha(const MR_ConeObject *_this, const MR_ViewportId *viewportId);
677
682MRC_API void MR_ConeObject_setGlobalAlpha(MR_ConeObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
683
689
694
701MRC_API void MR_ConeObject_setDirtyFlags(MR_ConeObject *_this, unsigned int mask, const bool *invalidateCaches);
702
707
712
716MRC_API void MR_ConeObject_resetDirtyExceptMask(const MR_ConeObject *_this, unsigned int mask);
717
722
729
734MRC_API bool MR_ConeObject_getRedrawFlag(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
735
741MRC_API bool MR_ConeObject_isPickable(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
742
748MRC_API void MR_ConeObject_setPickable(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
749
754
759
764
769
774
778MRC_API void MR_ConeObject_setSpecularStrength(MR_ConeObject *_this, float specularStrength);
779
784
788MRC_API void MR_ConeObject_setAmbientStrength(MR_ConeObject *_this, float ambientStrength);
789
796
802
808
813
819
825
830MRC_API void MR_ConeObject_setUseDefaultScenePropertiesOnDeserialization(MR_ConeObject *_this, bool useDefaultScenePropertiesOnDeserialization);
831
836
841
846
851MRC_API void MR_ConeObject_setName(MR_ConeObject *_this, const char *name, const char *name_end);
852
860MRC_API const MR_AffineXf3f *MR_ConeObject_xf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
861
867
872
880
886
890MRC_API void MR_ConeObject_applyScale(MR_ConeObject *_this, float scaleFactor);
891
897
904
911
916
920
926
930
934MRC_API bool MR_ConeObject_isAncestor(const MR_ConeObject *_this, const MR_Object *ancestor);
935
941
948
956MRC_API bool MR_ConeObject_addChild(MR_ConeObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
957
965
970
975
980
984
990
994
999
1005MRC_API void MR_ConeObject_setVisible(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
1006
1012MRC_API bool MR_ConeObject_isVisible(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
1013
1019
1025
1029
1035
1042
1050
1056
1061
1067
1074
1082MRC_API bool MR_ConeObject_addTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
1083
1090MRC_API bool MR_ConeObject_removeTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
1091
1092// return true if model of current object equals to model (the same) of other
1097
1098// return hash of model (or hash object pointer if object has no model)
1102
1103// returns this Object as shared_ptr
1104// finds it among its parent's recognized children
1109
1110#ifdef __cplusplus
1111} // extern "C"
1112#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:38
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:32
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:33
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ConstChildren MR_ConstChildren
Definition MRAddVisualPropertiesMixin.h:21
struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:34
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:29
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:36
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:39
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:31
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:74
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:25
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:35
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:28
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:27
struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:23
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:22
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 size_t MR_ConeObject_heapBytes(const MR_ConeObject *_this)
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 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:56
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 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 size_t MR_ConeObject_getModelHash(const MR_ConeObject *_this)
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 MR_ConstChildren * MR_ConeObject_constChildren(const MR_ConeObject *_this)
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:17
MR_PassBy
Definition common.h:13
#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