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
68MRC_API const MR_ConeObject *MR_ConeObject_OffsetPtr(const MR_ConeObject *ptr, ptrdiff_t i);
69
73
78
82
87
91
96
100
105
109
114
118
122MRC_API MR_ConeObject *MR_ConeObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ConeObject *_other);
123
130
132MRC_API void MR_ConeObject_Destroy(const MR_ConeObject *_this);
133
135MRC_API void MR_ConeObject_DestroyArray(const MR_ConeObject *_this);
136
143MRC_API MR_ConeObject *MR_ConeObject_AssignFromAnother(MR_ConeObject *_this, MR_PassBy _other_pass_by, MR_ConeObject *_other);
144
146MRC_API const char *MR_ConeObject_StaticTypeName(void);
147
150MRC_API const char *MR_ConeObject_typeName(const MR_ConeObject *_this);
151
153MRC_API const char *MR_ConeObject_StaticClassName(void);
154
159
162
167
172
177
182MRC_API float MR_ConeObject_getAngle(const MR_ConeObject *_this, const MR_ViewportId *id);
183
189
194MRC_API float MR_ConeObject_getHeight(const MR_ConeObject *_this, const MR_ViewportId *id);
195
201
207MRC_API void MR_ConeObject_setCenter(MR_ConeObject *_this, const MR_Vector3f *center, const MR_ViewportId *id);
208
214MRC_API void MR_ConeObject_setDirection(MR_ConeObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id);
215
220MRC_API void MR_ConeObject_setHeight(MR_ConeObject *_this, float height, const MR_ViewportId *id);
221
226MRC_API void MR_ConeObject_setAngle(MR_ConeObject *_this, float angle, const MR_ViewportId *id);
227
232MRC_API float MR_ConeObject_getBaseRadius(const MR_ConeObject *_this, const MR_ViewportId *id);
233
238MRC_API void MR_ConeObject_setBaseRadius(MR_ConeObject *_this, float radius, const MR_ViewportId *id);
239
240// Returns point considered as base for the feature
245
250
257
262
267
273
279
284MRC_API void MR_ConeObject_setXf(MR_ConeObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
285
289MRC_API void MR_ConeObject_resetXf(MR_ConeObject *_this, const MR_ViewportId *id);
290
291// The cached orthonormalized rotation matrix.
292// `isDef` receives false if matrix is overridden for this specific viewport.
297MRC_API MR_Matrix3f MR_ConeObject_getRotationMatrix(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
298
299// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
300// `isDef` receives false if matrix is overridden for this specific viewport.
305MRC_API MR_Matrix3f MR_ConeObject_getScaleShearMatrix(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
306
307// This color is used for subfeatures.
308// `isDef` receives false if matrix is overridden for this specific viewport.
314MRC_API const MR_Color *MR_ConeObject_getDecorationsColor(const MR_ConeObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
315
320MRC_API void MR_ConeObject_setDecorationsColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
321
326
329MRC_API void MR_ConeObject_setDecorationsColorForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected);
330
331// Point size and line width, for primary rendering rather than subfeatures.
334MRC_API float MR_ConeObject_getPointSize(const MR_ConeObject *_this);
335
338MRC_API float MR_ConeObject_getLineWidth(const MR_ConeObject *_this);
339
342MRC_API void MR_ConeObject_setPointSize(MR_ConeObject *_this, float pointSize);
343
346MRC_API void MR_ConeObject_setLineWidth(MR_ConeObject *_this, float lineWidth);
347
348// Point size and line width, for subfeatures rather than primary rendering.
352
356
359MRC_API void MR_ConeObject_setSubfeaturePointSize(MR_ConeObject *_this, float pointSize);
360
363MRC_API void MR_ConeObject_setSubfeatureLineWidth(MR_ConeObject *_this, float lineWidth);
364
365// Per-component alpha multipliers. The global alpha is multiplied by thise.
369
373
377
381
384MRC_API void MR_ConeObject_setMainFeatureAlpha(MR_ConeObject *_this, float alpha);
385
389
392MRC_API void MR_ConeObject_setSubfeatureAlphaLines(MR_ConeObject *_this, float alpha);
393
396MRC_API void MR_ConeObject_setSubfeatureAlphaMesh(MR_ConeObject *_this, float alpha);
397
403MRC_API void MR_ConeObject_setVisualizeProperty(MR_ConeObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
404
411
417MRC_API bool MR_ConeObject_getVisualizeProperty(const MR_ConeObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
418
425
431
437
443
449MRC_API bool MR_ConeObject_globalClippedByPlane(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
450
456MRC_API void MR_ConeObject_setGlobalClippedByPlane(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
457
464MRC_API const MR_Color *MR_ConeObject_getFrontColor(const MR_ConeObject *_this, const bool *selected, const MR_ViewportId *viewportId);
465
471MRC_API void MR_ConeObject_setFrontColor(MR_ConeObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
472
479
484MRC_API void MR_ConeObject_setFrontColorsForAllViewports(MR_ConeObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected);
485
491
496
502MRC_API const MR_Color *MR_ConeObject_getBackColor(const MR_ConeObject *_this, const MR_ViewportId *viewportId);
503
509MRC_API void MR_ConeObject_setBackColor(MR_ConeObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
510
516MRC_API const unsigned char *MR_ConeObject_getGlobalAlpha(const MR_ConeObject *_this, const MR_ViewportId *viewportId);
517
522MRC_API void MR_ConeObject_setGlobalAlpha(MR_ConeObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
523
529
534
541MRC_API void MR_ConeObject_setDirtyFlags(MR_ConeObject *_this, unsigned int mask, const bool *invalidateCaches);
542
546MRC_API unsigned int MR_ConeObject_getDirtyFlags(const MR_ConeObject *_this);
547
551MRC_API void MR_ConeObject_resetDirty(const MR_ConeObject *_this);
552
556MRC_API void MR_ConeObject_resetDirtyExceptMask(const MR_ConeObject *_this, unsigned int mask);
557
562
569
574MRC_API bool MR_ConeObject_getRedrawFlag(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
575
581MRC_API bool MR_ConeObject_isPickable(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
582
588MRC_API void MR_ConeObject_setPickable(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
589
594
599
603MRC_API float MR_ConeObject_getShininess(const MR_ConeObject *_this);
604
608MRC_API void MR_ConeObject_setShininess(MR_ConeObject *_this, float shininess);
609
614
618MRC_API void MR_ConeObject_setSpecularStrength(MR_ConeObject *_this, float specularStrength);
619
624
628MRC_API void MR_ConeObject_setAmbientStrength(MR_ConeObject *_this, float ambientStrength);
629
635MRC_API bool MR_ConeObject_render(const MR_ConeObject *_this, const MR_ModelRenderParams *_1);
636
641MRC_API void MR_ConeObject_renderForPicker(const MR_ConeObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2);
642
647MRC_API void MR_ConeObject_renderUi(const MR_ConeObject *_this, const MR_UiRenderParams *params);
648
652MRC_API MR_uint64_t MR_ConeObject_heapBytes(const MR_ConeObject *_this);
653
659
665
670MRC_API void MR_ConeObject_setUseDefaultScenePropertiesOnDeserialization(MR_ConeObject *_this, bool useDefaultScenePropertiesOnDeserialization);
671
676
681
685MRC_API const MR_std_string *MR_ConeObject_name(const MR_ConeObject *_this);
686
691MRC_API void MR_ConeObject_setName(MR_ConeObject *_this, const char *name, const char *name_end);
692
700MRC_API const MR_AffineXf3f *MR_ConeObject_xf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
701
707
712
719MRC_API MR_AffineXf3f MR_ConeObject_worldXf(const MR_ConeObject *_this, const MR_ViewportId *id, bool *isDef);
720
725MRC_API void MR_ConeObject_setWorldXf(MR_ConeObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
726
730MRC_API void MR_ConeObject_applyScale(MR_ConeObject *_this, float scaleFactor);
731
737
743MRC_API bool MR_ConeObject_globalVisibility(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
744
750MRC_API void MR_ConeObject_setGlobalVisibility(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
751
755MRC_API bool MR_ConeObject_isLocked(const MR_ConeObject *_this);
756
759MRC_API void MR_ConeObject_setLocked(MR_ConeObject *_this, bool on);
760
766
769MRC_API void MR_ConeObject_setParentLocked(MR_ConeObject *_this, bool lock);
770
774MRC_API bool MR_ConeObject_isAncestor(const MR_ConeObject *_this, const MR_Object *ancestor);
775
781
789MRC_API bool MR_ConeObject_addChild(MR_ConeObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
790
797MRC_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);
798
803
808
812MRC_API bool MR_ConeObject_select(MR_ConeObject *_this, bool on);
813
816MRC_API bool MR_ConeObject_isSelected(const MR_ConeObject *_this);
817
822MRC_API void MR_ConeObject_setAncillary(MR_ConeObject *_this, bool ancillary);
823
826MRC_API bool MR_ConeObject_isAncillary(const MR_ConeObject *_this);
827
832
838MRC_API void MR_ConeObject_setVisible(MR_ConeObject *_this, bool on, const MR_ViewportMask *viewportMask);
839
845MRC_API bool MR_ConeObject_isVisible(const MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
846
851MRC_API void MR_ConeObject_setVisibilityMask(MR_ConeObject *_this, const MR_ViewportMask *viewportMask);
852
858
862
868
875
882MRC_API void MR_ConeObject_swap(MR_ConeObject *_this, MR_Object *other);
883
890
895
900MRC_API bool MR_ConeObject_hasModel(const MR_ConeObject *_this);
901
908
916MRC_API bool MR_ConeObject_addTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
917
924MRC_API bool MR_ConeObject_removeTag(MR_ConeObject *_this, const char *tag, const char *tag_end);
925
926// return true if model of current object equals to model (the same) of other
930MRC_API bool MR_ConeObject_sameModels(const MR_ConeObject *_this, const MR_Object *other);
931
932// return hash of model (or hash object pointer if object has no model)
935MRC_API MR_uint64_t MR_ConeObject_getModelHash(const MR_ConeObject *_this);
936
937// returns this Object as shared_ptr
938// finds it among its parent's recognized children
943
944#ifdef __cplusplus
945} // extern "C"
946#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:26
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:41
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:35
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:36
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:37
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:32
struct MR_ConeObject MR_ConeObject
Definition MRAddVisualPropertiesMixin.h:22
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:39
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:42
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:34
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:76
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:27
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:38
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:33
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:29
struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:25
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:24
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 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 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 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 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_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 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 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_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 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_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 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 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 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 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 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_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 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 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 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 bool MR_ConeObject_hasVisualRepresentation(const MR_ConeObject *_this)
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_ViewportMask * MR_ConeObject_globalVisibilityMask(const MR_ConeObject *_this)
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 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:86
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
Definition MRAffineXf.h:39
Definition MRBox.h:110
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