#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.
| 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 enum MR_MeshVisualizePropertyType MR_MeshVisualizePropertyType |
| typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams |
| typedef struct MR_ModelRenderParams MR_ModelRenderParams |
| typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_ObjectDistanceMap MR_ObjectDistanceMap |
| typedef struct MR_ObjectMesh MR_ObjectMesh |
| typedef struct MR_ObjectMeshData MR_ObjectMeshData |
| typedef struct MR_ObjectMeshHolder MR_ObjectMeshHolder |
an object that stores a mesh Generated from class MR::ObjectMeshHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectDistanceMap MR::ObjectMesh MR::ObjectVoxels Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_ObjectVoxels MR_ObjectVoxels |
| typedef struct MR_std_set_std_string MR_std_set_std_string |
| typedef struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh |
| typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask |
| typedef struct MR_std_vector_std_string MR_std_vector_std_string |
| typedef struct MR_TexturePerFace MR_TexturePerFace |
| typedef struct MR_UiRenderParams MR_UiRenderParams |
| typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet |
| 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_Color MR_ViewportProperty_MR_Color |
| typedef struct MR_VisualObject MR_VisualObject |
| MRC_API const MR_std_string * MR_defaultSerializeMeshFormat | ( | void | ) |
returns file extension used to serialize ObjectMeshHolder by default (if not overridden in specific object), the string starts with '.' Generated from function MR::defaultSerializeMeshFormat. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const char * MR_ObjectMeshHolder_actualSerializeFormat | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::actualSerializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_addChild | ( | MR_ObjectMeshHolder * | _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;
| recognizedChild | if set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::ObjectMeshHolder::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. |
| MRC_API bool MR_ObjectMeshHolder_addChildBefore | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_addTag | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_addTexture | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_MeshTexture * | texture ) |
Generated from method MR::ObjectMeshHolder::addTexture. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_applyScale | ( | MR_ObjectMeshHolder * | _this, |
| float | scaleFactor ) |
Generated from method MR::ObjectMeshHolder::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_AssignFromAnother | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectMeshHolder * | _other ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API float MR_ObjectMeshHolder_avgEdgeLen | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached average edge length Generated from method MR::ObjectMeshHolder::avgEdgeLen. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_string * MR_ObjectMeshHolder_className | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_std_string * MR_ObjectMeshHolder_classNameInPlural | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_clearAncillaryTexture | ( | MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::clearAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_clone | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_cloneTree | ( | const MR_ObjectMeshHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectMeshHolder * | _other ) |
Generated from constructor MR::ObjectMeshHolder::ObjectMeshHolder. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshHolder_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectMeshHolder_copyAllSolidColors | ( | MR_ObjectMeshHolder * | _this, |
| const MR_ObjectMeshHolder * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectMeshHolder::copyAllSolidColors. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_copyColors | ( | MR_ObjectMeshHolder * | _this, |
| const MR_ObjectMeshHolder * | src, | ||
| const MR_VertMap * | thisToSrc, | ||
| const MR_FaceMap * | thisToSrcFaces ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMeshHolder::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. |
| MRC_API void MR_ObjectMeshHolder_copyTextureAndColors | ( | MR_ObjectMeshHolder * | _this, |
| const MR_ObjectMeshHolder * | src, | ||
| const MR_VertMap * | thisToSrc, | ||
| const MR_FaceMap * | thisToSrcFaces ) |
copies texture, UV-coordinates and vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMeshHolder::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. |
| MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_creases | ( | const MR_ObjectMeshHolder * | _this | ) |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ObjectMeshData * MR_ObjectMeshHolder_data | ( | const MR_ObjectMeshHolder * | _this | ) |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshHolder_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_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_ObjectMeshHolder_DestroyArray(). Use MR_ObjectMeshHolder_OffsetMutablePtr() and MR_ObjectMeshHolder_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectMeshHolder_Destroy | ( | const MR_ObjectMeshHolder * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectMeshHolder. Does nothing if the pointer is null.
| MRC_API void MR_ObjectMeshHolder_DestroyArray | ( | const MR_ObjectMeshHolder * | _this | ) |
Destroys a heap-allocated array of MR_ObjectMeshHolder. Does nothing if the pointer is null.
| MRC_API bool MR_ObjectMeshHolder_detachFromParent | ( | MR_ObjectMeshHolder * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectMeshHolder::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_ObjectDistanceMap * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectDistanceMap | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.
| MRC_API const MR_ObjectMesh * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectMesh | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.
| MRC_API const MR_ObjectVoxels * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectVoxels | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.
| MRC_API const MR_ObjectDistanceMap * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectDistanceMap | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ObjectMesh * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectMesh | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ObjectVoxels * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectVoxels | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_ObjectMeshHolder_flatShading | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::flatShading. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectMeshHolder_getAllVisualizeProperties | ( | const MR_ObjectMeshHolder * | _this | ) |
get all visualize properties masks Generated from method MR::ObjectMeshHolder::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.
| MRC_API float MR_ObjectMeshHolder_getAmbientStrength | ( | const MR_ObjectMeshHolder * | _this | ) |
returns intensity of non-directional light Generated from method MR::ObjectMeshHolder::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getAncillaryTexture | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getAncillaryUVCoords | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getBackColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBackColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
returns backward color of object in all viewports Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getBordersColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBordersColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_Box3f MR_ObjectMeshHolder_getBoundingBox | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectMeshHolder::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_ObjectMeshHolder_getColoringType | ( | const MR_ObjectMeshHolder * | _this | ) |
returns the current coloring mode of the object Generated from method MR::ObjectMeshHolder::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API unsigned int MR_ObjectMeshHolder_getDirtyFlags | ( | const MR_ObjectMeshHolder * | _this | ) |
returns current dirty flags for the object Generated from method MR::ObjectMeshHolder::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getEdgesColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getEdgesColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API float MR_ObjectMeshHolder_getEdgeWidth | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::getEdgeWidth. Parameter _this can not be null. It is a single object.
| MRC_API const MR_FaceColors * MR_ObjectMeshHolder_getFacesColorMap | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getFrontColor | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getFrontColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectMeshHolder::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.
| MRC_API const unsigned char * MR_ObjectMeshHolder_getGlobalAlpha | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectMeshHolder_getGlobalAlphaForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_std_vector_std_string * MR_ObjectMeshHolder_getInfoLines | ( | const MR_ObjectMeshHolder * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_getModelHash | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API unsigned int MR_ObjectMeshHolder_getNeededNormalsRenderDirtyValue | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
returns dirty flag of currently using normal type if they are dirty in render representation Generated from method MR::ObjectMeshHolder::getNeededNormalsRenderDirtyValue. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getPointsColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getPointsColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API float MR_ObjectMeshHolder_getPointSize | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_getRedrawFlag | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
Generated from method MR::ObjectMeshHolder::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_getSelectedEdges | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
returns colors of selected edges Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_FaceBitSet * MR_ObjectMeshHolder_getSelectedFaces | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedFacesColor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
returns colors of selected triangles Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedFacesColorsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_getSharedPtr | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API float MR_ObjectMeshHolder_getShininess | ( | const MR_ObjectMeshHolder * | _this | ) |
returns the current shininess visual value Generated from method MR::ObjectMeshHolder::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectMeshHolder_getSpecularStrength | ( | const MR_ObjectMeshHolder * | _this | ) |
returns intensity of reflections Generated from method MR::ObjectMeshHolder::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getTexture | ( | const MR_ObjectMeshHolder * | _this | ) |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_TexturePerFace * MR_ObjectMeshHolder_getTexturePerFace | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_Vector_MR_MeshTexture_MR_TextureId * MR_ObjectMeshHolder_getTextures | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getUVCoords | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API const MR_VertColors * MR_ObjectMeshHolder_getVertsColorMap | ( | const MR_ObjectMeshHolder * | _this | ) |
returns per-vertex colors of the object Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_getVisualizeProperty | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API const MR_ViewportMask * MR_ObjectMeshHolder_getVisualizePropertyMask | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
returns mask of viewports where given property is set Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldBox | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldTreeBox | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_globalClippedByPlane | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalClippedByPlaneMask | ( | const MR_ObjectMeshHolder * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_globalVisibility | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalVisibilityMask | ( | const MR_ObjectMeshHolder * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_hasAncillaryTexture | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::hasAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_hasModel | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_hasVisualRepresentation | ( | const MR_ObjectMeshHolder * | _this | ) |
mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectMeshHolder::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_heapBytes | ( | const MR_ObjectMeshHolder * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMeshHolder::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isAncestor | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectMeshHolder::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isAncillary | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isGlobalAncillary | ( | const MR_ObjectMeshHolder * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectMeshHolder::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isLocked | ( | const MR_ObjectMeshHolder * | _this | ) |
object properties lock for UI Generated from method MR::ObjectMeshHolder::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isMeshClosed | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information whether the mesh is closed Generated from method MR::ObjectMeshHolder::isMeshClosed. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isParentLocked | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isPickable | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_isSelected | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_isVisible | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_ObjectMeshHolder_mesh | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_MeshPart * MR_ObjectMeshHolder_meshPart | ( | const MR_ObjectMeshHolder * | _this | ) |
MR::ObjectMeshHolder::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. | MRC_API MR_ObjectDistanceMap * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectDistanceMap | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.
| MRC_API MR_ObjectMesh * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectMesh | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.
| MRC_API MR_ObjectVoxels * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectVoxels | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.
| MRC_API MR_ObjectDistanceMap * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectDistanceMap | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectMesh * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectMesh | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectVoxels * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectVoxels | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectDistanceMap * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectDistanceMap | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_ObjectMesh * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectMesh | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_ObjectVoxels * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectVoxels | ( | MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_Object * MR_ObjectMeshHolder_MutableUpcastTo_MR_Object | ( | MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_ObjectMeshHolder_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::ObjectChildrenHolder.
| MRC_API MR_VisualObject * MR_ObjectMeshHolder_MutableUpcastTo_MR_VisualObject | ( | MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::VisualObject.
| MRC_API const MR_std_string * MR_ObjectMeshHolder_name | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numComponents | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of components in the mesh Generated from method MR::ObjectMeshHolder::numComponents. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numCreaseEdges | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numCreaseEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numHandles | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectMeshHolder::numHandles. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numHoles | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectMeshHolder::numHoles. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numSelectedEdges | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numSelectedEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numSelectedFaces | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectMeshHolder::numSelectedFaces. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMeshHolder_numUndirectedEdges | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectMeshHolder::numUndirectedEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetMutablePtr | ( | MR_ObjectMeshHolder * | 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_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetPtr | ( | const MR_ObjectMeshHolder * | 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 void MR_ObjectMeshHolder_removeAllChildren | ( | MR_ObjectMeshHolder * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectMeshHolder::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_removeTag | ( | MR_ObjectMeshHolder * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_render | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectMeshHolder::render. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_renderForPicker | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::ObjectMeshHolder::renderForPicker. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_renderUi | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::ObjectMeshHolder::renderUi. Parameter _this can not be null. It is a single object. Parameter params can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetColors | ( | MR_ObjectMeshHolder * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectMeshHolder::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetDirty | ( | const MR_ObjectMeshHolder * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectMeshHolder::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetDirtyExceptMask | ( | const MR_ObjectMeshHolder * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectMeshHolder::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetFrontColor | ( | MR_ObjectMeshHolder * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectMeshHolder::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetRedrawFlag | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_resetXf | ( | MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectMeshHolder::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.
| MRC_API bool MR_ObjectMeshHolder_sameModels | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_Object * | other ) |
Generated from method MR::ObjectMeshHolder::sameModels. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_select | ( | MR_ObjectMeshHolder * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectMeshHolder::select. Parameter _this can not be null. It is a single object.
| MRC_API double MR_ObjectMeshHolder_selectedArea | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached area of selected triangles Generated from method MR::ObjectMeshHolder::selectedArea. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_selectEdges | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | newSelection_pass_by, | ||
| MR_UndirectedEdgeBitSet * | newSelection ) |
Generated from method MR::ObjectMeshHolder::selectEdges. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_selectFaces | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | newSelection_pass_by, | ||
| MR_FaceBitSet * | newSelection ) |
Generated from method MR::ObjectMeshHolder::selectFaces. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMeshHolder_serializeFormat | ( | const MR_ObjectMeshHolder * | _this | ) |
returns overriden file extension used to serialize mesh inside this object, nullptr means defaultSerializeMeshFormat() Generated from method MR::ObjectMeshHolder::serializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setAllVisualizeProperties | ( | MR_ObjectMeshHolder * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::ObjectMeshHolder::setAllVisualizeProperties. Parameter _this can not be null. It is a single object. Parameter properties can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setAmbientStrength | ( | MR_ObjectMeshHolder * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::ObjectMeshHolder::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setAncillary | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setAncillaryTexture | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_MeshTexture * | texture ) |
Generated from method MR::ObjectMeshHolder::setAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setAncillaryUVCoords | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | uvCoordinates_pass_by, | ||
| MR_VertCoords2 * | uvCoordinates ) |
Generated from method MR::ObjectMeshHolder::setAncillaryUVCoords. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setBackColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setBackColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::ObjectMeshHolder::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setBordersColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setBordersColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMeshHolder::setBordersColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setColoringType | ( | MR_ObjectMeshHolder * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectMeshHolder::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setCreases | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | creases_pass_by, | ||
| MR_UndirectedEdgeBitSet * | creases ) |
Generated from method MR::ObjectMeshHolder::setCreases. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setData | ( | MR_ObjectMeshHolder * | _this, |
| MR_ObjectMeshData * | data ) |
sets whole new ObjectMeshData Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setDirtyFlags | ( | MR_ObjectMeshHolder * | _this, |
| unsigned int | mask, | ||
| const bool * | invalidateCaches ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setEdgesColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setEdgesColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMeshHolder::setEdgesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setEdgeWidth | ( | MR_ObjectMeshHolder * | _this, |
| float | edgeWidth ) |
Generated from method MR::ObjectMeshHolder::setEdgeWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setFacesColorMap | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | facesColorMap_pass_by, | ||
| MR_FaceColors * | facesColorMap ) |
Generated from method MR::ObjectMeshHolder::setFacesColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setFlatShading | ( | MR_ObjectMeshHolder * | _this, |
| bool | on ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectMeshHolder::setFlatShading. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setFrontColor | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setFrontColorsForAllViewports | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setGlobalAlpha | ( | MR_ObjectMeshHolder * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setGlobalAlphaForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectMeshHolder::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setGlobalClippedByPlane | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setGlobalVisibility | ( | MR_ObjectMeshHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setLocked | ( | MR_ObjectMeshHolder * | _this, |
| bool | on ) |
Generated from method MR::ObjectMeshHolder::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setName | ( | MR_ObjectMeshHolder * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setParentLocked | ( | MR_ObjectMeshHolder * | _this, |
| bool | lock ) |
Generated from method MR::ObjectMeshHolder::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setPickable | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setPointsColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setPointsColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMeshHolder::setPointsColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setPointSize | ( | MR_ObjectMeshHolder * | _this, |
| float | size ) |
Generated from method MR::ObjectMeshHolder::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets colors of selected edges Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMeshHolder::setSelectedEdgesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setSelectedFacesColor | ( | MR_ObjectMeshHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets colors of selected triangles Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setSelectedFacesColorsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMeshHolder::setSelectedFacesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setSerializeFormat | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::setSerializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setShininess | ( | MR_ObjectMeshHolder * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectMeshHolder::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setSpecularStrength | ( | MR_ObjectMeshHolder * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::ObjectMeshHolder::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setTexturePerFace | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::setTexturePerFace. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setTextures | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_Vector_MR_MeshTexture_MR_TextureId * | texture ) |
Generated from method MR::ObjectMeshHolder::setTextures. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setUVCoords | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | uvCoordinates_pass_by, | ||
| MR_VertCoords2 * | uvCoordinates ) |
Generated from method MR::ObjectMeshHolder::setUVCoords. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setVertsColorMap | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | vertsColorMap_pass_by, | ||
| MR_VertColors * | vertsColorMap ) |
sets per-vertex colors of the object Generated from method MR::ObjectMeshHolder::setVertsColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setVisibilityMask | ( | MR_ObjectMeshHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectMeshHolder::setVisibilityMask. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_setVisible | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setVisualizeProperty | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setVisualizePropertyMask | ( | MR_ObjectMeshHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setWorldXf | ( | MR_ObjectMeshHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setXf | ( | MR_ObjectMeshHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_setXfsForAllViewports | ( | MR_ObjectMeshHolder * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::ObjectMeshHolder::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowClone | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::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.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowCloneTree | ( | const MR_ObjectMeshHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_sortChildren | ( | MR_ObjectMeshHolder * | _this | ) |
sort recognized children by name Generated from method MR::ObjectMeshHolder::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMeshHolder_StaticClassName | ( | void | ) |
Generated from method MR::ObjectMeshHolder::StaticClassName.
| MRC_API const char * MR_ObjectMeshHolder_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::ObjectMeshHolder::StaticClassNameInPlural.
| MRC_API const MR_ObjectDistanceMap * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectDistanceMap | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectDistanceMap. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const MR_ObjectMesh * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectMesh | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectMesh. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const MR_ObjectVoxels * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectVoxels | ( | const MR_ObjectMeshHolder * | object | ) |
Downcasts an instance of MR::ObjectMeshHolder to a derived class MR::ObjectVoxels. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const char * MR_ObjectMeshHolder_StaticTypeName | ( | void | ) |
Generated from method MR::ObjectMeshHolder::StaticTypeName.
| MRC_API bool MR_ObjectMeshHolder_supportsVisualizeProperty | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::ObjectMeshHolder::supportsVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_swap | ( | MR_ObjectMeshHolder * | _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::ObjectMeshHolder::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API const MR_std_set_std_string * MR_ObjectMeshHolder_tags | ( | const MR_ObjectMeshHolder * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_ObjectMeshHolder_toggleVisualizeProperty | ( | MR_ObjectMeshHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectMeshHolder::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.
| MRC_API double MR_ObjectMeshHolder_totalArea | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached summed area of mesh triangles Generated from method MR::ObjectMeshHolder::totalArea. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMeshHolder_typeName | ( | const MR_ObjectMeshHolder * | _this | ) |
Generated from method MR::ObjectMeshHolder::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_ObjectMeshHolder_UpcastTo_MR_Object | ( | const MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_ObjectMeshHolder_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API const MR_VisualObject * MR_ObjectMeshHolder_UpcastTo_MR_VisualObject | ( | const MR_ObjectMeshHolder * | object | ) |
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::VisualObject. This version is acting on mutable pointers.
| MRC_API void MR_ObjectMeshHolder_updateAncillaryUVCoords | ( | MR_ObjectMeshHolder * | _this, |
| MR_VertCoords2 * | updated ) |
Generated from method MR::ObjectMeshHolder::updateAncillaryUVCoords. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateData | ( | MR_ObjectMeshHolder * | _this, |
| MR_ObjectMeshData * | data ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectMeshHolder::updateData. Parameter _this can not be null. It is a single object. Parameter data can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateFacesColorMap | ( | MR_ObjectMeshHolder * | _this, |
| MR_FaceColors * | updated ) |
Generated from method MR::ObjectMeshHolder::updateFacesColorMap. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateTexturePerFace | ( | MR_ObjectMeshHolder * | _this, |
| MR_TexturePerFace * | texturePerFace ) |
Generated from method MR::ObjectMeshHolder::updateTexturePerFace. Parameter _this can not be null. It is a single object. Parameter texturePerFace can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateTextures | ( | MR_ObjectMeshHolder * | _this, |
| MR_Vector_MR_MeshTexture_MR_TextureId * | updated ) |
Generated from method MR::ObjectMeshHolder::updateTextures. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateUVCoords | ( | MR_ObjectMeshHolder * | _this, |
| MR_VertCoords2 * | updated ) |
Generated from method MR::ObjectMeshHolder::updateUVCoords. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.
| MRC_API void MR_ObjectMeshHolder_updateVertsColorMap | ( | MR_ObjectMeshHolder * | _this, |
| MR_VertColors * | vertsColorMap ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectMeshHolder::updateVertsColorMap. Parameter _this can not be null. It is a single object. Parameter vertsColorMap can not be null. It is a single object.
| MRC_API bool MR_ObjectMeshHolder_useDefaultScenePropertiesOnDeserialization | ( | const MR_ObjectMeshHolder * | _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::ObjectMeshHolder::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_ObjectMeshHolder_visibilityMask | ( | const MR_ObjectMeshHolder * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectMeshHolder::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.
| MRC_API double MR_ObjectMeshHolder_volume | ( | const MR_ObjectMeshHolder * | _this | ) |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectMeshHolder::volume. Parameter _this can not be null. It is a single object.
| MRC_API MR_AffineXf3f MR_ObjectMeshHolder_worldXf | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
this space to world space transformation for default or specific viewport
| isDef | receives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectMeshHolder::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++. |
| MRC_API const MR_AffineXf3f * MR_ObjectMeshHolder_xf | ( | const MR_ObjectMeshHolder * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
this space to parent space transformation (to world space if no parent) for default or given viewport
| isDef | receives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectMeshHolder::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. |
| MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectMeshHolder_xfsForAllViewports | ( | const MR_ObjectMeshHolder * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectMeshHolder::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.
| MRC_API void MR_setDefaultSerializeMeshFormat | ( | const char * | newFormat, |
| const char * | newFormat_end ) |
sets file extension used to serialize serialize ObjectMeshHolder by default (if not overridden in specific object), the string must start from '.'; Generated from function MR::setDefaultSerializeMeshFormat. Parameter newFormat can not be null. If newFormat_end is null, then newFormat is assumed to be null-terminated.