MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectDistanceMap.h File Reference
#include <MRCMesh/MRAffineXf.h>
#include <MRCMesh/MRBox.h>
#include <MRCMesh/MREnums.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_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
 
typedef struct MR_Color MR_Color
 
typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_FaceColors MR_FaceColors
 
typedef struct MR_FaceMap MR_FaceMap
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_MeshTexture MR_MeshTexture
 
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_ObjectMeshData MR_ObjectMeshData
 
typedef struct MR_ObjectMeshHolder MR_ObjectMeshHolder
 
typedef struct MR_TexturePerFace MR_TexturePerFace
 
typedef struct MR_UiRenderParams MR_UiRenderParams
 
typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
 
typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId
 
typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_VertCoords2 MR_VertCoords2
 
typedef struct MR_VertMap MR_VertMap
 
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_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_set_std_string MR_std_set_std_string
 
typedef struct MR_std_shared_ptr_MR_DistanceMap MR_std_shared_ptr_MR_DistanceMap
 
typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
 
typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
 
typedef struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
 
typedef struct MR_std_string MR_std_string
 
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_ObjectDistanceMap MR_ObjectDistanceMap
 

Functions

MRC_API MR_ObjectDistanceMapMR_ObjectDistanceMap_DefaultConstruct (void)
 
MRC_API MR_ObjectDistanceMapMR_ObjectDistanceMap_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_ObjectDistanceMapMR_ObjectDistanceMap_OffsetPtr (const MR_ObjectDistanceMap *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_ObjectDistanceMapMR_ObjectDistanceMap_OffsetMutablePtr (MR_ObjectDistanceMap *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_ObjectDistanceMap_UpcastTo_MR_ObjectChildrenHolder (const MR_ObjectDistanceMap *object)
 
MRC_API MR_ObjectChildrenHolderMR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectChildrenHolder (MR_ObjectDistanceMap *object)
 Upcasts an instance of MR::ObjectDistanceMap to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_ObjectMR_ObjectDistanceMap_UpcastTo_MR_Object (const MR_ObjectDistanceMap *object)
 
MRC_API MR_ObjectMR_ObjectDistanceMap_MutableUpcastTo_MR_Object (MR_ObjectDistanceMap *object)
 Upcasts an instance of MR::ObjectDistanceMap to its base class MR::Object.
 
MRC_API const MR_VisualObjectMR_ObjectDistanceMap_UpcastTo_MR_VisualObject (const MR_ObjectDistanceMap *object)
 
MRC_API MR_VisualObjectMR_ObjectDistanceMap_MutableUpcastTo_MR_VisualObject (MR_ObjectDistanceMap *object)
 Upcasts an instance of MR::ObjectDistanceMap to its base class MR::VisualObject.
 
MRC_API const MR_ObjectMeshHolderMR_ObjectDistanceMap_UpcastTo_MR_ObjectMeshHolder (const MR_ObjectDistanceMap *object)
 
MRC_API MR_ObjectMeshHolderMR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectMeshHolder (MR_ObjectDistanceMap *object)
 Upcasts an instance of MR::ObjectDistanceMap to its base class MR::ObjectMeshHolder.
 
MRC_API MR_ObjectDistanceMapMR_ObjectDistanceMap_ConstructFromAnother (MR_PassBy _other_pass_by, MR_ObjectDistanceMap *_other)
 
MRC_API void MR_ObjectDistanceMap_Destroy (const MR_ObjectDistanceMap *_this)
 Destroys a heap-allocated instance of MR_ObjectDistanceMap. Does nothing if the pointer is null.
 
MRC_API void MR_ObjectDistanceMap_DestroyArray (const MR_ObjectDistanceMap *_this)
 Destroys a heap-allocated array of MR_ObjectDistanceMap. Does nothing if the pointer is null.
 
MRC_API MR_ObjectDistanceMapMR_ObjectDistanceMap_AssignFromAnother (MR_ObjectDistanceMap *_this, MR_PassBy _other_pass_by, MR_ObjectDistanceMap *_other)
 
MRC_API const char * MR_ObjectDistanceMap_StaticTypeName (void)
 Generated from method MR::ObjectDistanceMap::StaticTypeName.
 
MRC_API const char * MR_ObjectDistanceMap_typeName (const MR_ObjectDistanceMap *_this)
 
MRC_API const char * MR_ObjectDistanceMap_StaticClassName (void)
 Generated from method MR::ObjectDistanceMap::StaticClassName.
 
MRC_API MR_std_stringMR_ObjectDistanceMap_className (const MR_ObjectDistanceMap *_this)
 
MRC_API const char * MR_ObjectDistanceMap_StaticClassNameInPlural (void)
 Generated from method MR::ObjectDistanceMap::StaticClassNameInPlural.
 
MRC_API MR_std_stringMR_ObjectDistanceMap_classNameInPlural (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_applyScale (MR_ObjectDistanceMap *_this, float scaleFactor)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectDistanceMap_clone (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectDistanceMap_shallowClone (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_std_vector_std_stringMR_ObjectDistanceMap_getInfoLines (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_setDistanceMap (MR_ObjectDistanceMap *_this, const MR_std_shared_ptr_MR_DistanceMap *dmap, const MR_AffineXf3f *dmap2local, const bool *needUpdateMesh, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API MR_std_shared_ptr_MR_MeshMR_ObjectDistanceMap_calculateMesh (const MR_ObjectDistanceMap *_this, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 
MRC_API void MR_ObjectDistanceMap_updateMesh (MR_ObjectDistanceMap *_this, const MR_std_shared_ptr_MR_Mesh *mesh)
 
MRC_API const MR_std_shared_ptr_MR_DistanceMapMR_ObjectDistanceMap_getDistanceMap (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_hasModel (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_AffineXf3fMR_ObjectDistanceMap_getToWorldParameters (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_heapBytes (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_resetFrontColor (MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_hasVisualRepresentation (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_std_shared_ptr_const_MR_MeshMR_ObjectDistanceMap_mesh (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_MeshPartMR_ObjectDistanceMap_meshPart (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setDirtyFlags (MR_ObjectDistanceMap *_this, unsigned int mask, const bool *invalidateCaches)
 
MRC_API const MR_FaceBitSetMR_ObjectDistanceMap_getSelectedFaces (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_selectFaces (MR_ObjectDistanceMap *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getSelectedFacesColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_setSelectedFacesColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *id)
 
MRC_API const MR_UndirectedEdgeBitSetMR_ObjectDistanceMap_getSelectedEdges (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_selectEdges (MR_ObjectDistanceMap *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getSelectedEdgesColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_setSelectedEdgesColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *id)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getSelectedEdgesColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setSelectedEdgesColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getSelectedFacesColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setSelectedFacesColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getEdgesColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setEdgesColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getPointsColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setPointsColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getBordersColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setBordersColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API void MR_ObjectDistanceMap_copyAllSolidColors (MR_ObjectDistanceMap *_this, const MR_ObjectMeshHolder *other)
 
MRC_API const MR_UndirectedEdgeBitSetMR_ObjectDistanceMap_creases (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setCreases (MR_ObjectDistanceMap *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases)
 
MRC_API void MR_ObjectDistanceMap_setFlatShading (MR_ObjectDistanceMap *_this, bool on)
 
MRC_API bool MR_ObjectDistanceMap_flatShading (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_supportsVisualizeProperty (const MR_ObjectDistanceMap *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API MR_std_vector_MR_ViewportMaskMR_ObjectDistanceMap_getAllVisualizeProperties (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_ViewportMaskMR_ObjectDistanceMap_getVisualizePropertyMask (const MR_ObjectDistanceMap *_this, const MR_AnyVisualizeMaskEnum *type)
 
MRC_API const MR_ObjectMeshDataMR_ObjectDistanceMap_data (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setData (MR_ObjectDistanceMap *_this, MR_ObjectMeshData *data)
 
MRC_API void MR_ObjectDistanceMap_updateData (MR_ObjectDistanceMap *_this, MR_ObjectMeshData *data)
 
MRC_API const MR_VertColorsMR_ObjectDistanceMap_getVertsColorMap (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setVertsColorMap (MR_ObjectDistanceMap *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
 
MRC_API void MR_ObjectDistanceMap_updateVertsColorMap (MR_ObjectDistanceMap *_this, MR_VertColors *vertsColorMap)
 
MRC_API const MR_FaceColorsMR_ObjectDistanceMap_getFacesColorMap (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setFacesColorMap (MR_ObjectDistanceMap *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap)
 
MRC_API void MR_ObjectDistanceMap_updateFacesColorMap (MR_ObjectDistanceMap *_this, MR_FaceColors *updated)
 
MRC_API void MR_ObjectDistanceMap_setEdgeWidth (MR_ObjectDistanceMap *_this, float edgeWidth)
 
MRC_API float MR_ObjectDistanceMap_getEdgeWidth (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setPointSize (MR_ObjectDistanceMap *_this, float size)
 
MRC_API float MR_ObjectDistanceMap_getPointSize (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getEdgesColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_setEdgesColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *id)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getPointsColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_setPointsColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *id)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getBordersColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_setBordersColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *id)
 
MRC_API const MR_MeshTextureMR_ObjectDistanceMap_getTexture (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_Vector_MR_MeshTexture_MR_TextureIdMR_ObjectDistanceMap_getTextures (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setTextures (MR_ObjectDistanceMap *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture)
 
MRC_API void MR_ObjectDistanceMap_updateTextures (MR_ObjectDistanceMap *_this, MR_Vector_MR_MeshTexture_MR_TextureId *updated)
 
MRC_API void MR_ObjectDistanceMap_setTexturePerFace (MR_ObjectDistanceMap *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace)
 
MRC_API void MR_ObjectDistanceMap_updateTexturePerFace (MR_ObjectDistanceMap *_this, MR_TexturePerFace *texturePerFace)
 
MRC_API void MR_ObjectDistanceMap_addTexture (MR_ObjectDistanceMap *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
 
MRC_API const MR_TexturePerFaceMR_ObjectDistanceMap_getTexturePerFace (const MR_ObjectDistanceMap *_this)
 
MRC_API const MR_VertCoords2MR_ObjectDistanceMap_getUVCoords (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setUVCoords (MR_ObjectDistanceMap *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
 
MRC_API void MR_ObjectDistanceMap_updateUVCoords (MR_ObjectDistanceMap *_this, MR_VertCoords2 *updated)
 
MRC_API void MR_ObjectDistanceMap_copyTextureAndColors (MR_ObjectDistanceMap *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
 
MRC_API void MR_ObjectDistanceMap_copyColors (MR_ObjectDistanceMap *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
 
MRC_API const MR_MeshTextureMR_ObjectDistanceMap_getAncillaryTexture (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setAncillaryTexture (MR_ObjectDistanceMap *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
 
MRC_API const MR_VertCoords2MR_ObjectDistanceMap_getAncillaryUVCoords (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setAncillaryUVCoords (MR_ObjectDistanceMap *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
 
MRC_API void MR_ObjectDistanceMap_updateAncillaryUVCoords (MR_ObjectDistanceMap *_this, MR_VertCoords2 *updated)
 
MRC_API bool MR_ObjectDistanceMap_hasAncillaryTexture (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_clearAncillaryTexture (MR_ObjectDistanceMap *_this)
 
MRC_API unsigned int MR_ObjectDistanceMap_getNeededNormalsRenderDirtyValue (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectDistanceMap_getRedrawFlag (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectDistanceMap_isMeshClosed (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_Box3f MR_ObjectDistanceMap_getWorldBox (const MR_ObjectDistanceMap *_this, const MR_ViewportId *_1)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numSelectedFaces (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numSelectedEdges (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numCreaseEdges (const MR_ObjectDistanceMap *_this)
 
MRC_API double MR_ObjectDistanceMap_totalArea (const MR_ObjectDistanceMap *_this)
 
MRC_API double MR_ObjectDistanceMap_selectedArea (const MR_ObjectDistanceMap *_this)
 
MRC_API double MR_ObjectDistanceMap_volume (const MR_ObjectDistanceMap *_this)
 
MRC_API float MR_ObjectDistanceMap_avgEdgeLen (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numUndirectedEdges (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numHoles (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numComponents (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_numHandles (const MR_ObjectDistanceMap *_this)
 
MRC_API const char * MR_ObjectDistanceMap_serializeFormat (const MR_ObjectDistanceMap *_this)
 
MRC_API const char * MR_ObjectDistanceMap_actualSerializeFormat (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setSerializeFormat (MR_ObjectDistanceMap *_this, const char *newFormat)
 
MRC_API void MR_ObjectDistanceMap_resetColors (MR_ObjectDistanceMap *_this)
 
MRC_API MR_uint64_t MR_ObjectDistanceMap_getModelHash (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_sameModels (const MR_ObjectDistanceMap *_this, const MR_Object *other)
 
MRC_API void MR_ObjectDistanceMap_setVisualizeProperty (MR_ObjectDistanceMap *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setVisualizePropertyMask (MR_ObjectDistanceMap *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectDistanceMap_getVisualizeProperty (const MR_ObjectDistanceMap *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_toggleVisualizeProperty (MR_ObjectDistanceMap *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setAllVisualizeProperties (MR_ObjectDistanceMap *_this, const MR_std_vector_MR_ViewportMask *properties)
 
MRC_API MR_ViewportMaskMR_ObjectDistanceMap_globalClippedByPlaneMask (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_globalClippedByPlane (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setGlobalClippedByPlane (MR_ObjectDistanceMap *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getFrontColor (const MR_ObjectDistanceMap *_this, const bool *selected, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectDistanceMap_setFrontColor (MR_ObjectDistanceMap *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getFrontColorsForAllViewports (const MR_ObjectDistanceMap *_this, const bool *selected)
 
MRC_API void MR_ObjectDistanceMap_setFrontColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
 
MRC_API const MR_ViewportProperty_MR_ColorMR_ObjectDistanceMap_getBackColorsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setBackColorsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
 
MRC_API const MR_ColorMR_ObjectDistanceMap_getBackColor (const MR_ObjectDistanceMap *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectDistanceMap_setBackColor (MR_ObjectDistanceMap *_this, const MR_Color *color, const MR_ViewportId *viewportId)
 
MRC_API const unsigned char * MR_ObjectDistanceMap_getGlobalAlpha (const MR_ObjectDistanceMap *_this, const MR_ViewportId *viewportId)
 
MRC_API void MR_ObjectDistanceMap_setGlobalAlpha (MR_ObjectDistanceMap *_this, unsigned char alpha, const MR_ViewportId *viewportId)
 
MRC_API const MR_ViewportProperty_unsigned_charMR_ObjectDistanceMap_getGlobalAlphaForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setGlobalAlphaForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
 
MRC_API unsigned int MR_ObjectDistanceMap_getDirtyFlags (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_resetDirty (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_resetDirtyExceptMask (const MR_ObjectDistanceMap *_this, unsigned int mask)
 
MRC_API MR_Box3f MR_ObjectDistanceMap_getBoundingBox (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_isPickable (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setPickable (MR_ObjectDistanceMap *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ColoringType MR_ObjectDistanceMap_getColoringType (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setColoringType (MR_ObjectDistanceMap *_this, MR_ColoringType coloringType)
 
MRC_API float MR_ObjectDistanceMap_getShininess (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setShininess (MR_ObjectDistanceMap *_this, float shininess)
 
MRC_API float MR_ObjectDistanceMap_getSpecularStrength (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setSpecularStrength (MR_ObjectDistanceMap *_this, float specularStrength)
 
MRC_API float MR_ObjectDistanceMap_getAmbientStrength (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setAmbientStrength (MR_ObjectDistanceMap *_this, float ambientStrength)
 
MRC_API bool MR_ObjectDistanceMap_render (const MR_ObjectDistanceMap *_this, const MR_ModelRenderParams *_1)
 
MRC_API void MR_ObjectDistanceMap_renderForPicker (const MR_ObjectDistanceMap *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
 
MRC_API void MR_ObjectDistanceMap_renderUi (const MR_ObjectDistanceMap *_this, const MR_UiRenderParams *params)
 
MRC_API bool MR_ObjectDistanceMap_useDefaultScenePropertiesOnDeserialization (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setUseDefaultScenePropertiesOnDeserialization (MR_ObjectDistanceMap *_this, bool useDefaultScenePropertiesOnDeserialization)
 
MRC_API const MR_std_stringMR_ObjectDistanceMap_name (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setName (MR_ObjectDistanceMap *_this, const char *name, const char *name_end)
 
MRC_API const MR_AffineXf3fMR_ObjectDistanceMap_xf (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectDistanceMap_setXf (MR_ObjectDistanceMap *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API void MR_ObjectDistanceMap_resetXf (MR_ObjectDistanceMap *_this, const MR_ViewportId *id)
 
MRC_API const MR_ViewportProperty_MR_AffineXf3fMR_ObjectDistanceMap_xfsForAllViewports (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setXfsForAllViewports (MR_ObjectDistanceMap *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
 
MRC_API MR_AffineXf3f MR_ObjectDistanceMap_worldXf (const MR_ObjectDistanceMap *_this, const MR_ViewportId *id, bool *isDef)
 
MRC_API void MR_ObjectDistanceMap_setWorldXf (MR_ObjectDistanceMap *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
 
MRC_API MR_ViewportMaskMR_ObjectDistanceMap_globalVisibilityMask (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_globalVisibility (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setGlobalVisibility (MR_ObjectDistanceMap *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectDistanceMap_isLocked (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setLocked (MR_ObjectDistanceMap *_this, bool on)
 
MRC_API bool MR_ObjectDistanceMap_isParentLocked (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setParentLocked (MR_ObjectDistanceMap *_this, bool lock)
 
MRC_API bool MR_ObjectDistanceMap_isAncestor (const MR_ObjectDistanceMap *_this, const MR_Object *ancestor)
 
MRC_API bool MR_ObjectDistanceMap_detachFromParent (MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_addChild (MR_ObjectDistanceMap *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
 
MRC_API bool MR_ObjectDistanceMap_addChildBefore (MR_ObjectDistanceMap *_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_ObjectDistanceMap_removeAllChildren (MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_sortChildren (MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_select (MR_ObjectDistanceMap *_this, bool on)
 
MRC_API bool MR_ObjectDistanceMap_isSelected (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setAncillary (MR_ObjectDistanceMap *_this, bool ancillary)
 
MRC_API bool MR_ObjectDistanceMap_isAncillary (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_isGlobalAncillary (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_setVisible (MR_ObjectDistanceMap *_this, bool on, const MR_ViewportMask *viewportMask)
 
MRC_API bool MR_ObjectDistanceMap_isVisible (const MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API void MR_ObjectDistanceMap_setVisibilityMask (MR_ObjectDistanceMap *_this, const MR_ViewportMask *viewportMask)
 
MRC_API MR_ViewportMaskMR_ObjectDistanceMap_visibilityMask (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_resetRedrawFlag (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectDistanceMap_cloneTree (const MR_ObjectDistanceMap *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectDistanceMap_shallowCloneTree (const MR_ObjectDistanceMap *_this)
 
MRC_API void MR_ObjectDistanceMap_swap (MR_ObjectDistanceMap *_this, MR_Object *other)
 
MRC_API MR_Box3f MR_ObjectDistanceMap_getWorldTreeBox (const MR_ObjectDistanceMap *_this, const MR_ViewportId *_1)
 
MRC_API const MR_std_set_std_stringMR_ObjectDistanceMap_tags (const MR_ObjectDistanceMap *_this)
 
MRC_API bool MR_ObjectDistanceMap_addTag (MR_ObjectDistanceMap *_this, const char *tag, const char *tag_end)
 
MRC_API bool MR_ObjectDistanceMap_removeTag (MR_ObjectDistanceMap *_this, const char *tag, const char *tag_end)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_ObjectDistanceMap_getSharedPtr (const MR_ObjectDistanceMap *_this)
 

Typedef Documentation

◆ MR_AnyVisualizeMaskEnum

◆ MR_Color

typedef struct MR_Color MR_Color

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FaceColors

typedef struct MR_FaceColors MR_FaceColors

◆ MR_FaceMap

typedef struct MR_FaceMap MR_FaceMap

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

◆ MR_MeshTexture

◆ MR_ModelBaseRenderParams

◆ MR_ModelRenderParams

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_ObjectDistanceMap

This class stores information about distance map object Generated from class MR::ObjectDistanceMap. Base classes: Direct: (non-virtual) MR::ObjectMeshHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_ObjectMeshData

◆ MR_ObjectMeshHolder

◆ MR_std_function_bool_from_float

◆ MR_std_set_std_string

◆ MR_std_shared_ptr_const_MR_Mesh

◆ MR_std_shared_ptr_MR_DistanceMap

◆ MR_std_shared_ptr_MR_Mesh

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_MR_ViewportMask

◆ MR_std_vector_std_string

◆ MR_TexturePerFace

◆ MR_UiRenderParams

◆ MR_UndirectedEdgeBitSet

◆ MR_Vector_MR_MeshTexture_MR_TextureId

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

◆ MR_VertCoords2

◆ MR_VertMap

typedef struct MR_VertMap MR_VertMap

◆ MR_ViewportMask

◆ MR_ViewportProperty_MR_AffineXf3f

◆ MR_ViewportProperty_MR_Color

◆ MR_ViewportProperty_unsigned_char

◆ MR_VisualObject

Function Documentation

◆ MR_ObjectDistanceMap_actualSerializeFormat()

MRC_API const char * MR_ObjectDistanceMap_actualSerializeFormat ( const MR_ObjectDistanceMap * _this)

returns overriden file extension used to serialize mesh inside this object if set, or defaultSerializeMeshFormat().c_str() otherwise; never returns nullptr Generated from method MR::ObjectDistanceMap::actualSerializeFormat. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_addChild()

MRC_API bool MR_ObjectDistanceMap_addChild ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_addChildBefore()

MRC_API bool MR_ObjectDistanceMap_addChildBefore ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.

◆ MR_ObjectDistanceMap_addTag()

MRC_API bool MR_ObjectDistanceMap_addTag ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_addTexture()

MRC_API void MR_ObjectDistanceMap_addTexture ( MR_ObjectDistanceMap * _this,
MR_PassBy texture_pass_by,
MR_MeshTexture * texture )

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

◆ MR_ObjectDistanceMap_applyScale()

MRC_API void MR_ObjectDistanceMap_applyScale ( MR_ObjectDistanceMap * _this,
float scaleFactor )

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

◆ MR_ObjectDistanceMap_AssignFromAnother()

MRC_API MR_ObjectDistanceMap * MR_ObjectDistanceMap_AssignFromAnother ( MR_ObjectDistanceMap * _this,
MR_PassBy _other_pass_by,
MR_ObjectDistanceMap * _other )

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_avgEdgeLen()

MRC_API float MR_ObjectDistanceMap_avgEdgeLen ( const MR_ObjectDistanceMap * _this)

returns cached average edge length Generated from method MR::ObjectDistanceMap::avgEdgeLen. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_calculateMesh()

MRC_API MR_std_shared_ptr_MR_Mesh * MR_ObjectDistanceMap_calculateMesh ( const MR_ObjectDistanceMap * _this,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

creates a grid for this object Generated from method MR::ObjectDistanceMap::calculateMesh. Parameter _this can not be null. It is a single object. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Mesh_Destroy() to free it when you're done using it.

◆ MR_ObjectDistanceMap_className()

MRC_API MR_std_string * MR_ObjectDistanceMap_className ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_classNameInPlural()

MRC_API MR_std_string * MR_ObjectDistanceMap_classNameInPlural ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_clearAncillaryTexture()

MRC_API void MR_ObjectDistanceMap_clearAncillaryTexture ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectDistanceMap_clone ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_cloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectDistanceMap_cloneTree ( const MR_ObjectDistanceMap * _this)

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_ConstructFromAnother()

MRC_API MR_ObjectDistanceMap * MR_ObjectDistanceMap_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_ObjectDistanceMap * _other )

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

◆ MR_ObjectDistanceMap_copyAllSolidColors()

MRC_API void MR_ObjectDistanceMap_copyAllSolidColors ( MR_ObjectDistanceMap * _this,
const MR_ObjectMeshHolder * other )

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

◆ MR_ObjectDistanceMap_copyColors()

MRC_API void MR_ObjectDistanceMap_copyColors ( MR_ObjectDistanceMap * _this,
const MR_ObjectMeshHolder * src,
const MR_VertMap * thisToSrc,
const MR_FaceMap * thisToSrcFaces )

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectDistanceMap::copyColors. Parameter _this can not be null. It is a single object. Parameter src can not be null. It is a single object. Parameter thisToSrc can not be null. It is a single object. Parameter thisToSrcFaces is a single object. Parameter thisToSrcFaces has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectDistanceMap_copyTextureAndColors()

MRC_API void MR_ObjectDistanceMap_copyTextureAndColors ( MR_ObjectDistanceMap * _this,
const MR_ObjectMeshHolder * src,
const MR_VertMap * thisToSrc,
const MR_FaceMap * thisToSrcFaces )

copies texture, UV-coordinates and vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectDistanceMap::copyTextureAndColors. Parameter _this can not be null. It is a single object. Parameter src can not be null. It is a single object. Parameter thisToSrc can not be null. It is a single object. Parameter thisToSrcFaces is a single object. Parameter thisToSrcFaces has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectDistanceMap_creases()

MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectDistanceMap_creases ( const MR_ObjectDistanceMap * _this)

Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectDistanceMap::creases. 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_ObjectDistanceMap_data()

MRC_API const MR_ObjectMeshData * MR_ObjectDistanceMap_data ( const MR_ObjectDistanceMap * _this)

provides read-only access to whole ObjectMeshData Generated from method MR::ObjectDistanceMap::data. 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_ObjectDistanceMap_DefaultConstruct()

MRC_API MR_ObjectDistanceMap * MR_ObjectDistanceMap_DefaultConstruct ( void )

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

◆ MR_ObjectDistanceMap_DefaultConstructArray()

MRC_API MR_ObjectDistanceMap * MR_ObjectDistanceMap_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_ObjectDistanceMap_DestroyArray(). Use MR_ObjectDistanceMap_OffsetMutablePtr() and MR_ObjectDistanceMap_OffsetPtr() to access the array elements.

◆ MR_ObjectDistanceMap_Destroy()

MRC_API void MR_ObjectDistanceMap_Destroy ( const MR_ObjectDistanceMap * _this)

Destroys a heap-allocated instance of MR_ObjectDistanceMap. Does nothing if the pointer is null.

◆ MR_ObjectDistanceMap_DestroyArray()

MRC_API void MR_ObjectDistanceMap_DestroyArray ( const MR_ObjectDistanceMap * _this)

Destroys a heap-allocated array of MR_ObjectDistanceMap. Does nothing if the pointer is null.

◆ MR_ObjectDistanceMap_detachFromParent()

MRC_API bool MR_ObjectDistanceMap_detachFromParent ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_flatShading()

MRC_API bool MR_ObjectDistanceMap_flatShading ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getAllVisualizeProperties()

MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectDistanceMap_getAllVisualizeProperties ( const MR_ObjectDistanceMap * _this)

get all visualize properties masks Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getAmbientStrength()

MRC_API float MR_ObjectDistanceMap_getAmbientStrength ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getAncillaryTexture()

MRC_API const MR_MeshTexture * MR_ObjectDistanceMap_getAncillaryTexture ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getAncillaryTexture. 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_ObjectDistanceMap_getAncillaryUVCoords()

MRC_API const MR_VertCoords2 * MR_ObjectDistanceMap_getAncillaryUVCoords ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getAncillaryUVCoords. 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_ObjectDistanceMap_getBackColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getBackColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * viewportId )

returns backward color of object in given viewport Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getBackColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getBackColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

returns backward color of object in all viewports Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getBordersColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getBordersColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

Generated from method MR::ObjectDistanceMap::getBordersColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectDistanceMap_getBordersColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getBordersColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getBordersColorsForAllViewports. 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_ObjectDistanceMap_getBoundingBox()

MRC_API MR_Box3f MR_ObjectDistanceMap_getBoundingBox ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getColoringType()

MRC_API MR_ColoringType MR_ObjectDistanceMap_getColoringType ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getDirtyFlags()

MRC_API unsigned int MR_ObjectDistanceMap_getDirtyFlags ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getDistanceMap()

MRC_API const MR_std_shared_ptr_MR_DistanceMap * MR_ObjectDistanceMap_getDistanceMap ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getDistanceMap. 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_ObjectDistanceMap_getEdgesColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getEdgesColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

Generated from method MR::ObjectDistanceMap::getEdgesColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectDistanceMap_getEdgesColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getEdgesColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getEdgesColorsForAllViewports. 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_ObjectDistanceMap_getEdgeWidth()

MRC_API float MR_ObjectDistanceMap_getEdgeWidth ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getFacesColorMap()

MRC_API const MR_FaceColors * MR_ObjectDistanceMap_getFacesColorMap ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getFacesColorMap. 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_ObjectDistanceMap_getFrontColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getFrontColor ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_getFrontColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getFrontColorsForAllViewports ( const MR_ObjectDistanceMap * _this,
const bool * selected )

returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getGlobalAlpha()

MRC_API const unsigned char * MR_ObjectDistanceMap_getGlobalAlpha ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * viewportId )

returns global transparency alpha of object in given viewport Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getGlobalAlphaForAllViewports()

MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectDistanceMap_getGlobalAlphaForAllViewports ( const MR_ObjectDistanceMap * _this)

returns global transparency alpha of object in all viewports Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getInfoLines()

MRC_API MR_std_vector_std_string * MR_ObjectDistanceMap_getInfoLines ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getModelHash()

MRC_API MR_uint64_t MR_ObjectDistanceMap_getModelHash ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getNeededNormalsRenderDirtyValue()

MRC_API unsigned int MR_ObjectDistanceMap_getNeededNormalsRenderDirtyValue ( const MR_ObjectDistanceMap * _this,
const MR_ViewportMask * viewportMask )

returns dirty flag of currently using normal type if they are dirty in render representation Generated from method MR::ObjectDistanceMap::getNeededNormalsRenderDirtyValue. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectDistanceMap_getPointsColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getPointsColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

Generated from method MR::ObjectDistanceMap::getPointsColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectDistanceMap_getPointsColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getPointsColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getPointsColorsForAllViewports. 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_ObjectDistanceMap_getPointSize()

MRC_API float MR_ObjectDistanceMap_getPointSize ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getRedrawFlag()

MRC_API bool MR_ObjectDistanceMap_getRedrawFlag ( const MR_ObjectDistanceMap * _this,
const MR_ViewportMask * viewportMask )

Generated from method MR::ObjectDistanceMap::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.

◆ MR_ObjectDistanceMap_getSelectedEdges()

MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectDistanceMap_getSelectedEdges ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getSelectedEdges. 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_ObjectDistanceMap_getSelectedEdgesColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getSelectedEdgesColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

returns colors of selected edges Generated from method MR::ObjectDistanceMap::getSelectedEdgesColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectDistanceMap_getSelectedEdgesColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getSelectedEdgesColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getSelectedEdgesColorsForAllViewports. 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_ObjectDistanceMap_getSelectedFaces()

MRC_API const MR_FaceBitSet * MR_ObjectDistanceMap_getSelectedFaces ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getSelectedFaces. 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_ObjectDistanceMap_getSelectedFacesColor()

MRC_API const MR_Color * MR_ObjectDistanceMap_getSelectedFacesColor ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

returns colors of selected triangles Generated from method MR::ObjectDistanceMap::getSelectedFacesColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectDistanceMap_getSelectedFacesColorsForAllViewports()

MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectDistanceMap_getSelectedFacesColorsForAllViewports ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getSelectedFacesColorsForAllViewports. 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_ObjectDistanceMap_getSharedPtr()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectDistanceMap_getSharedPtr ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getShininess()

MRC_API float MR_ObjectDistanceMap_getShininess ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getSpecularStrength()

MRC_API float MR_ObjectDistanceMap_getSpecularStrength ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_getTexture()

MRC_API const MR_MeshTexture * MR_ObjectDistanceMap_getTexture ( const MR_ObjectDistanceMap * _this)

returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectDistanceMap::getTexture. 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_ObjectDistanceMap_getTexturePerFace()

MRC_API const MR_TexturePerFace * MR_ObjectDistanceMap_getTexturePerFace ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getTexturePerFace. 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_ObjectDistanceMap_getTextures()

MRC_API const MR_Vector_MR_MeshTexture_MR_TextureId * MR_ObjectDistanceMap_getTextures ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getTextures. 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_ObjectDistanceMap_getToWorldParameters()

MRC_API const MR_AffineXf3f * MR_ObjectDistanceMap_getToWorldParameters ( const MR_ObjectDistanceMap * _this)

unlike the name, actually it is the transformation from distance map in local space Generated from method MR::ObjectDistanceMap::getToWorldParameters. 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_ObjectDistanceMap_getUVCoords()

MRC_API const MR_VertCoords2 * MR_ObjectDistanceMap_getUVCoords ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::getUVCoords. 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_ObjectDistanceMap_getVertsColorMap()

MRC_API const MR_VertColors * MR_ObjectDistanceMap_getVertsColorMap ( const MR_ObjectDistanceMap * _this)

returns per-vertex colors of the object Generated from method MR::ObjectDistanceMap::getVertsColorMap. 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_ObjectDistanceMap_getVisualizeProperty()

MRC_API bool MR_ObjectDistanceMap_getVisualizeProperty ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_getVisualizePropertyMask()

MRC_API const MR_ViewportMask * MR_ObjectDistanceMap_getVisualizePropertyMask ( const MR_ObjectDistanceMap * _this,
const MR_AnyVisualizeMaskEnum * type )

returns mask of viewports where given property is set Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getWorldBox()

MRC_API MR_Box3f MR_ObjectDistanceMap_getWorldBox ( const MR_ObjectDistanceMap * _this,
const MR_ViewportId * _1 )

returns cached bounding box of this mesh object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_getWorldTreeBox()

MRC_API MR_Box3f MR_ObjectDistanceMap_getWorldTreeBox ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_globalClippedByPlane()

MRC_API bool MR_ObjectDistanceMap_globalClippedByPlane ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_globalClippedByPlaneMask()

MRC_API MR_ViewportMask * MR_ObjectDistanceMap_globalClippedByPlaneMask ( const MR_ObjectDistanceMap * _this)

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_globalVisibility()

MRC_API bool MR_ObjectDistanceMap_globalVisibility ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_globalVisibilityMask()

MRC_API MR_ViewportMask * MR_ObjectDistanceMap_globalVisibilityMask ( const MR_ObjectDistanceMap * _this)

returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_hasAncillaryTexture()

MRC_API bool MR_ObjectDistanceMap_hasAncillaryTexture ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_hasModel()

MRC_API bool MR_ObjectDistanceMap_hasModel ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_hasVisualRepresentation()

MRC_API bool MR_ObjectDistanceMap_hasVisualRepresentation ( const MR_ObjectDistanceMap * _this)

mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectDistanceMap::hasVisualRepresentation. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_heapBytes()

MRC_API MR_uint64_t MR_ObjectDistanceMap_heapBytes ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_isAncestor()

MRC_API bool MR_ObjectDistanceMap_isAncestor ( const MR_ObjectDistanceMap * _this,
const MR_Object * ancestor )

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

◆ MR_ObjectDistanceMap_isAncillary()

MRC_API bool MR_ObjectDistanceMap_isAncillary ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_isGlobalAncillary()

MRC_API bool MR_ObjectDistanceMap_isGlobalAncillary ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_isLocked()

MRC_API bool MR_ObjectDistanceMap_isLocked ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_isMeshClosed()

MRC_API bool MR_ObjectDistanceMap_isMeshClosed ( const MR_ObjectDistanceMap * _this)

returns cached information whether the mesh is closed Generated from method MR::ObjectDistanceMap::isMeshClosed. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_isParentLocked()

MRC_API bool MR_ObjectDistanceMap_isParentLocked ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::isParentLocked. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_isPickable()

MRC_API bool MR_ObjectDistanceMap_isPickable ( const MR_ObjectDistanceMap * _this,
const MR_ViewportMask * viewportMask )

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_isSelected()

MRC_API bool MR_ObjectDistanceMap_isSelected ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_isVisible()

MRC_API bool MR_ObjectDistanceMap_isVisible ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_mesh()

MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_ObjectDistanceMap_mesh ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::mesh. 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_ObjectDistanceMap_meshPart()

MRC_API MR_MeshPart * MR_ObjectDistanceMap_meshPart ( const MR_ObjectDistanceMap * _this)
Returns
the pair ( mesh, selected triangles ) if any triangle is selected or whole mesh otherwise Generated from method MR::ObjectDistanceMap::meshPart. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshPart_Destroy() to free it when you're done using it.

◆ MR_ObjectDistanceMap_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_ObjectDistanceMap_MutableUpcastTo_MR_Object ( MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectMeshHolder()

MRC_API MR_ObjectMeshHolder * MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectMeshHolder ( MR_ObjectDistanceMap * object)

Upcasts an instance of MR::ObjectDistanceMap to its base class MR::ObjectMeshHolder.

◆ MR_ObjectDistanceMap_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_ObjectDistanceMap_MutableUpcastTo_MR_VisualObject ( MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_name()

MRC_API const MR_std_string * MR_ObjectDistanceMap_name ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_numComponents()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numComponents ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of components in the mesh Generated from method MR::ObjectDistanceMap::numComponents. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numCreaseEdges()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numCreaseEdges ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numCreaseEdges. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numHandles()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numHandles ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of handles in the mesh Generated from method MR::ObjectDistanceMap::numHandles. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numHoles()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numHoles ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of holes in the mesh Generated from method MR::ObjectDistanceMap::numHoles. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numSelectedEdges()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numSelectedEdges ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numSelectedEdges. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numSelectedFaces()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numSelectedFaces ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectDistanceMap::numSelectedFaces. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_numUndirectedEdges()

MRC_API MR_uint64_t MR_ObjectDistanceMap_numUndirectedEdges ( const MR_ObjectDistanceMap * _this)

returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numUndirectedEdges. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_OffsetMutablePtr()

MRC_API MR_ObjectDistanceMap * MR_ObjectDistanceMap_OffsetMutablePtr ( MR_ObjectDistanceMap * 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_ObjectDistanceMap_OffsetPtr()

MRC_API const MR_ObjectDistanceMap * MR_ObjectDistanceMap_OffsetPtr ( const MR_ObjectDistanceMap * 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_ObjectDistanceMap_removeAllChildren()

MRC_API void MR_ObjectDistanceMap_removeAllChildren ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_removeTag()

MRC_API bool MR_ObjectDistanceMap_removeTag ( MR_ObjectDistanceMap * _this,
const char * tag,
const char * tag_end )

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_render()

MRC_API bool MR_ObjectDistanceMap_render ( const MR_ObjectDistanceMap * _this,
const MR_ModelRenderParams * _1 )

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

◆ MR_ObjectDistanceMap_renderForPicker()

MRC_API void MR_ObjectDistanceMap_renderForPicker ( const MR_ObjectDistanceMap * _this,
const MR_ModelBaseRenderParams * _1,
unsigned int _2 )

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

◆ MR_ObjectDistanceMap_renderUi()

MRC_API void MR_ObjectDistanceMap_renderUi ( const MR_ObjectDistanceMap * _this,
const MR_UiRenderParams * params )

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

◆ MR_ObjectDistanceMap_resetColors()

MRC_API void MR_ObjectDistanceMap_resetColors ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_resetDirty()

MRC_API void MR_ObjectDistanceMap_resetDirty ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_resetDirtyExceptMask()

MRC_API void MR_ObjectDistanceMap_resetDirtyExceptMask ( const MR_ObjectDistanceMap * _this,
unsigned int mask )

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

◆ MR_ObjectDistanceMap_resetFrontColor()

MRC_API void MR_ObjectDistanceMap_resetFrontColor ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_resetRedrawFlag()

MRC_API void MR_ObjectDistanceMap_resetRedrawFlag ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_resetXf()

MRC_API void MR_ObjectDistanceMap_resetXf ( MR_ObjectDistanceMap * _this,
const MR_ViewportId * id )

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_sameModels()

MRC_API bool MR_ObjectDistanceMap_sameModels ( const MR_ObjectDistanceMap * _this,
const MR_Object * other )

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

◆ MR_ObjectDistanceMap_select()

MRC_API bool MR_ObjectDistanceMap_select ( MR_ObjectDistanceMap * _this,
bool on )

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

◆ MR_ObjectDistanceMap_selectedArea()

MRC_API double MR_ObjectDistanceMap_selectedArea ( const MR_ObjectDistanceMap * _this)

returns cached area of selected triangles Generated from method MR::ObjectDistanceMap::selectedArea. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_selectEdges()

MRC_API void MR_ObjectDistanceMap_selectEdges ( MR_ObjectDistanceMap * _this,
MR_PassBy newSelection_pass_by,
MR_UndirectedEdgeBitSet * newSelection )

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

◆ MR_ObjectDistanceMap_selectFaces()

MRC_API void MR_ObjectDistanceMap_selectFaces ( MR_ObjectDistanceMap * _this,
MR_PassBy newSelection_pass_by,
MR_FaceBitSet * newSelection )

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

◆ MR_ObjectDistanceMap_serializeFormat()

MRC_API const char * MR_ObjectDistanceMap_serializeFormat ( const MR_ObjectDistanceMap * _this)

returns overriden file extension used to serialize mesh inside this object, nullptr means defaultSerializeMeshFormat() Generated from method MR::ObjectDistanceMap::serializeFormat. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setAllVisualizeProperties()

MRC_API void MR_ObjectDistanceMap_setAllVisualizeProperties ( MR_ObjectDistanceMap * _this,
const MR_std_vector_MR_ViewportMask * properties )

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

◆ MR_ObjectDistanceMap_setAmbientStrength()

MRC_API void MR_ObjectDistanceMap_setAmbientStrength ( MR_ObjectDistanceMap * _this,
float ambientStrength )

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

◆ MR_ObjectDistanceMap_setAncillary()

MRC_API void MR_ObjectDistanceMap_setAncillary ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::setAncillary. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setAncillaryTexture()

MRC_API void MR_ObjectDistanceMap_setAncillaryTexture ( MR_ObjectDistanceMap * _this,
MR_PassBy texture_pass_by,
MR_MeshTexture * texture )

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

◆ MR_ObjectDistanceMap_setAncillaryUVCoords()

MRC_API void MR_ObjectDistanceMap_setAncillaryUVCoords ( MR_ObjectDistanceMap * _this,
MR_PassBy uvCoordinates_pass_by,
MR_VertCoords2 * uvCoordinates )

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

◆ MR_ObjectDistanceMap_setBackColor()

MRC_API void MR_ObjectDistanceMap_setBackColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * viewportId )

sets backward color of object in given viewport Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setBackColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setBackColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setBordersColor()

MRC_API void MR_ObjectDistanceMap_setBordersColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * id )

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

◆ MR_ObjectDistanceMap_setBordersColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setBordersColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setColoringType()

MRC_API void MR_ObjectDistanceMap_setColoringType ( MR_ObjectDistanceMap * _this,
MR_ColoringType coloringType )

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

◆ MR_ObjectDistanceMap_setCreases()

MRC_API void MR_ObjectDistanceMap_setCreases ( MR_ObjectDistanceMap * _this,
MR_PassBy creases_pass_by,
MR_UndirectedEdgeBitSet * creases )

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

◆ MR_ObjectDistanceMap_setData()

MRC_API void MR_ObjectDistanceMap_setData ( MR_ObjectDistanceMap * _this,
MR_ObjectMeshData * data )

sets whole new ObjectMeshData Generated from method MR::ObjectDistanceMap::setData. Parameter _this can not be null. It is a single object. Parameter data can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later.

◆ MR_ObjectDistanceMap_setDirtyFlags()

MRC_API void MR_ObjectDistanceMap_setDirtyFlags ( MR_ObjectDistanceMap * _this,
unsigned int mask,
const bool * invalidateCaches )

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setDistanceMap()

MRC_API bool MR_ObjectDistanceMap_setDistanceMap ( MR_ObjectDistanceMap * _this,
const MR_std_shared_ptr_MR_DistanceMap * dmap,
const MR_AffineXf3f * dmap2local,
const bool * needUpdateMesh,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

rebuilds the mesh; if it is executed in the rendering stream then you can set the needUpdateMesh = true otherwise you should set the needUpdateMesh = false and call the function calculateMesh and after finishing in the rendering stream, call the function updateMesh Generated from method MR::ObjectDistanceMap::setDistanceMap. Parameter _this can not be null. It is a single object. Parameter dmap can not be null. It is a single object. Parameter dmap2local can not be null. It is a single object. Parameter needUpdateMesh has a default argument: true, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_ObjectDistanceMap_setEdgesColor()

MRC_API void MR_ObjectDistanceMap_setEdgesColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * id )

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

◆ MR_ObjectDistanceMap_setEdgesColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setEdgesColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setEdgeWidth()

MRC_API void MR_ObjectDistanceMap_setEdgeWidth ( MR_ObjectDistanceMap * _this,
float edgeWidth )

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

◆ MR_ObjectDistanceMap_setFacesColorMap()

MRC_API void MR_ObjectDistanceMap_setFacesColorMap ( MR_ObjectDistanceMap * _this,
MR_PassBy facesColorMap_pass_by,
MR_FaceColors * facesColorMap )

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

◆ MR_ObjectDistanceMap_setFlatShading()

MRC_API void MR_ObjectDistanceMap_setFlatShading ( MR_ObjectDistanceMap * _this,
bool on )

sets flat (true) or smooth (false) shading Generated from method MR::ObjectDistanceMap::setFlatShading. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setFrontColor()

MRC_API void MR_ObjectDistanceMap_setFrontColor ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setFrontColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setFrontColorsForAllViewports ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setGlobalAlpha()

MRC_API void MR_ObjectDistanceMap_setGlobalAlpha ( MR_ObjectDistanceMap * _this,
unsigned char alpha,
const MR_ViewportId * viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setGlobalAlphaForAllViewports()

MRC_API void MR_ObjectDistanceMap_setGlobalAlphaForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_unsigned_char * val )

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

◆ MR_ObjectDistanceMap_setGlobalClippedByPlane()

MRC_API void MR_ObjectDistanceMap_setGlobalClippedByPlane ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setGlobalVisibility()

MRC_API void MR_ObjectDistanceMap_setGlobalVisibility ( MR_ObjectDistanceMap * _this,
bool on,
const MR_ViewportMask * viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setLocked()

MRC_API void MR_ObjectDistanceMap_setLocked ( MR_ObjectDistanceMap * _this,
bool on )

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

◆ MR_ObjectDistanceMap_setName()

MRC_API void MR_ObjectDistanceMap_setName ( MR_ObjectDistanceMap * _this,
const char * name,
const char * name_end )

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setParentLocked()

MRC_API void MR_ObjectDistanceMap_setParentLocked ( MR_ObjectDistanceMap * _this,
bool lock )

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

◆ MR_ObjectDistanceMap_setPickable()

MRC_API void MR_ObjectDistanceMap_setPickable ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setPointsColor()

MRC_API void MR_ObjectDistanceMap_setPointsColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * id )

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

◆ MR_ObjectDistanceMap_setPointsColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setPointsColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setPointSize()

MRC_API void MR_ObjectDistanceMap_setPointSize ( MR_ObjectDistanceMap * _this,
float size )

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

◆ MR_ObjectDistanceMap_setSelectedEdgesColor()

MRC_API void MR_ObjectDistanceMap_setSelectedEdgesColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * id )

sets colors of selected edges Generated from method MR::ObjectDistanceMap::setSelectedEdgesColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectDistanceMap_setSelectedEdgesColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setSelectedEdgesColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setSelectedFacesColor()

MRC_API void MR_ObjectDistanceMap_setSelectedFacesColor ( MR_ObjectDistanceMap * _this,
const MR_Color * color,
const MR_ViewportId * id )

sets colors of selected triangles Generated from method MR::ObjectDistanceMap::setSelectedFacesColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.

◆ MR_ObjectDistanceMap_setSelectedFacesColorsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setSelectedFacesColorsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy val_pass_by,
MR_ViewportProperty_MR_Color * val )

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

◆ MR_ObjectDistanceMap_setSerializeFormat()

MRC_API void MR_ObjectDistanceMap_setSerializeFormat ( MR_ObjectDistanceMap * _this,
const char * newFormat )

overrides file extension used to serialize mesh inside this object: must start from '.', nullptr means serialize in defaultSerializeMeshFormat() Generated from method MR::ObjectDistanceMap::setSerializeFormat. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setShininess()

MRC_API void MR_ObjectDistanceMap_setShininess ( MR_ObjectDistanceMap * _this,
float shininess )

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

◆ MR_ObjectDistanceMap_setSpecularStrength()

MRC_API void MR_ObjectDistanceMap_setSpecularStrength ( MR_ObjectDistanceMap * _this,
float specularStrength )

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

◆ MR_ObjectDistanceMap_setTexturePerFace()

MRC_API void MR_ObjectDistanceMap_setTexturePerFace ( MR_ObjectDistanceMap * _this,
MR_PassBy texturePerFace_pass_by,
MR_TexturePerFace * texturePerFace )

the texture ids for the faces if more than one texture is used to texture the object texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to Generated from method MR::ObjectDistanceMap::setTexturePerFace. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setTextures()

MRC_API void MR_ObjectDistanceMap_setTextures ( MR_ObjectDistanceMap * _this,
MR_PassBy texture_pass_by,
MR_Vector_MR_MeshTexture_MR_TextureId * texture )

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

◆ MR_ObjectDistanceMap_setUseDefaultScenePropertiesOnDeserialization()

MRC_API void MR_ObjectDistanceMap_setUseDefaultScenePropertiesOnDeserialization ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setUVCoords()

MRC_API void MR_ObjectDistanceMap_setUVCoords ( MR_ObjectDistanceMap * _this,
MR_PassBy uvCoordinates_pass_by,
MR_VertCoords2 * uvCoordinates )

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

◆ MR_ObjectDistanceMap_setVertsColorMap()

MRC_API void MR_ObjectDistanceMap_setVertsColorMap ( MR_ObjectDistanceMap * _this,
MR_PassBy vertsColorMap_pass_by,
MR_VertColors * vertsColorMap )

sets per-vertex colors of the object Generated from method MR::ObjectDistanceMap::setVertsColorMap. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_setVisibilityMask()

MRC_API void MR_ObjectDistanceMap_setVisibilityMask ( MR_ObjectDistanceMap * _this,
const MR_ViewportMask * viewportMask )

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

◆ MR_ObjectDistanceMap_setVisible()

MRC_API void MR_ObjectDistanceMap_setVisible ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setVisualizeProperty()

MRC_API void MR_ObjectDistanceMap_setVisualizeProperty ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_setVisualizePropertyMask()

MRC_API void MR_ObjectDistanceMap_setVisualizePropertyMask ( MR_ObjectDistanceMap * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

set visual property mask Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setWorldXf()

MRC_API void MR_ObjectDistanceMap_setWorldXf ( MR_ObjectDistanceMap * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setXf()

MRC_API void MR_ObjectDistanceMap_setXf ( MR_ObjectDistanceMap * _this,
const MR_AffineXf3f * xf,
const MR_ViewportId * id )

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_setXfsForAllViewports()

MRC_API void MR_ObjectDistanceMap_setXfsForAllViewports ( MR_ObjectDistanceMap * _this,
MR_PassBy xf_pass_by,
MR_ViewportProperty_MR_AffineXf3f * xf )

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

◆ MR_ObjectDistanceMap_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectDistanceMap_shallowClone ( const MR_ObjectDistanceMap * _this)

Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_shallowCloneTree()

MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectDistanceMap_shallowCloneTree ( const MR_ObjectDistanceMap * _this)

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_sortChildren()

MRC_API void MR_ObjectDistanceMap_sortChildren ( MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_StaticClassName()

MRC_API const char * MR_ObjectDistanceMap_StaticClassName ( void )

◆ MR_ObjectDistanceMap_StaticClassNameInPlural()

MRC_API const char * MR_ObjectDistanceMap_StaticClassNameInPlural ( void )

◆ MR_ObjectDistanceMap_StaticTypeName()

MRC_API const char * MR_ObjectDistanceMap_StaticTypeName ( void )

Generated from method MR::ObjectDistanceMap::StaticTypeName.

◆ MR_ObjectDistanceMap_supportsVisualizeProperty()

MRC_API bool MR_ObjectDistanceMap_supportsVisualizeProperty ( const MR_ObjectDistanceMap * _this,
const MR_AnyVisualizeMaskEnum * type )

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

◆ MR_ObjectDistanceMap_swap()

MRC_API void MR_ObjectDistanceMap_swap ( MR_ObjectDistanceMap * _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::ObjectDistanceMap::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.

◆ MR_ObjectDistanceMap_tags()

MRC_API const MR_std_set_std_string * MR_ObjectDistanceMap_tags ( const MR_ObjectDistanceMap * _this)

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_toggleVisualizeProperty()

MRC_API void MR_ObjectDistanceMap_toggleVisualizeProperty ( MR_ObjectDistanceMap * _this,
const MR_AnyVisualizeMaskEnum * type,
const MR_ViewportMask * viewportMask )

toggle visual property in all viewports specified by the mask Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_totalArea()

MRC_API double MR_ObjectDistanceMap_totalArea ( const MR_ObjectDistanceMap * _this)

returns cached summed area of mesh triangles Generated from method MR::ObjectDistanceMap::totalArea. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_typeName()

MRC_API const char * MR_ObjectDistanceMap_typeName ( const MR_ObjectDistanceMap * _this)

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

◆ MR_ObjectDistanceMap_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_ObjectDistanceMap_UpcastTo_MR_Object ( const MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_ObjectDistanceMap_UpcastTo_MR_ObjectChildrenHolder ( const MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_UpcastTo_MR_ObjectMeshHolder()

MRC_API const MR_ObjectMeshHolder * MR_ObjectDistanceMap_UpcastTo_MR_ObjectMeshHolder ( const MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_ObjectDistanceMap_UpcastTo_MR_VisualObject ( const MR_ObjectDistanceMap * object)

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

◆ MR_ObjectDistanceMap_updateAncillaryUVCoords()

MRC_API void MR_ObjectDistanceMap_updateAncillaryUVCoords ( MR_ObjectDistanceMap * _this,
MR_VertCoords2 * updated )

Generated from method MR::ObjectDistanceMap::updateAncillaryUVCoords. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateData()

MRC_API void MR_ObjectDistanceMap_updateData ( MR_ObjectDistanceMap * _this,
MR_ObjectMeshData * data )

swaps whole ObjectMeshData with given argument Generated from method MR::ObjectDistanceMap::updateData. Parameter _this can not be null. It is a single object. Parameter data can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateFacesColorMap()

MRC_API void MR_ObjectDistanceMap_updateFacesColorMap ( MR_ObjectDistanceMap * _this,
MR_FaceColors * updated )

Generated from method MR::ObjectDistanceMap::updateFacesColorMap. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateMesh()

MRC_API void MR_ObjectDistanceMap_updateMesh ( MR_ObjectDistanceMap * _this,
const MR_std_shared_ptr_MR_Mesh * mesh )

updates the grid to the current one Generated from method MR::ObjectDistanceMap::updateMesh. Parameter _this can not be null. It is a single object. Parameter mesh can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateTexturePerFace()

MRC_API void MR_ObjectDistanceMap_updateTexturePerFace ( MR_ObjectDistanceMap * _this,
MR_TexturePerFace * texturePerFace )

Generated from method MR::ObjectDistanceMap::updateTexturePerFace. Parameter _this can not be null. It is a single object. Parameter texturePerFace can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateTextures()

MRC_API void MR_ObjectDistanceMap_updateTextures ( MR_ObjectDistanceMap * _this,
MR_Vector_MR_MeshTexture_MR_TextureId * updated )

Generated from method MR::ObjectDistanceMap::updateTextures. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateUVCoords()

MRC_API void MR_ObjectDistanceMap_updateUVCoords ( MR_ObjectDistanceMap * _this,
MR_VertCoords2 * updated )

Generated from method MR::ObjectDistanceMap::updateUVCoords. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.

◆ MR_ObjectDistanceMap_updateVertsColorMap()

MRC_API void MR_ObjectDistanceMap_updateVertsColorMap ( MR_ObjectDistanceMap * _this,
MR_VertColors * vertsColorMap )

swaps per-vertex colors of the object with given argument Generated from method MR::ObjectDistanceMap::updateVertsColorMap. Parameter _this can not be null. It is a single object. Parameter vertsColorMap can not be null. It is a single object.

◆ MR_ObjectDistanceMap_useDefaultScenePropertiesOnDeserialization()

MRC_API bool MR_ObjectDistanceMap_useDefaultScenePropertiesOnDeserialization ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_visibilityMask()

MRC_API MR_ViewportMask * MR_ObjectDistanceMap_visibilityMask ( const MR_ObjectDistanceMap * _this)

gets object visibility as bitmask of viewports Generated from method MR::ObjectDistanceMap::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_ObjectDistanceMap_volume()

MRC_API double MR_ObjectDistanceMap_volume ( const MR_ObjectDistanceMap * _this)

returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectDistanceMap::volume. Parameter _this can not be null. It is a single object.

◆ MR_ObjectDistanceMap_worldXf()

MRC_API MR_AffineXf3f MR_ObjectDistanceMap_worldXf ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_xf()

MRC_API const MR_AffineXf3f * MR_ObjectDistanceMap_xf ( const MR_ObjectDistanceMap * _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::ObjectDistanceMap::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_ObjectDistanceMap_xfsForAllViewports()

MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectDistanceMap_xfsForAllViewports ( const MR_ObjectDistanceMap * _this)

returns xfs for all viewports, combined into a single object Generated from method MR::ObjectDistanceMap::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.