MeshLib C Docs
Loading...
Searching...
No Matches
MRCylinderObject.h File Reference
#include <MRCMesh/MRAffineXf.h>
#include <MRCMesh/MRBox.h>
#include <MRCMesh/MREnums.h>
#include <MRCMesh/MRMatrix3.h>
#include <MRCMesh/MRVector3.h>
#include <MRCMesh/MRViewportId.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length
 
typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
 
typedef struct MR_Color MR_Color
 
typedef struct MR_FeatureObject MR_FeatureObject
 
typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
 
typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
 
typedef struct MR_ModelRenderParams MR_ModelRenderParams
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
 
typedef struct MR_UiRenderParams MR_UiRenderParams
 
typedef struct MR_ViewportMask MR_ViewportMask
 
typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
 
typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
 
typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
 
typedef struct MR_VisualObject MR_VisualObject
 
typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
 
typedef struct MR_std_set_std_string MR_std_set_std_string
 
typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
 
typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
 
typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_CylinderObject MR_CylinderObject
 

Functions

MRC_API MR_CylinderObjectMR_CylinderObject_DefaultConstruct (void)
 
MRC_API MR_CylinderObjectMR_CylinderObject_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_CylinderObjectMR_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 pointer points to an array element.
 
MRC_API MR_CylinderObjectMR_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 pointer points to an array element.
 
MRC_API const MR_ObjectChildrenHolderMR_CylinderObject_UpcastTo_MR_ObjectChildrenHolder (const MR_CylinderObject *object)
 
MRC_API MR_ObjectChildrenHolderMR_CylinderObject_MutableUpcastTo_MR_ObjectChildrenHolder (MR_CylinderObject *object)
 Upcasts an instance of MR::CylinderObject to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMR_CylinderObject_UpcastTo_MR_Object (const MR_CylinderObject *object)
 
MRC_API MR_ObjectMR_CylinderObject_MutableUpcastTo_MR_Object (MR_CylinderObject *object)
 Upcasts an instance of MR::CylinderObject to its base class MR::Object.
 
MRC_API const MR_VisualObjectMR_CylinderObject_UpcastTo_MR_VisualObject (const MR_CylinderObject *object)
 
MRC_API MR_VisualObjectMR_CylinderObject_MutableUpcastTo_MR_VisualObject (MR_CylinderObject *object)
 Upcasts an instance of MR::CylinderObject to its base class MR::VisualObject.
 
MRC_API const MR_FeatureObjectMR_CylinderObject_UpcastTo_MR_FeatureObject (const MR_CylinderObject *object)
 
MRC_API MR_FeatureObjectMR_CylinderObject_MutableUpcastTo_MR_FeatureObject (MR_CylinderObject *object)
 Upcasts an instance of MR::CylinderObject to its base class MR::FeatureObject.
 
MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_lengthMR_CylinderObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length (const MR_CylinderObject *object)
 
MRC_API MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_lengthMR_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, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.
 
MRC_API MR_CylinderObjectMR_CylinderObject_ConstructFromAnother (MR_PassBy _other_pass_by, MR_CylinderObject *_other)
 
MRC_API MR_CylinderObjectMR_CylinderObject_Construct (const MR_std_vector_MR_Vector3f *pointsToApprox)
 
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_DestroyArray (const MR_CylinderObject *_this)
 Destroys a heap-allocated array of MR_CylinderObject. Does nothing if the pointer is null.
 
MRC_API MR_CylinderObjectMR_CylinderObject_AssignFromAnother (MR_CylinderObject *_this, MR_PassBy _other_pass_by, MR_CylinderObject *_other)
 
MRC_API const char * MR_CylinderObject_StaticTypeName (void)
 Generated from method MR::CylinderObject::StaticTypeName.
 
MRC_API const char * MR_CylinderObject_typeName (const MR_CylinderObject *_this)
 
MRC_API const char * MR_CylinderObject_StaticClassName (void)
 Generated from method MR::CylinderObject::StaticClassName.
 
MRC_API MR_std_stringMR_CylinderObject_className (const MR_CylinderObject *_this)
 
MRC_API const char * MR_CylinderObject_StaticClassNameInPlural (void)
 Generated from method MR::CylinderObject::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_CylinderObject_classNameInPlural (const MR_CylinderObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_CylinderObject_clone (const MR_CylinderObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_CylinderObject_shallowClone (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getRadius (const MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API MR_Vector3f MR_CylinderObject_getCenter (const MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_setRadius (MR_CylinderObject *_this, float radius, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_setCenter (MR_CylinderObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
 
MRC_API MR_Vector3f MR_CylinderObject_getDirection (const MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_setDirection (MR_CylinderObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id)
 
MRC_API float MR_CylinderObject_getLength (const MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_setLength (MR_CylinderObject *_this, float length, const MR_ViewportId *id)
 
MRC_API MR_Vector3f MR_CylinderObject_getBasePoint (const MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API const MR_std_vector_MR_FeatureObjectSharedPropertyMR_CylinderObject_getAllSharedProperties (const MR_CylinderObject *_this)
 
MRC_API MR_FeatureObjectProjectPointResultMR_CylinderObject_projectPoint (const MR_CylinderObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
 
MRC_API bool MR_CylinderObject_supportsVisualizeProperty (const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API MR_std_vector_MR_ViewportMaskMR_CylinderObject_getAllVisualizeProperties (const MR_CylinderObject *_this)
 
MRC_API const MR_ViewportMaskMR_CylinderObject_getVisualizePropertyMask (const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API MR_std_optional_MR_Vector3fMR_CylinderObject_getNormal (const MR_CylinderObject *_this, const MR_Vector3f *point)
 
MRC_API void MR_CylinderObject_setXf (MR_CylinderObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_resetXf (MR_CylinderObject *_this, const MR_ViewportId *id)
 
MRC_API MR_Matrix3f MR_CylinderObject_getRotationMatrix (const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API MR_Matrix3f MR_CylinderObject_getScaleShearMatrix (const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API const MR_ColorMR_CylinderObject_getDecorationsColor (const MR_CylinderObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
 
MRC_API void MR_CylinderObject_setDecorationsColor (MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_CylinderObject_getDecorationsColorForAllViewports (const MR_CylinderObject *_this, bool selected)
 
MRC_API void MR_CylinderObject_setDecorationsColorForAllViewports (MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
 
MRC_API float MR_CylinderObject_getPointSize (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getLineWidth (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setPointSize (MR_CylinderObject *_this, float pointSize)
 
MRC_API void MR_CylinderObject_setLineWidth (MR_CylinderObject *_this, float lineWidth)
 
MRC_API float MR_CylinderObject_getSubfeaturePointSize (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getSubfeatureLineWidth (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setSubfeaturePointSize (MR_CylinderObject *_this, float pointSize)
 
MRC_API void MR_CylinderObject_setSubfeatureLineWidth (MR_CylinderObject *_this, float lineWidth)
 
MRC_API float MR_CylinderObject_getMainFeatureAlpha (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getSubfeatureAlphaPoints (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getSubfeatureAlphaLines (const MR_CylinderObject *_this)
 
MRC_API float MR_CylinderObject_getSubfeatureAlphaMesh (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setMainFeatureAlpha (MR_CylinderObject *_this, float alpha)
 
MRC_API void MR_CylinderObject_setSubfeatureAlphaPoints (MR_CylinderObject *_this, float alpha)
 
MRC_API void MR_CylinderObject_setSubfeatureAlphaLines (MR_CylinderObject *_this, float alpha)
 
MRC_API void MR_CylinderObject_setSubfeatureAlphaMesh (MR_CylinderObject *_this, float alpha)
 
MRC_API void MR_CylinderObject_setVisualizeProperty (MR_CylinderObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setVisualizePropertyMask (MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_CylinderObject_getVisualizeProperty (const MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_toggleVisualizeProperty (MR_CylinderObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setAllVisualizeProperties (MR_CylinderObject *_this, const MR_std_vector_MR_ViewportMask *properties)
 
MRC_API void MR_CylinderObject_copyAllSolidColors (MR_CylinderObject *_this, const MR_VisualObject *other)
 
MRC_API MR_ViewportMaskMR_CylinderObject_globalClippedByPlaneMask (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_globalClippedByPlane (const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setGlobalClippedByPlane (MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ColorMR_CylinderObject_getFrontColor (const MR_CylinderObject *_this, const bool *selected, const MR_ViewportId *viewportId)
 
MRC_API void MR_CylinderObject_setFrontColor (MR_CylinderObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_CylinderObject_getFrontColorsForAllViewports (const MR_CylinderObject *_this, const bool *selected)
 
MRC_API void MR_CylinderObject_setFrontColorsForAllViewports (MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_CylinderObject_getBackColorsForAllViewports (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setBackColorsForAllViewports (MR_CylinderObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ColorMR_CylinderObject_getBackColor (const MR_CylinderObject *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_CylinderObject_setBackColor (MR_CylinderObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
 
MRC_API const unsigned char * MR_CylinderObject_getGlobalAlpha (const MR_CylinderObject *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_CylinderObject_setGlobalAlpha (MR_CylinderObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_unsigned_charMR_CylinderObject_getGlobalAlphaForAllViewports (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_setDirtyFlags (MR_CylinderObject *_this, unsigned int mask, const bool *invalidateCaches)
 
MRC_API unsigned int MR_CylinderObject_getDirtyFlags (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_resetDirty (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_resetDirtyExceptMask (const MR_CylinderObject *_this, unsigned int mask)
 
MRC_API MR_Box3f MR_CylinderObject_getBoundingBox (const MR_CylinderObject *_this)
 
MRC_API MR_Box3f MR_CylinderObject_getWorldBox (const MR_CylinderObject *_this, const MR_ViewportId *_1)
 
MRC_API bool MR_CylinderObject_getRedrawFlag (const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_CylinderObject_isPickable (const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setPickable (MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ColoringType MR_CylinderObject_getColoringType (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setColoringType (MR_CylinderObject *_this, MR_ColoringType coloringType)
 
MRC_API float MR_CylinderObject_getShininess (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setShininess (MR_CylinderObject *_this, float shininess)
 
MRC_API float MR_CylinderObject_getSpecularStrength (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setSpecularStrength (MR_CylinderObject *_this, float specularStrength)
 
MRC_API float MR_CylinderObject_getAmbientStrength (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setAmbientStrength (MR_CylinderObject *_this, float ambientStrength)
 
MRC_API bool MR_CylinderObject_render (const MR_CylinderObject *_this, const MR_ModelRenderParams *_1)
 
MRC_API void MR_CylinderObject_renderForPicker (const MR_CylinderObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
 
MRC_API void MR_CylinderObject_renderUi (const MR_CylinderObject *_this, const MR_UiRenderParams *params)
 
MRC_API MR_uint64_t MR_CylinderObject_heapBytes (const MR_CylinderObject *_this)
 
MRC_API MR_std_vector_std_stringMR_CylinderObject_getInfoLines (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_useDefaultScenePropertiesOnDeserialization (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization (MR_CylinderObject *_this, bool useDefaultScenePropertiesOnDeserialization)
 
MRC_API void MR_CylinderObject_resetFrontColor (MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_resetColors (MR_CylinderObject *_this)
 
MRC_API const MR_std_stringMR_CylinderObject_name (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setName (MR_CylinderObject *_this, const char *name, const char *name_end)
 
MRC_API const MR_AffineXf3fMR_CylinderObject_xf (const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API const MR_ViewportProperty_MR_AffineXf3fMR_CylinderObject_xfsForAllViewports (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 MR_AffineXf3f MR_CylinderObject_worldXf (const MR_CylinderObject *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_CylinderObject_setWorldXf (MR_CylinderObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_CylinderObject_applyScale (MR_CylinderObject *_this, float scaleFactor)
 
MRC_API MR_ViewportMaskMR_CylinderObject_globalVisibilityMask (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_globalVisibility (const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setGlobalVisibility (MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_CylinderObject_isLocked (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setLocked (MR_CylinderObject *_this, bool on)
 
MRC_API bool MR_CylinderObject_isParentLocked (const MR_CylinderObject *_this)
 
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 bool MR_CylinderObject_detachFromParent (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 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 void MR_CylinderObject_removeAllChildren (MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_sortChildren (MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_select (MR_CylinderObject *_this, bool on)
 
MRC_API bool MR_CylinderObject_isSelected (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setAncillary (MR_CylinderObject *_this, bool ancillary)
 
MRC_API bool MR_CylinderObject_isAncillary (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_isGlobalAncillary (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_setVisible (MR_CylinderObject *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_CylinderObject_isVisible (const MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_CylinderObject_setVisibilityMask (MR_CylinderObject *_this, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ViewportMaskMR_CylinderObject_visibilityMask (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_resetRedrawFlag (const MR_CylinderObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_CylinderObject_cloneTree (const MR_CylinderObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_CylinderObject_shallowCloneTree (const MR_CylinderObject *_this)
 
MRC_API void MR_CylinderObject_swap (MR_CylinderObject *_this, MR_Object *other)
 
MRC_API MR_Box3f MR_CylinderObject_getWorldTreeBox (const MR_CylinderObject *_this, const MR_ViewportId *_1)
 
MRC_API bool MR_CylinderObject_hasVisualRepresentation (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_hasModel (const MR_CylinderObject *_this)
 
MRC_API const MR_std_set_std_stringMR_CylinderObject_tags (const MR_CylinderObject *_this)
 
MRC_API bool MR_CylinderObject_addTag (MR_CylinderObject *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_CylinderObject_removeTag (MR_CylinderObject *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_CylinderObject_sameModels (const MR_CylinderObject *_this, const MR_Object *other)
 
MRC_API MR_uint64_t MR_CylinderObject_getModelHash (const MR_CylinderObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_CylinderObject_getSharedPtr (const MR_CylinderObject *_this)
 

Typedef Documentation

◆ MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length

◆ MR_AnyVisualizeMaskEnum

◆ MR_Color

typedef struct MR_Color MR_Color

◆ MR_CylinderObject

Object to show Cylinder feature, position and radius are controlled by xf Generated from class MR::CylinderObject. Base classes: Direct: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject MR::FeatureObject Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_FeatureObject

◆ MR_FeatureObjectProjectPointResult

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_std_optional_MR_Vector3f

◆ MR_std_set_std_string

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_MR_FeatureObjectSharedProperty

◆ MR_std_vector_MR_Vector3f

◆ MR_std_vector_MR_ViewportMask

◆ MR_std_vector_std_string

◆ MR_UiRenderParams

◆ MR_ViewportMask

◆ MR_ViewportProperty_MR_AffineXf3f

◆ MR_ViewportProperty_MR_Color

◆ MR_ViewportProperty_unsigned_char

◆ MR_VisualObject

Function Documentation

◆ MR_CylinderObject_addChild()

MRC_API bool MR_CylinderObject_addChild ( MR_CylinderObject * _this,
MR_PassBy child_pass_by,
MR_std_shared_ptr_MR_Object * child,
const bool * recognizedChild )

adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::CylinderObject::addChild. Parameter _this can not be null. It is a single object. Parameter recognizedChild has a default argument: true, pass a null pointer to use it.

◆ MR_CylinderObject_addChildBefore()

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 )

adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR::CylinderObject::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.

◆ MR_CylinderObject_addTag()

MRC_API bool MR_CylinderObject_addTag ( MR_CylinderObject * _this,
const char * tag,
const char * tag_end )

adds tag to the object's tag storage additionally calls ObjectTagManager::tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR::CylinderObject::addTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.

◆ MR_CylinderObject_applyScale()

MRC_API void MR_CylinderObject_applyScale ( MR_CylinderObject * _this,
float scaleFactor )

scale object size (all point positions) Generated from method MR::CylinderObject::applyScale. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_AssignFromAnother()

MRC_API MR_CylinderObject * MR_CylinderObject_AssignFromAnother ( MR_CylinderObject * _this,
MR_PassBy _other_pass_by,
MR_CylinderObject * _other )

Generated from method MR::CylinderObject::operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_className()

MRC_API MR_std_string * MR_CylinderObject_className ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::className. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_classNameInPlural()

MRC_API MR_std_string * MR_CylinderObject_classNameInPlural ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::classNameInPlural. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_clone ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::clone. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_cloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_cloneTree ( const MR_CylinderObject * _this)

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::CylinderObject::cloneTree. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_Construct()

MRC_API MR_CylinderObject * MR_CylinderObject_Construct ( const MR_std_vector_MR_Vector3f * pointsToApprox)

Finds best Cylinder to approx given points Generated from constructor MR::CylinderObject::CylinderObject. Parameter pointsToApprox can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_CylinderObject_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_ConstructFromAnother()

MRC_API MR_CylinderObject * MR_CylinderObject_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_CylinderObject * _other )

Generated from constructor MR::CylinderObject::CylinderObject. Never returns null. Returns an instance allocated on the heap! Must call MR_CylinderObject_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_copyAllSolidColors()

MRC_API void MR_CylinderObject_copyAllSolidColors ( MR_CylinderObject * _this,
const MR_VisualObject * other )

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::CylinderObject::copyAllSolidColors. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_CylinderObject_DefaultConstruct()

MRC_API MR_CylinderObject * MR_CylinderObject_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_CylinderObject_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_DefaultConstructArray()

MRC_API MR_CylinderObject * MR_CylinderObject_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_CylinderObject_DestroyArray(). Use MR_CylinderObject_OffsetMutablePtr() and MR_CylinderObject_OffsetPtr() to access the array elements.

◆ MR_CylinderObject_Destroy()

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.

◆ MR_CylinderObject_DestroyArray()

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.

◆ MR_CylinderObject_detachFromParent()

MRC_API bool MR_CylinderObject_detachFromParent ( MR_CylinderObject * _this)

removes this from its parent children list returns false if it was already orphan Generated from method MR::CylinderObject::detachFromParent. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getAllSharedProperties()

MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_CylinderObject_getAllSharedProperties ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getAllSharedProperties. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getAllVisualizeProperties()

MRC_API MR_std_vector_MR_ViewportMask * MR_CylinderObject_getAllVisualizeProperties ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getAllVisualizeProperties. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_getAmbientStrength()

MRC_API float MR_CylinderObject_getAmbientStrength ( const MR_CylinderObject * _this)

returns intensity of non-directional light Generated from method MR::CylinderObject::getAmbientStrength. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getBackColor()

MRC_API const MR_Color * MR_CylinderObject_getBackColor ( const MR_CylinderObject * _this,
const MR_ViewportId * viewportId )

returns backward color of object in given viewport Generated from method MR::CylinderObject::getBackColor. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getBackColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getBackColorsForAllViewports ( const MR_CylinderObject * _this)

returns backward color of object in all viewports Generated from method MR::CylinderObject::getBackColorsForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getBasePoint()

MRC_API MR_Vector3f MR_CylinderObject_getBasePoint ( const MR_CylinderObject * _this,
const MR_ViewportId * id )

Generated from method MR::CylinderObject::getBasePoint. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getBoundingBox()

MRC_API MR_Box3f MR_CylinderObject_getBoundingBox ( const MR_CylinderObject * _this)

returns cached bounding box of this object in local coordinates Generated from method MR::CylinderObject::getBoundingBox. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getCenter()

MRC_API MR_Vector3f MR_CylinderObject_getCenter ( const MR_CylinderObject * _this,
const MR_ViewportId * id )

calculates center from xf Generated from method MR::CylinderObject::getCenter. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getColoringType()

MRC_API MR_ColoringType MR_CylinderObject_getColoringType ( const MR_CylinderObject * _this)

returns the current coloring mode of the object Generated from method MR::CylinderObject::getColoringType. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getDecorationsColor()

MRC_API const MR_Color * MR_CylinderObject_getDecorationsColor ( const MR_CylinderObject * _this,
bool selected,
const MR_ViewportId * viewportId,
bool * isDef )

Generated from method MR::CylinderObject::getDecorationsColor. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getDecorationsColorForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getDecorationsColorForAllViewports ( const MR_CylinderObject * _this,
bool selected )

Generated from method MR::CylinderObject::getDecorationsColorForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getDirection()

MRC_API MR_Vector3f MR_CylinderObject_getDirection ( const MR_CylinderObject * _this,
const MR_ViewportId * id )

calculates main axis direction from xf Generated from method MR::CylinderObject::getDirection. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getDirtyFlags()

MRC_API unsigned int MR_CylinderObject_getDirtyFlags ( const MR_CylinderObject * _this)

returns current dirty flags for the object Generated from method MR::CylinderObject::getDirtyFlags. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getFrontColor()

MRC_API const MR_Color * MR_CylinderObject_getFrontColor ( const MR_CylinderObject * _this,
const bool * selected,
const MR_ViewportId * viewportId )

returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::CylinderObject::getFrontColor. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getFrontColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_CylinderObject_getFrontColorsForAllViewports ( const MR_CylinderObject * _this,
const bool * selected )

returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::CylinderObject::getFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getGlobalAlpha()

MRC_API const unsigned char * MR_CylinderObject_getGlobalAlpha ( const MR_CylinderObject * _this,
const MR_ViewportId * viewportId )

returns global transparency alpha of object in given viewport Generated from method MR::CylinderObject::getGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getGlobalAlphaForAllViewports()

MRC_API const MR_ViewportProperty_unsigned_char * MR_CylinderObject_getGlobalAlphaForAllViewports ( const MR_CylinderObject * _this)

returns global transparency alpha of object in all viewports Generated from method MR::CylinderObject::getGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getInfoLines()

MRC_API MR_std_vector_std_string * MR_CylinderObject_getInfoLines ( const MR_CylinderObject * _this)

return several info lines that can better describe the object in the UI Generated from method MR::CylinderObject::getInfoLines. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_getLength()

MRC_API float MR_CylinderObject_getLength ( const MR_CylinderObject * _this,
const MR_ViewportId * id )

calculates cylinder length from xf Generated from method MR::CylinderObject::getLength. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getLineWidth()

MRC_API float MR_CylinderObject_getLineWidth ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getMainFeatureAlpha()

MRC_API float MR_CylinderObject_getMainFeatureAlpha ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getMainFeatureAlpha. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getModelHash()

MRC_API MR_uint64_t MR_CylinderObject_getModelHash ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getModelHash. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getNormal()

MRC_API MR_std_optional_MR_Vector3f * MR_CylinderObject_getNormal ( const MR_CylinderObject * _this,
const MR_Vector3f * point )

Generated from method MR::CylinderObject::getNormal. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Vector3f_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_getPointSize()

MRC_API float MR_CylinderObject_getPointSize ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getPointSize. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getRadius()

MRC_API float MR_CylinderObject_getRadius ( const MR_CylinderObject * _this,
const MR_ViewportId * id )

calculates radius from xf Generated from method MR::CylinderObject::getRadius. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getRedrawFlag()

MRC_API bool MR_CylinderObject_getRedrawFlag ( const MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

returns true if the object must be redrawn (due to dirty flags) in one of specified viewports Generated from method MR::CylinderObject::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_getRotationMatrix()

MRC_API MR_Matrix3f MR_CylinderObject_getRotationMatrix ( const MR_CylinderObject * _this,
const MR_ViewportId * id,
bool * isDef )

Generated from method MR::CylinderObject::getRotationMatrix. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++.

◆ MR_CylinderObject_getScaleShearMatrix()

MRC_API MR_Matrix3f MR_CylinderObject_getScaleShearMatrix ( const MR_CylinderObject * _this,
const MR_ViewportId * id,
bool * isDef )

Generated from method MR::CylinderObject::getScaleShearMatrix. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++.

◆ MR_CylinderObject_getSharedPtr()

MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_getSharedPtr ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSharedPtr. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_getShininess()

MRC_API float MR_CylinderObject_getShininess ( const MR_CylinderObject * _this)

returns the current shininess visual value Generated from method MR::CylinderObject::getShininess. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSpecularStrength()

MRC_API float MR_CylinderObject_getSpecularStrength ( const MR_CylinderObject * _this)

returns intensity of reflections Generated from method MR::CylinderObject::getSpecularStrength. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSubfeatureAlphaLines()

MRC_API float MR_CylinderObject_getSubfeatureAlphaLines ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSubfeatureAlphaMesh()

MRC_API float MR_CylinderObject_getSubfeatureAlphaMesh ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSubfeatureAlphaPoints()

MRC_API float MR_CylinderObject_getSubfeatureAlphaPoints ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSubfeatureLineWidth()

MRC_API float MR_CylinderObject_getSubfeatureLineWidth ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSubfeatureLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getSubfeaturePointSize()

MRC_API float MR_CylinderObject_getSubfeaturePointSize ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::getSubfeaturePointSize. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_getVisualizeProperty()

MRC_API bool MR_CylinderObject_getVisualizeProperty ( const MR_CylinderObject * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

returns true if the property is set at least in one viewport specified by the mask Generated from method MR::CylinderObject::getVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_getVisualizePropertyMask()

MRC_API const MR_ViewportMask * MR_CylinderObject_getVisualizePropertyMask ( const MR_CylinderObject * _this,
const MR_AnyVisualizeMaskEnum * type )

Generated from method MR::CylinderObject::getVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_getWorldBox()

MRC_API MR_Box3f MR_CylinderObject_getWorldBox ( const MR_CylinderObject * _this,
const MR_ViewportId * _1 )

returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object::getWorldTreeBox method Generated from method MR::CylinderObject::getWorldBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_getWorldTreeBox()

MRC_API MR_Box3f MR_CylinderObject_getWorldTreeBox ( const MR_CylinderObject * _this,
const MR_ViewportId * _1 )

empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::CylinderObject::getWorldTreeBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_globalClippedByPlane()

MRC_API bool MR_CylinderObject_globalClippedByPlane ( const MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR::CylinderObject::globalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_CylinderObject_globalClippedByPlaneMask()

MRC_API MR_ViewportMask * MR_CylinderObject_globalClippedByPlaneMask ( const MR_CylinderObject * _this)

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::CylinderObject::globalClippedByPlaneMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_globalVisibility()

MRC_API bool MR_CylinderObject_globalVisibility ( const MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::CylinderObject::globalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_CylinderObject_globalVisibilityMask()

MRC_API MR_ViewportMask * MR_CylinderObject_globalVisibilityMask ( const MR_CylinderObject * _this)

returns all viewports where this object is visible together with all its parents Generated from method MR::CylinderObject::globalVisibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_hasModel()

MRC_API bool MR_CylinderObject_hasModel ( const MR_CylinderObject * _this)

does the object have any model available (but possibly empty), e.g. ObjectMesh has valid mesh() or ObjectPoints has valid pointCloud() Generated from method MR::CylinderObject::hasModel. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_hasVisualRepresentation()

MRC_API bool MR_CylinderObject_hasVisualRepresentation ( const MR_CylinderObject * _this)

does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::CylinderObject::hasVisualRepresentation. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_heapBytes()

MRC_API MR_uint64_t MR_CylinderObject_heapBytes ( const MR_CylinderObject * _this)

returns the amount of memory this object occupies on heap Generated from method MR::CylinderObject::heapBytes. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isAncestor()

MRC_API bool MR_CylinderObject_isAncestor ( const MR_CylinderObject * _this,
const MR_Object * ancestor )

return true if given object is ancestor of this one, false otherwise Generated from method MR::CylinderObject::isAncestor. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isAncillary()

MRC_API bool MR_CylinderObject_isAncillary ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::isAncillary. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isGlobalAncillary()

MRC_API bool MR_CylinderObject_isGlobalAncillary ( const MR_CylinderObject * _this)

returns true if the object or any of its ancestors are ancillary Generated from method MR::CylinderObject::isGlobalAncillary. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isLocked()

MRC_API bool MR_CylinderObject_isLocked ( const MR_CylinderObject * _this)

object properties lock for UI Generated from method MR::CylinderObject::isLocked. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isParentLocked()

MRC_API bool MR_CylinderObject_isParentLocked ( const MR_CylinderObject * _this)

If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false. Generated from method MR::CylinderObject::isParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isPickable()

MRC_API bool MR_CylinderObject_isPickable ( const MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::CylinderObject::isPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_CylinderObject_isSelected()

MRC_API bool MR_CylinderObject_isSelected ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::isSelected. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_isVisible()

MRC_API bool MR_CylinderObject_isVisible ( const MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR::CylinderObject::isVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_CylinderObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length()

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, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>.

◆ MR_CylinderObject_MutableUpcastTo_MR_FeatureObject()

MRC_API MR_FeatureObject * MR_CylinderObject_MutableUpcastTo_MR_FeatureObject ( MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::FeatureObject.

◆ MR_CylinderObject_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_CylinderObject_MutableUpcastTo_MR_Object ( MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::Object.

◆ MR_CylinderObject_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_CylinderObject_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::ObjectChildrenHolder.

◆ MR_CylinderObject_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_CylinderObject_MutableUpcastTo_MR_VisualObject ( MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::VisualObject.

◆ MR_CylinderObject_name()

MRC_API const MR_std_string * MR_CylinderObject_name ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::name. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_OffsetMutablePtr()

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 pointer points to an array element.

◆ MR_CylinderObject_OffsetPtr()

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 pointer points to an array element.

◆ MR_CylinderObject_projectPoint()

MRC_API MR_FeatureObjectProjectPointResult * MR_CylinderObject_projectPoint ( const MR_CylinderObject * _this,
const MR_Vector3f * point,
const MR_ViewportId * id )

Generated from method MR::CylinderObject::projectPoint. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectProjectPointResult_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_removeAllChildren()

MRC_API void MR_CylinderObject_removeAllChildren ( MR_CylinderObject * _this)

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::CylinderObject::removeAllChildren. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_removeTag()

MRC_API bool MR_CylinderObject_removeTag ( MR_CylinderObject * _this,
const char * tag,
const char * tag_end )

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::CylinderObject::removeTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.

◆ MR_CylinderObject_render()

MRC_API bool MR_CylinderObject_render ( const MR_CylinderObject * _this,
const MR_ModelRenderParams * _1 )

draws this object for visualization Returns true if something was drawn. Generated from method MR::CylinderObject::render. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.

◆ MR_CylinderObject_renderForPicker()

MRC_API void MR_CylinderObject_renderForPicker ( const MR_CylinderObject * _this,
const MR_ModelBaseRenderParams * _1,
unsigned int _2 )

draws this object for picking Generated from method MR::CylinderObject::renderForPicker. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.

◆ MR_CylinderObject_renderUi()

MRC_API void MR_CylinderObject_renderUi ( const MR_CylinderObject * _this,
const MR_UiRenderParams * params )

draws this object for 2d UI Generated from method MR::CylinderObject::renderUi. Parameter _this can not be null. It is a single object. Parameter params can not be null. It is a single object.

◆ MR_CylinderObject_resetColors()

MRC_API void MR_CylinderObject_resetColors ( MR_CylinderObject * _this)

reset all object colors to their default values from the current theme Generated from method MR::CylinderObject::resetColors. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_resetDirty()

MRC_API void MR_CylinderObject_resetDirty ( const MR_CylinderObject * _this)

resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::CylinderObject::resetDirty. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_resetDirtyExceptMask()

MRC_API void MR_CylinderObject_resetDirtyExceptMask ( const MR_CylinderObject * _this,
unsigned int mask )

reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::CylinderObject::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_resetFrontColor()

MRC_API void MR_CylinderObject_resetFrontColor ( MR_CylinderObject * _this)

reset basic object colors to their default values from the current theme Generated from method MR::CylinderObject::resetFrontColor. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_resetRedrawFlag()

MRC_API void MR_CylinderObject_resetRedrawFlag ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::resetRedrawFlag. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_resetXf()

MRC_API void MR_CylinderObject_resetXf ( MR_CylinderObject * _this,
const MR_ViewportId * id )

Generated from method MR::CylinderObject::resetXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_sameModels()

MRC_API bool MR_CylinderObject_sameModels ( const MR_CylinderObject * _this,
const MR_Object * other )

Generated from method MR::CylinderObject::sameModels. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_CylinderObject_select()

MRC_API bool MR_CylinderObject_select ( MR_CylinderObject * _this,
bool on )

selects the object, returns true if value changed, otherwise returns false Generated from method MR::CylinderObject::select. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setAllVisualizeProperties()

MRC_API void MR_CylinderObject_setAllVisualizeProperties ( MR_CylinderObject * _this,
const MR_std_vector_MR_ViewportMask * properties )

set all visualize properties masks Generated from method MR::CylinderObject::setAllVisualizeProperties. Parameter _this can not be null. It is a single object. Parameter properties can not be null. It is a single object.

◆ MR_CylinderObject_setAmbientStrength()

MRC_API void MR_CylinderObject_setAmbientStrength ( MR_CylinderObject * _this,
float ambientStrength )

sets intensity of non-directional light Generated from method MR::CylinderObject::setAmbientStrength. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setAncillary()

MRC_API void MR_CylinderObject_setAncillary ( MR_CylinderObject * _this,
bool ancillary )

ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR::CylinderObject::setAncillary. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setBackColor()

MRC_API void MR_CylinderObject_setBackColor ( MR_CylinderObject * _this,
const MR_Color * color,
const MR_ViewportId * viewportId )

sets backward color of object in given viewport Generated from method MR::CylinderObject::setBackColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setBackColorsForAllViewports()

MRC_API void MR_CylinderObject_setBackColorsForAllViewports ( MR_CylinderObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

sets backward color of object in all viewports Generated from method MR::CylinderObject::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setCenter()

MRC_API void MR_CylinderObject_setCenter ( MR_CylinderObject * _this,
const MR_Vector3f * center,
const MR_ViewportId * id )

updates xf to fit given center Generated from method MR::CylinderObject::setCenter. Parameter _this can not be null. It is a single object. Parameter center can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setColoringType()

MRC_API void MR_CylinderObject_setColoringType ( MR_CylinderObject * _this,
MR_ColoringType coloringType )

sets coloring mode of the object with given argument Generated from method MR::CylinderObject::setColoringType. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setDecorationsColor()

MRC_API void MR_CylinderObject_setDecorationsColor ( MR_CylinderObject * _this,
const MR_Color * color,
bool selected,
const MR_ViewportId * viewportId )

Generated from method MR::CylinderObject::setDecorationsColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setDecorationsColorForAllViewports()

MRC_API void MR_CylinderObject_setDecorationsColorForAllViewports ( MR_CylinderObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val,
bool selected )

Generated from method MR::CylinderObject::setDecorationsColorForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setDirection()

MRC_API void MR_CylinderObject_setDirection ( MR_CylinderObject * _this,
const MR_Vector3f * normal,
const MR_ViewportId * id )

updates xf to fit main axis Generated from method MR::CylinderObject::setDirection. Parameter _this can not be null. It is a single object. Parameter normal can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setDirtyFlags()

MRC_API void MR_CylinderObject_setDirtyFlags ( MR_CylinderObject * _this,
unsigned int mask,
const bool * invalidateCaches )

sets some dirty flags for the object (to force its visual update)

Parameters
maskis a union of DirtyFlags flags
invalidateCacheswhether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR::CylinderObject::setDirtyFlags. Parameter _this can not be null. It is a single object. Parameter invalidateCaches has a default argument: true, pass a null pointer to use it.

◆ MR_CylinderObject_setFrontColor()

MRC_API void MR_CylinderObject_setFrontColor ( MR_CylinderObject * _this,
const MR_Color * color,
bool selected,
const MR_ViewportId * viewportId )

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::CylinderObject::setFrontColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setFrontColorsForAllViewports()

MRC_API void MR_CylinderObject_setFrontColorsForAllViewports ( MR_CylinderObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val,
const bool * selected )

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::CylinderObject::setFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it.

◆ MR_CylinderObject_setGlobalAlpha()

MRC_API void MR_CylinderObject_setGlobalAlpha ( MR_CylinderObject * _this,
unsigned char alpha,
const MR_ViewportId * viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::CylinderObject::setGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setGlobalAlphaForAllViewports()

MRC_API void MR_CylinderObject_setGlobalAlphaForAllViewports ( MR_CylinderObject * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_unsigned_char * val )

sets global transparency alpha of object in all viewports Generated from method MR::CylinderObject::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setGlobalClippedByPlane()

MRC_API void MR_CylinderObject_setGlobalClippedByPlane ( MR_CylinderObject * _this,
bool on,
const MR_ViewportMask * viewportMask )

if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR::CylinderObject::setGlobalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_CylinderObject_setGlobalVisibility()

MRC_API void MR_CylinderObject_setGlobalVisibility ( MR_CylinderObject * _this,
bool on,
const MR_ViewportMask * viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::CylinderObject::setGlobalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.

◆ MR_CylinderObject_setLength()

MRC_API void MR_CylinderObject_setLength ( MR_CylinderObject * _this,
float length,
const MR_ViewportId * id )

updates xf to fit cylinder length Generated from method MR::CylinderObject::setLength. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setLineWidth()

MRC_API void MR_CylinderObject_setLineWidth ( MR_CylinderObject * _this,
float lineWidth )

Generated from method MR::CylinderObject::setLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setLocked()

MRC_API void MR_CylinderObject_setLocked ( MR_CylinderObject * _this,
bool on )

Generated from method MR::CylinderObject::setLocked. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setMainFeatureAlpha()

MRC_API void MR_CylinderObject_setMainFeatureAlpha ( MR_CylinderObject * _this,
float alpha )

Generated from method MR::CylinderObject::setMainFeatureAlpha. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setName()

MRC_API void MR_CylinderObject_setName ( MR_CylinderObject * _this,
const char * name,
const char * name_end )

Generated from method MR::CylinderObject::setName. Parameter _this can not be null. It is a single object. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated.

◆ MR_CylinderObject_setParentLocked()

MRC_API void MR_CylinderObject_setParentLocked ( MR_CylinderObject * _this,
bool lock )

Generated from method MR::CylinderObject::setParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setPickable()

MRC_API void MR_CylinderObject_setPickable ( MR_CylinderObject * _this,
bool on,
const MR_ViewportMask * viewportMask )

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::CylinderObject::setPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_CylinderObject_setPointSize()

MRC_API void MR_CylinderObject_setPointSize ( MR_CylinderObject * _this,
float pointSize )

Generated from method MR::CylinderObject::setPointSize. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setRadius()

MRC_API void MR_CylinderObject_setRadius ( MR_CylinderObject * _this,
float radius,
const MR_ViewportId * id )

updates xf to fit given radius Generated from method MR::CylinderObject::setRadius. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setShininess()

MRC_API void MR_CylinderObject_setShininess ( MR_CylinderObject * _this,
float shininess )

sets shininess visual value of the object with given argument Generated from method MR::CylinderObject::setShininess. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSpecularStrength()

MRC_API void MR_CylinderObject_setSpecularStrength ( MR_CylinderObject * _this,
float specularStrength )

sets intensity of reflections Generated from method MR::CylinderObject::setSpecularStrength. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSubfeatureAlphaLines()

MRC_API void MR_CylinderObject_setSubfeatureAlphaLines ( MR_CylinderObject * _this,
float alpha )

Generated from method MR::CylinderObject::setSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSubfeatureAlphaMesh()

MRC_API void MR_CylinderObject_setSubfeatureAlphaMesh ( MR_CylinderObject * _this,
float alpha )

Generated from method MR::CylinderObject::setSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSubfeatureAlphaPoints()

MRC_API void MR_CylinderObject_setSubfeatureAlphaPoints ( MR_CylinderObject * _this,
float alpha )

Generated from method MR::CylinderObject::setSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSubfeatureLineWidth()

MRC_API void MR_CylinderObject_setSubfeatureLineWidth ( MR_CylinderObject * _this,
float lineWidth )

Generated from method MR::CylinderObject::setSubfeatureLineWidth. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setSubfeaturePointSize()

MRC_API void MR_CylinderObject_setSubfeaturePointSize ( MR_CylinderObject * _this,
float pointSize )

Generated from method MR::CylinderObject::setSubfeaturePointSize. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization()

MRC_API void MR_CylinderObject_setUseDefaultScenePropertiesOnDeserialization ( MR_CylinderObject * _this,
bool useDefaultScenePropertiesOnDeserialization )

set whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::CylinderObject::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_setVisibilityMask()

MRC_API void MR_CylinderObject_setVisibilityMask ( MR_CylinderObject * _this,
const MR_ViewportMask * viewportMask )

specifies object visibility as bitmask of viewports Generated from method MR::CylinderObject::setVisibilityMask. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_setVisible()

MRC_API void MR_CylinderObject_setVisible ( MR_CylinderObject * _this,
bool on,
const MR_ViewportMask * viewportMask )

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::CylinderObject::setVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.

◆ MR_CylinderObject_setVisualizeProperty()

MRC_API void MR_CylinderObject_setVisualizeProperty ( MR_CylinderObject * _this,
bool value,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property in all viewports specified by the mask Generated from method MR::CylinderObject::setVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_setVisualizePropertyMask()

MRC_API void MR_CylinderObject_setVisualizePropertyMask ( MR_CylinderObject * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property mask Generated from method MR::CylinderObject::setVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_setWorldXf()

MRC_API void MR_CylinderObject_setWorldXf ( MR_CylinderObject * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::CylinderObject::setWorldXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setXf()

MRC_API void MR_CylinderObject_setXf ( MR_CylinderObject * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::CylinderObject::setXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_CylinderObject_setXfsForAllViewports()

MRC_API void MR_CylinderObject_setXfsForAllViewports ( MR_CylinderObject * _this,
MR_PassBy xf_pass_by,
MR_ViewportProperty_MR_AffineXf3f * xf )

modifies xfs for all viewports at once Generated from method MR::CylinderObject::setXfsForAllViewports. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_shallowClone ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::shallowClone. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_shallowCloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_CylinderObject_shallowCloneTree ( const MR_CylinderObject * _this)

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::CylinderObject::shallowCloneTree. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_sortChildren()

MRC_API void MR_CylinderObject_sortChildren ( MR_CylinderObject * _this)

sort recognized children by name Generated from method MR::CylinderObject::sortChildren. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_StaticClassName()

MRC_API const char * MR_CylinderObject_StaticClassName ( void )

Generated from method MR::CylinderObject::StaticClassName.

◆ MR_CylinderObject_StaticClassNameInPlural()

MRC_API const char * MR_CylinderObject_StaticClassNameInPlural ( void )

◆ MR_CylinderObject_StaticTypeName()

MRC_API const char * MR_CylinderObject_StaticTypeName ( void )

Generated from method MR::CylinderObject::StaticTypeName.

◆ MR_CylinderObject_supportsVisualizeProperty()

MRC_API bool MR_CylinderObject_supportsVisualizeProperty ( const MR_CylinderObject * _this,
const MR_AnyVisualizeMaskEnum * type )

Generated from method MR::CylinderObject::supportsVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object.

◆ MR_CylinderObject_swap()

MRC_API void MR_CylinderObject_swap ( MR_CylinderObject * _this,
MR_Object * other )

swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR::CylinderObject::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_CylinderObject_tags()

MRC_API const MR_std_set_std_string * MR_CylinderObject_tags ( const MR_CylinderObject * _this)

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::CylinderObject::tags. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_toggleVisualizeProperty()

MRC_API void MR_CylinderObject_toggleVisualizeProperty ( MR_CylinderObject * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

toggle visual property in all viewports specified by the mask Generated from method MR::CylinderObject::toggleVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_CylinderObject_typeName()

MRC_API const char * MR_CylinderObject_typeName ( const MR_CylinderObject * _this)

Generated from method MR::CylinderObject::typeName. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length()

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)

Upcasts an instance of MR::CylinderObject to its base class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. This version is acting on mutable pointers.

◆ MR_CylinderObject_UpcastTo_MR_FeatureObject()

MRC_API const MR_FeatureObject * MR_CylinderObject_UpcastTo_MR_FeatureObject ( const MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::FeatureObject. This version is acting on mutable pointers.

◆ MR_CylinderObject_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_CylinderObject_UpcastTo_MR_Object ( const MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::Object. This version is acting on mutable pointers.

◆ MR_CylinderObject_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_CylinderObject_UpcastTo_MR_ObjectChildrenHolder ( const MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.

◆ MR_CylinderObject_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_CylinderObject_UpcastTo_MR_VisualObject ( const MR_CylinderObject * object)

Upcasts an instance of MR::CylinderObject to its base class MR::VisualObject. This version is acting on mutable pointers.

◆ MR_CylinderObject_useDefaultScenePropertiesOnDeserialization()

MRC_API bool MR_CylinderObject_useDefaultScenePropertiesOnDeserialization ( const MR_CylinderObject * _this)

whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::CylinderObject::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_CylinderObject_visibilityMask()

MRC_API MR_ViewportMask * MR_CylinderObject_visibilityMask ( const MR_CylinderObject * _this)

gets object visibility as bitmask of viewports Generated from method MR::CylinderObject::visibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.

◆ MR_CylinderObject_worldXf()

MRC_API MR_AffineXf3f MR_CylinderObject_worldXf ( const MR_CylinderObject * _this,
const MR_ViewportId * id,
bool * isDef )

this space to world space transformation for default or specific viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::CylinderObject::worldXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++.

◆ MR_CylinderObject_xf()

MRC_API const MR_AffineXf3f * MR_CylinderObject_xf ( const MR_CylinderObject * _this,
const MR_ViewportId * id,
bool * isDef )

this space to parent space transformation (to world space if no parent) for default or given viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::CylinderObject::xf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_CylinderObject_xfsForAllViewports()

MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_CylinderObject_xfsForAllViewports ( const MR_CylinderObject * _this)

returns xfs for all viewports, combined into a single object Generated from method MR::CylinderObject::xfsForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.