MeshLib C Docs
Loading...
Searching...
No Matches
MRCylinderObject.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
68
71
75
78
82
85
89
92
96
99
103
106
110
116
119
122
127
130
134
137
142
145
150
155
160
166
172
178
185
191
198
204
210
211// Returns point considered as base for the feature
216
221
228
233
238
244
250
256
261
262// The cached orthonormalized rotation matrix.
263// `isDef` receives false if matrix is overridden for this specific viewport.
269
270// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
271// `isDef` receives false if matrix is overridden for this specific viewport.
277
278// This color is used for subfeatures.
279// `isDef` receives false if matrix is overridden for this specific viewport.
285MRC_API const MR_Color *MR_CylinderObject_getDecorationsColor(const MR_CylinderObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
286
291MRC_API void MR_CylinderObject_setDecorationsColor(MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
292
297
301
302// Point size and line width, for primary rendering rather than subfeatures.
306
310
314
318
319// Point size and line width, for subfeatures rather than primary rendering.
323
327
331
335
336// Per-component alpha multipliers. The global alpha is multiplied by thise.
340
344
348
352
356
360
364
368
375
382
389
396
402
408
414
421
428
435MRC_API const MR_Color *MR_CylinderObject_getFrontColor(const MR_CylinderObject *_this, const bool *selected, const MR_ViewportId *viewportId);
436
442MRC_API void MR_CylinderObject_setFrontColor(MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
443
450
456
462
467
474
481
487MRC_API const unsigned char *MR_CylinderObject_getGlobalAlpha(const MR_CylinderObject *_this, const MR_ViewportId *viewportId);
488
493MRC_API void MR_CylinderObject_setGlobalAlpha(MR_CylinderObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
494
500
505
512MRC_API void MR_CylinderObject_setDirtyFlags(MR_CylinderObject *_this, unsigned int mask, const bool *invalidateCaches);
513
518
523
528
533
540
546
553
560
565
570
575
580
585
590
595
600
607
613
619
624
630
636
641MRC_API void MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization(MR_CylinderObject *_this, bool useDefaultScenePropertiesOnDeserialization);
642
647
652
657
662MRC_API void MR_CylinderObject_setName(MR_CylinderObject *_this, const char *name, const char *name_end);
663
671MRC_API const MR_AffineXf3f *MR_CylinderObject_xf(const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef);
672
678
683
691
697
702
708
715
722
727
731
737
741
746
752
760MRC_API bool MR_CylinderObject_addChild(MR_CylinderObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
761
769
774
779
784
788
794
798
803
810
817
823
829
833
839
846
854
861
866
872
879
887MRC_API bool MR_CylinderObject_addTag(MR_CylinderObject *_this, const char *tag, const char *tag_end);
888
895MRC_API bool MR_CylinderObject_removeTag(MR_CylinderObject *_this, const char *tag, const char *tag_end);
896
897// return true if model of current object equals to model (the same) of other
902
903// return hash of model (or hash object pointer if object has no model)
907
908// returns this Object as shared_ptr
909// finds it among its parent's recognized children
914
915#ifdef __cplusplus
916} // extern "C"
917#endif
struct MR_CylinderObject MR_CylinderObject
Definition MRAddVisualPropertiesMixin.h:23
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_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_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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length
Definition MRAddVisualPropertiesMixin.h:60
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
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MRC_API MR_std_optional_MR_Vector3f * MR_CylinderObject_getNormal(const MR_CylinderObject *_this, const MR_Vector3f *point)
MRC_API void MR_CylinderObject_setSubfeatureAlphaMesh(MR_CylinderObject *_this, float alpha)
MRC_API void MR_CylinderObject_resetColors(MR_CylinderObject *_this)
MRC_API MR_CylinderObject * MR_CylinderObject_DefaultConstruct(void)
MRC_API const MR_std_set_std_string * MR_CylinderObject_tags(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getSubfeaturePointSize(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setPointSize(MR_CylinderObject *_this, float pointSize)
MRC_API void MR_CylinderObject_setSubfeaturePointSize(MR_CylinderObject *_this, float pointSize)
MRC_API bool MR_CylinderObject_select(MR_CylinderObject *_this, bool on)
MRC_API void MR_CylinderObject_setDirection(MR_CylinderObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id)
MRC_API void MR_CylinderObject_resetRedrawFlag(const MR_CylinderObject *_this)
MRC_API const char * MR_CylinderObject_typeName(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_isAncillary(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_addChild(MR_CylinderObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API void MR_CylinderObject_resetXf(MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API bool MR_CylinderObject_hasModel(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setMainFeatureAlpha(MR_CylinderObject *_this, float alpha)
MRC_API MR_ColoringType MR_CylinderObject_getColoringType(const MR_CylinderObject *_this)
MRC_API MR_CylinderObject * MR_CylinderObject_AssignFromAnother(MR_CylinderObject *_this, MR_PassBy _other_pass_by, MR_CylinderObject *_other)
MRC_API MR_uint64_t MR_CylinderObject_getModelHash(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getPointSize(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setCenter(MR_CylinderObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
MRC_API MR_ObjectChildrenHolder * MR_CylinderObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_CylinderObject *object)
Upcasts an instance of MR::CylinderObject to its base class MR::ObjectChildrenHolder.
MRC_API float MR_CylinderObject_getSubfeatureAlphaPoints(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getSubfeatureLineWidth(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_isParentLocked(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setDecorationsColor(MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_AffineXf3f MR_CylinderObject_worldXf(const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_ViewportMask * MR_CylinderObject_getVisualizePropertyMask(const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_CylinderObject_setPickable(MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_setBackColor(MR_CylinderObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_Matrix3f MR_CylinderObject_getRotationMatrix(const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_CylinderObject_setGlobalClippedByPlane(MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_Destroy(const MR_CylinderObject *_this)
Destroys a heap-allocated instance of MR_CylinderObject. Does nothing if the pointer is null.
MRC_API void MR_CylinderObject_setSubfeatureAlphaPoints(MR_CylinderObject *_this, float alpha)
MRC_API bool MR_CylinderObject_globalVisibility(const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_CylinderObject_useDefaultScenePropertiesOnDeserialization(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setXfsForAllViewports(MR_CylinderObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API unsigned int MR_CylinderObject_getDirtyFlags(const MR_CylinderObject *_this)
MRC_API const MR_CylinderObject * MR_CylinderObject_OffsetPtr(const MR_CylinderObject *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_CylinderObject_setGlobalAlpha(MR_CylinderObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API void MR_CylinderObject_setAmbientStrength(MR_CylinderObject *_this, float ambientStrength)
MRC_API MR_Matrix3f MR_CylinderObject_getScaleShearMatrix(const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_Object * MR_CylinderObject_UpcastTo_MR_Object(const MR_CylinderObject *object)
MRC_API MR_CylinderObject * MR_CylinderObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_CylinderObject *_other)
MRC_API void MR_CylinderObject_setGlobalVisibility(MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_CylinderObject_xfsForAllViewports(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getMainFeatureAlpha(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_copyAllSolidColors(MR_CylinderObject *_this, const MR_VisualObject *other)
MRC_API const char * MR_CylinderObject_StaticTypeName(void)
Generated from method MR::CylinderObject::StaticTypeName.
MRC_API bool MR_CylinderObject_globalClippedByPlane(const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_setWorldXf(MR_CylinderObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getDecorationsColorForAllViewports(const MR_CylinderObject *_this, bool selected)
MRC_API const MR_ViewportProperty_unsigned_char * MR_CylinderObject_getGlobalAlphaForAllViewports(const MR_CylinderObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_getSharedPtr(const MR_CylinderObject *_this)
MRC_API MR_ViewportMask * MR_CylinderObject_globalVisibilityMask(const MR_CylinderObject *_this)
MRC_API const char * MR_CylinderObject_StaticClassNameInPlural(void)
Generated from method MR::CylinderObject::StaticClassNameInPlural.
MRC_API void MR_CylinderObject_setLineWidth(MR_CylinderObject *_this, float lineWidth)
MRC_API void MR_CylinderObject_setDecorationsColorForAllViewports(MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API const MR_Color * MR_CylinderObject_getBackColor(const MR_CylinderObject *_this, const MR_ViewportId *viewportId)
MRC_API void MR_CylinderObject_resetFrontColor(MR_CylinderObject *_this)
MRC_API const MR_Color * MR_CylinderObject_getDecorationsColor(const MR_CylinderObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API float MR_CylinderObject_getLineWidth(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_render(const MR_CylinderObject *_this, const MR_ModelRenderParams *_1)
MRC_API MR_uint64_t MR_CylinderObject_heapBytes(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setSpecularStrength(MR_CylinderObject *_this, float specularStrength)
MRC_API void MR_CylinderObject_setFrontColor(MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_CylinderObject_setParentLocked(MR_CylinderObject *_this, bool lock)
MRC_API bool MR_CylinderObject_isAncestor(const MR_CylinderObject *_this, const MR_Object *ancestor)
MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_shallowClone(const MR_CylinderObject *_this)
MRC_API MR_CylinderObject * MR_CylinderObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API void MR_CylinderObject_swap(MR_CylinderObject *_this, MR_Object *other)
MRC_API void MR_CylinderObject_setVisualizeProperty(MR_CylinderObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_setLocked(MR_CylinderObject *_this, bool on)
MRC_API MR_ViewportMask * MR_CylinderObject_visibilityMask(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_isVisible(const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_CylinderObject_getSubfeatureAlphaLines(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setRadius(MR_CylinderObject *_this, float radius, const MR_ViewportId *id)
MRC_API MR_Vector3f MR_CylinderObject_getDirection(const MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API void MR_CylinderObject_setSubfeatureLineWidth(MR_CylinderObject *_this, float lineWidth)
MRC_API MR_FeatureObjectProjectPointResult * MR_CylinderObject_projectPoint(const MR_CylinderObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API bool MR_CylinderObject_sameModels(const MR_CylinderObject *_this, const MR_Object *other)
MRC_API MR_std_vector_MR_ViewportMask * MR_CylinderObject_getAllVisualizeProperties(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getRadius(const MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API void MR_CylinderObject_renderForPicker(const MR_CylinderObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_CylinderObject_resetDirty(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setColoringType(MR_CylinderObject *_this, MR_ColoringType coloringType)
MRC_API void MR_CylinderObject_setSubfeatureAlphaLines(MR_CylinderObject *_this, float alpha)
MRC_API MR_Vector3f MR_CylinderObject_getCenter(const MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API float MR_CylinderObject_getLength(const MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API void MR_CylinderObject_setVisibilityMask(MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_setAllVisualizeProperties(MR_CylinderObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API bool MR_CylinderObject_removeTag(MR_CylinderObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_CylinderObject_setDirtyFlags(MR_CylinderObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API bool MR_CylinderObject_getVisualizeProperty(const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_setBackColorsForAllViewports(MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API float MR_CylinderObject_getAmbientStrength(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setFrontColorsForAllViewports(MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API MR_ViewportMask * MR_CylinderObject_globalClippedByPlaneMask(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setLength(MR_CylinderObject *_this, float length, const MR_ViewportId *id)
MRC_API const MR_AffineXf3f * MR_CylinderObject_xf(const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_std_string * MR_CylinderObject_name(const MR_CylinderObject *_this)
MRC_API const MR_VisualObject * MR_CylinderObject_UpcastTo_MR_VisualObject(const MR_CylinderObject *object)
MRC_API void MR_CylinderObject_setAncillary(MR_CylinderObject *_this, bool ancillary)
MRC_API void MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization(MR_CylinderObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API void MR_CylinderObject_toggleVisualizeProperty(MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_CylinderObject_resetDirtyExceptMask(const MR_CylinderObject *_this, unsigned int mask)
MRC_API bool MR_CylinderObject_isGlobalAncillary(const MR_CylinderObject *_this)
MRC_API MR_std_string * MR_CylinderObject_className(const MR_CylinderObject *_this)
MRC_API float MR_CylinderObject_getShininess(const MR_CylinderObject *_this)
MRC_API MR_Box3f MR_CylinderObject_getWorldTreeBox(const MR_CylinderObject *_this, const MR_ViewportId *_1)
MRC_API float MR_CylinderObject_getSpecularStrength(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setGlobalAlphaForAllViewports(MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API void MR_CylinderObject_sortChildren(MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_isSelected(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setShininess(MR_CylinderObject *_this, float shininess)
MRC_API const MR_FeatureObject * MR_CylinderObject_UpcastTo_MR_FeatureObject(const MR_CylinderObject *object)
MRC_API bool MR_CylinderObject_detachFromParent(MR_CylinderObject *_this)
MRC_API MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_CylinderObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length(MR_CylinderObject *object)
Upcasts an instance of MR::CylinderObject to its base class MR::AddVisualProperties<MR::FeatureObject...
MRC_API MR_Object * MR_CylinderObject_MutableUpcastTo_MR_Object(MR_CylinderObject *object)
Upcasts an instance of MR::CylinderObject to its base class MR::Object.
MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_shallowCloneTree(const MR_CylinderObject *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getFrontColorsForAllViewports(const MR_CylinderObject *_this, const bool *selected)
MRC_API MR_Box3f MR_CylinderObject_getBoundingBox(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_supportsVisualizeProperty(const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const unsigned char * MR_CylinderObject_getGlobalAlpha(const MR_CylinderObject *_this, const MR_ViewportId *viewportId)
MRC_API MR_VisualObject * MR_CylinderObject_MutableUpcastTo_MR_VisualObject(MR_CylinderObject *object)
Upcasts an instance of MR::CylinderObject to its base class MR::VisualObject.
MRC_API void MR_CylinderObject_removeAllChildren(MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setXf(MR_CylinderObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_CylinderObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length(const MR_CylinderObject *object)
MRC_API bool MR_CylinderObject_isPickable(const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_CylinderObject_getRedrawFlag(const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_CylinderObject * MR_CylinderObject_OffsetMutablePtr(MR_CylinderObject *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_cloneTree(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setVisible(MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_CylinderObject_getFrontColor(const MR_CylinderObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getBackColorsForAllViewports(const MR_CylinderObject *_this)
MRC_API const char * MR_CylinderObject_StaticClassName(void)
Generated from method MR::CylinderObject::StaticClassName.
MRC_API MR_CylinderObject * MR_CylinderObject_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_CylinderObject_addTag(MR_CylinderObject *_this, const char *tag, const char *tag_end)
MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_CylinderObject_getAllSharedProperties(const MR_CylinderObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_clone(const MR_CylinderObject *_this)
MRC_API bool MR_CylinderObject_isLocked(const MR_CylinderObject *_this)
MRC_API const MR_ObjectChildrenHolder * MR_CylinderObject_UpcastTo_MR_ObjectChildrenHolder(const MR_CylinderObject *object)
MRC_API void MR_CylinderObject_setName(MR_CylinderObject *_this, const char *name, const char *name_end)
MRC_API void MR_CylinderObject_applyScale(MR_CylinderObject *_this, float scaleFactor)
MRC_API bool MR_CylinderObject_hasVisualRepresentation(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_setVisualizePropertyMask(MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_std_string * MR_CylinderObject_classNameInPlural(const MR_CylinderObject *_this)
MRC_API MR_FeatureObject * MR_CylinderObject_MutableUpcastTo_MR_FeatureObject(MR_CylinderObject *object)
Upcasts an instance of MR::CylinderObject to its base class MR::FeatureObject.
MRC_API MR_std_vector_std_string * MR_CylinderObject_getInfoLines(const MR_CylinderObject *_this)
MRC_API void MR_CylinderObject_renderUi(const MR_CylinderObject *_this, const MR_UiRenderParams *params)
MRC_API void MR_CylinderObject_DestroyArray(const MR_CylinderObject *_this)
Destroys a heap-allocated array of MR_CylinderObject. Does nothing if the pointer is null.
MRC_API bool MR_CylinderObject_addChildBefore(MR_CylinderObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API MR_Box3f MR_CylinderObject_getWorldBox(const MR_CylinderObject *_this, const MR_ViewportId *_1)
MRC_API MR_Vector3f MR_CylinderObject_getBasePoint(const MR_CylinderObject *_this, const MR_ViewportId *id)
MRC_API float MR_CylinderObject_getSubfeatureAlphaMesh(const MR_CylinderObject *_this)
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
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRMatrix3.h:68
Definition MRVector3.h:52
Definition MRViewportId.h:17