#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_MeshIntersectionResult MR_MeshIntersectionResult |
| 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_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_ObjectMesh MR_ObjectMesh |
an object that stores a mesh Generated from class MR::ObjectMesh. 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).
| typedef struct MR_ObjectMeshData MR_ObjectMeshData |
| typedef struct MR_ObjectMeshHolder MR_ObjectMeshHolder |
| typedef struct MR_ObjectMeshMergeOptions MR_ObjectMeshMergeOptions |
options to better control MR::merge function Generated from class MR::ObjectMeshMergeOptions. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| 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_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_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_std_vector_MR_AffineXf3f MR_std_vector_MR_AffineXf3f |
| typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask |
| typedef struct MR_std_vector_std_shared_ptr_MR_ObjectMesh MR_std_vector_std_shared_ptr_MR_ObjectMesh |
| 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 MR_std_shared_ptr_MR_ObjectMesh * MR_cloneRegion_3 | ( | const MR_std_shared_ptr_MR_ObjectMesh * | objMesh, |
| const MR_FaceBitSet * | region, | ||
| const bool * | copyTexture ) |
constructs new ObjectMesh containing the region of data from input object does not copy selection Generated from function MR::cloneRegion. Parameter objMesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter copyTexture has a default argument: true, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_ObjectMesh_Destroy() to free it when you're done using it.
| MRC_API MR_std_shared_ptr_MR_ObjectMesh * MR_merge_2 | ( | const MR_std_vector_std_shared_ptr_MR_ObjectMesh * | objsMesh, |
| const MR_ObjectMeshMergeOptions * | options ) |
constructs new ObjectMesh containing the union of valid data from all input objects Generated from function MR::merge. Parameter objsMesh can not be null. It is a single object. Parameter options is a single object. Parameter options has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_ObjectMesh_Destroy() to free it when you're done using it.
| MRC_API const char * MR_ObjectMesh_actualSerializeFormat | ( | const MR_ObjectMesh * | _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::ObjectMesh::actualSerializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_addChild | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_addChildBefore | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_addTag | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_addTexture | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_MeshTexture * | texture ) |
Generated from method MR::ObjectMesh::addTexture. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_applyScale | ( | MR_ObjectMesh * | _this, |
| float | scaleFactor ) |
Generated from method MR::ObjectMesh::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectMesh * MR_ObjectMesh_AssignFromAnother | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectMesh * | _other ) |
Generated from method MR::ObjectMesh::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API float MR_ObjectMesh_avgEdgeLen | ( | const MR_ObjectMesh * | _this | ) |
returns cached average edge length Generated from method MR::ObjectMesh::avgEdgeLen. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_string * MR_ObjectMesh_className | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_classNameInPlural | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_clearAncillaryTexture | ( | MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::clearAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_clone | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_cloneTree | ( | const MR_ObjectMesh * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectMesh::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_ObjectMesh * MR_ObjectMesh_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectMesh * | _other ) |
Generated from constructor MR::ObjectMesh::ObjectMesh. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMesh_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectMesh_copyAllSolidColors | ( | MR_ObjectMesh * | _this, |
| const MR_ObjectMeshHolder * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectMesh::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_ObjectMesh_copyColors | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_copyTextureAndColors | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_creases | ( | const MR_ObjectMesh * | _this | ) |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectMesh::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_ObjectMesh_data | ( | const MR_ObjectMesh * | _this | ) |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectMesh::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_ObjectMesh * MR_ObjectMesh_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMesh_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectMesh * MR_ObjectMesh_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_ObjectMesh_DestroyArray(). Use MR_ObjectMesh_OffsetMutablePtr() and MR_ObjectMesh_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectMesh_Destroy | ( | const MR_ObjectMesh * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectMesh. Does nothing if the pointer is null.
| MRC_API void MR_ObjectMesh_DestroyArray | ( | const MR_ObjectMesh * | _this | ) |
Destroys a heap-allocated array of MR_ObjectMesh. Does nothing if the pointer is null.
| MRC_API bool MR_ObjectMesh_detachFromParent | ( | MR_ObjectMesh * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectMesh::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_flatShading | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::flatShading. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectMesh_getAllVisualizeProperties | ( | const MR_ObjectMesh * | _this | ) |
get all visualize properties masks Generated from method MR::ObjectMesh::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_ObjectMesh_getAmbientStrength | ( | const MR_ObjectMesh * | _this | ) |
returns intensity of non-directional light Generated from method MR::ObjectMesh::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_MeshTexture * MR_ObjectMesh_getAncillaryTexture | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getAncillaryUVCoords | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getBackColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::ObjectMesh::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_ObjectMesh_getBackColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
returns backward color of object in all viewports Generated from method MR::ObjectMesh::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_ObjectMesh_getBordersColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getBordersColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getBoundingBox | ( | const MR_ObjectMesh * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectMesh::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_ObjectMesh_getColoringType | ( | const MR_ObjectMesh * | _this | ) |
returns the current coloring mode of the object Generated from method MR::ObjectMesh::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API unsigned int MR_ObjectMesh_getDirtyFlags | ( | const MR_ObjectMesh * | _this | ) |
returns current dirty flags for the object Generated from method MR::ObjectMesh::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectMesh_getEdgesColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getEdgesColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getEdgeWidth | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::getEdgeWidth. Parameter _this can not be null. It is a single object.
| MRC_API const MR_FaceColors * MR_ObjectMesh_getFacesColorMap | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getFrontColor | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_getFrontColorsForAllViewports | ( | const MR_ObjectMesh * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectMesh::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_ObjectMesh_getGlobalAlpha | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectMesh::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_ObjectMesh_getGlobalAlphaForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectMesh::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_ObjectMesh_getInfoLines | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getModelHash | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API unsigned int MR_ObjectMesh_getNeededNormalsRenderDirtyValue | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportMask * | viewportMask ) |
returns dirty flag of currently using normal type if they are dirty in render representation Generated from method MR::ObjectMesh::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_ObjectMesh_getPointsColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getPointsColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getPointSize | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_getRedrawFlag | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportMask * | viewportMask ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedEdges | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedEdgesColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
returns colors of selected edges Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedEdgesColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedFaces | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedFacesColor | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
returns colors of selected triangles Generated from method MR::ObjectMesh::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_ObjectMesh_getSelectedFacesColorsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getSharedPtr | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getShininess | ( | const MR_ObjectMesh * | _this | ) |
returns the current shininess visual value Generated from method MR::ObjectMesh::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectMesh_getSpecularStrength | ( | const MR_ObjectMesh * | _this | ) |
returns intensity of reflections Generated from method MR::ObjectMesh::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_MeshTexture * MR_ObjectMesh_getTexture | ( | const MR_ObjectMesh * | _this | ) |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectMesh::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_ObjectMesh_getTexturePerFace | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getTextures | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getUVCoords | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_getVertsColorMap | ( | const MR_ObjectMesh * | _this | ) |
returns per-vertex colors of the object Generated from method MR::ObjectMesh::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_ObjectMesh_getVisualizeProperty | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_getVisualizePropertyMask | ( | const MR_ObjectMesh * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
returns mask of viewports where given property is set Generated from method MR::ObjectMesh::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_ObjectMesh_getWorldBox | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_getWorldTreeBox | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_globalClippedByPlane | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_globalClippedByPlaneMask | ( | const MR_ObjectMesh * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectMesh::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_ObjectMesh_globalVisibility | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_globalVisibilityMask | ( | const MR_ObjectMesh * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectMesh::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_ObjectMesh_hasAncillaryTexture | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::hasAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_hasModel | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_hasVisualRepresentation | ( | const MR_ObjectMesh * | _this | ) |
mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectMesh::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_heapBytes | ( | const MR_ObjectMesh * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMesh::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isAncestor | ( | const MR_ObjectMesh * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectMesh::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isAncillary | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isGlobalAncillary | ( | const MR_ObjectMesh * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectMesh::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isLocked | ( | const MR_ObjectMesh * | _this | ) |
object properties lock for UI Generated from method MR::ObjectMesh::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isMeshClosed | ( | const MR_ObjectMesh * | _this | ) |
returns cached information whether the mesh is closed Generated from method MR::ObjectMesh::isMeshClosed. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isParentLocked | ( | const MR_ObjectMesh * | _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::ObjectMesh::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isPickable | ( | const MR_ObjectMesh * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectMesh::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_ObjectMesh_isSelected | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_isVisible | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_mesh | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_meshPart | ( | const MR_ObjectMesh * | _this | ) |
MR::ObjectMesh::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_Object * MR_ObjectMesh_MutableUpcastTo_MR_Object | ( | MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_ObjectMesh_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::ObjectChildrenHolder.
| MRC_API MR_ObjectMeshHolder * MR_ObjectMesh_MutableUpcastTo_MR_ObjectMeshHolder | ( | MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::ObjectMeshHolder.
| MRC_API MR_VisualObject * MR_ObjectMesh_MutableUpcastTo_MR_VisualObject | ( | MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::VisualObject.
| MRC_API const MR_std_string * MR_ObjectMesh_name | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_numComponents | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of components in the mesh Generated from method MR::ObjectMesh::numComponents. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numCreaseEdges | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectMesh::numCreaseEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numHandles | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectMesh::numHandles. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numHoles | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectMesh::numHoles. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numSelectedEdges | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectMesh::numSelectedEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numSelectedFaces | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectMesh::numSelectedFaces. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectMesh_numUndirectedEdges | ( | const MR_ObjectMesh * | _this | ) |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectMesh::numUndirectedEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectMesh * MR_ObjectMesh_OffsetMutablePtr | ( | MR_ObjectMesh * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_ObjectMesh * MR_ObjectMesh_OffsetPtr | ( | const MR_ObjectMesh * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ObjectMesh_removeAllChildren | ( | MR_ObjectMesh * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectMesh::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectMesh_removeTag | ( | MR_ObjectMesh * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectMesh::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_ObjectMesh_render | ( | const MR_ObjectMesh * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectMesh::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_ObjectMesh_renderForPicker | ( | const MR_ObjectMesh * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::ObjectMesh::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_ObjectMesh_renderUi | ( | const MR_ObjectMesh * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::ObjectMesh::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_ObjectMesh_resetColors | ( | MR_ObjectMesh * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectMesh::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_resetDirty | ( | const MR_ObjectMesh * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectMesh::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_resetDirtyExceptMask | ( | const MR_ObjectMesh * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectMesh::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_resetFrontColor | ( | MR_ObjectMesh * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectMesh::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_resetRedrawFlag | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_resetXf | ( | MR_ObjectMesh * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectMesh::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_ObjectMesh_sameModels | ( | const MR_ObjectMesh * | _this, |
| const MR_Object * | other ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_select | ( | MR_ObjectMesh * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectMesh::select. Parameter _this can not be null. It is a single object.
| MRC_API double MR_ObjectMesh_selectedArea | ( | const MR_ObjectMesh * | _this | ) |
returns cached area of selected triangles Generated from method MR::ObjectMesh::selectedArea. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_selectEdges | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | newSelection_pass_by, | ||
| MR_UndirectedEdgeBitSet * | newSelection ) |
Generated from method MR::ObjectMesh::selectEdges. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_selectFaces | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | newSelection_pass_by, | ||
| MR_FaceBitSet * | newSelection ) |
Generated from method MR::ObjectMesh::selectFaces. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMesh_serializeFormat | ( | const MR_ObjectMesh * | _this | ) |
returns overriden file extension used to serialize mesh inside this object, nullptr means defaultSerializeMeshFormat() Generated from method MR::ObjectMesh::serializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setAllVisualizeProperties | ( | MR_ObjectMesh * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::ObjectMesh::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_ObjectMesh_setAmbientStrength | ( | MR_ObjectMesh * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::ObjectMesh::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setAncillary | ( | MR_ObjectMesh * | _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::ObjectMesh::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setAncillaryTexture | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_MeshTexture * | texture ) |
Generated from method MR::ObjectMesh::setAncillaryTexture. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setAncillaryUVCoords | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | uvCoordinates_pass_by, | ||
| MR_VertCoords2 * | uvCoordinates ) |
Generated from method MR::ObjectMesh::setAncillaryUVCoords. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setBackColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectMesh::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_ObjectMesh_setBackColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::ObjectMesh::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setBordersColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setBordersColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMesh::setBordersColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setColoringType | ( | MR_ObjectMesh * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectMesh::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setCreases | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | creases_pass_by, | ||
| MR_UndirectedEdgeBitSet * | creases ) |
Generated from method MR::ObjectMesh::setCreases. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setData | ( | MR_ObjectMesh * | _this, |
| MR_ObjectMeshData * | data ) |
sets whole new ObjectMeshData Generated from method MR::ObjectMesh::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_ObjectMesh_setDirtyFlags | ( | MR_ObjectMesh * | _this, |
| unsigned int | mask, | ||
| const bool * | invalidateCaches ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setEdgesColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setEdgesColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMesh::setEdgesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setEdgeWidth | ( | MR_ObjectMesh * | _this, |
| float | edgeWidth ) |
Generated from method MR::ObjectMesh::setEdgeWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setFacesColorMap | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | facesColorMap_pass_by, | ||
| MR_FaceColors * | facesColorMap ) |
Generated from method MR::ObjectMesh::setFacesColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setFlatShading | ( | MR_ObjectMesh * | _this, |
| bool | on ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectMesh::setFlatShading. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setFrontColor | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setFrontColorsForAllViewports | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setGlobalAlpha | ( | MR_ObjectMesh * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectMesh::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_ObjectMesh_setGlobalAlphaForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectMesh::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setGlobalClippedByPlane | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setGlobalVisibility | ( | MR_ObjectMesh * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectMesh::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_ObjectMesh_setLocked | ( | MR_ObjectMesh * | _this, |
| bool | on ) |
Generated from method MR::ObjectMesh::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setMesh | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | mesh_pass_by, | ||
| MR_std_shared_ptr_MR_Mesh * | mesh ) |
sets given mesh to this, resets selection and creases Generated from method MR::ObjectMesh::setMesh. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setName | ( | MR_ObjectMesh * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setParentLocked | ( | MR_ObjectMesh * | _this, |
| bool | lock ) |
Generated from method MR::ObjectMesh::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setPickable | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setPointsColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setPointsColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMesh::setPointsColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setPointSize | ( | MR_ObjectMesh * | _this, |
| float | size ) |
Generated from method MR::ObjectMesh::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setSelectedEdgesColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets colors of selected edges Generated from method MR::ObjectMesh::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_ObjectMesh_setSelectedEdgesColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMesh::setSelectedEdgesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setSelectedFacesColor | ( | MR_ObjectMesh * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets colors of selected triangles Generated from method MR::ObjectMesh::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_ObjectMesh_setSelectedFacesColorsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectMesh::setSelectedFacesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setSerializeFormat | ( | MR_ObjectMesh * | _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::ObjectMesh::setSerializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setShininess | ( | MR_ObjectMesh * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectMesh::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setSpecularStrength | ( | MR_ObjectMesh * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::ObjectMesh::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setTexturePerFace | ( | MR_ObjectMesh * | _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::ObjectMesh::setTexturePerFace. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setTextures | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | texture_pass_by, | ||
| MR_Vector_MR_MeshTexture_MR_TextureId * | texture ) |
Generated from method MR::ObjectMesh::setTextures. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setUseDefaultScenePropertiesOnDeserialization | ( | MR_ObjectMesh * | _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::ObjectMesh::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setUVCoords | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | uvCoordinates_pass_by, | ||
| MR_VertCoords2 * | uvCoordinates ) |
Generated from method MR::ObjectMesh::setUVCoords. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setVertsColorMap | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | vertsColorMap_pass_by, | ||
| MR_VertColors * | vertsColorMap ) |
sets per-vertex colors of the object Generated from method MR::ObjectMesh::setVertsColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectMesh_setVisibilityMask | ( | MR_ObjectMesh * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectMesh::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_ObjectMesh_setVisible | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setVisualizeProperty | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_setVisualizePropertyMask | ( | MR_ObjectMesh * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::ObjectMesh::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_ObjectMesh_setWorldXf | ( | MR_ObjectMesh * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setXf | ( | MR_ObjectMesh * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_setXfsForAllViewports | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::ObjectMesh::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_shallowClone | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_shallowCloneTree | ( | const MR_ObjectMesh * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectMesh::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_ObjectMesh_sortChildren | ( | MR_ObjectMesh * | _this | ) |
sort recognized children by name Generated from method MR::ObjectMesh::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMesh_StaticClassName | ( | void | ) |
Generated from method MR::ObjectMesh::StaticClassName.
| MRC_API const char * MR_ObjectMesh_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::ObjectMesh::StaticClassNameInPlural.
| MRC_API const char * MR_ObjectMesh_StaticTypeName | ( | void | ) |
Generated from method MR::ObjectMesh::StaticTypeName.
| MRC_API bool MR_ObjectMesh_supportsVisualizeProperty | ( | const MR_ObjectMesh * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_swap | ( | MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_tags | ( | const MR_ObjectMesh * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectMesh::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_ObjectMesh_toggleVisualizeProperty | ( | MR_ObjectMesh * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectMesh::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_ObjectMesh_totalArea | ( | const MR_ObjectMesh * | _this | ) |
returns cached summed area of mesh triangles Generated from method MR::ObjectMesh::totalArea. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectMesh_typeName | ( | const MR_ObjectMesh * | _this | ) |
Generated from method MR::ObjectMesh::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_ObjectMesh_UpcastTo_MR_Object | ( | const MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_ObjectMesh_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API const MR_ObjectMeshHolder * MR_ObjectMesh_UpcastTo_MR_ObjectMeshHolder | ( | const MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::ObjectMeshHolder. This version is acting on mutable pointers.
| MRC_API const MR_VisualObject * MR_ObjectMesh_UpcastTo_MR_VisualObject | ( | const MR_ObjectMesh * | object | ) |
Upcasts an instance of MR::ObjectMesh to its base class MR::VisualObject. This version is acting on mutable pointers.
| MRC_API void MR_ObjectMesh_updateAncillaryUVCoords | ( | MR_ObjectMesh * | _this, |
| MR_VertCoords2 * | updated ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_updateData | ( | MR_ObjectMesh * | _this, |
| MR_ObjectMeshData * | data ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectMesh::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_ObjectMesh_updateFacesColorMap | ( | MR_ObjectMesh * | _this, |
| MR_FaceColors * | updated ) |
Generated from method MR::ObjectMesh::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 MR_std_shared_ptr_MR_Mesh * MR_ObjectMesh_updateMesh | ( | MR_ObjectMesh * | _this, |
| MR_PassBy | mesh_pass_by, | ||
| MR_std_shared_ptr_MR_Mesh * | mesh ) |
sets given mesh to this, and returns back previous mesh of this; does not touch selection or creases Generated from method MR::ObjectMesh::updateMesh. 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_Mesh_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectMesh_updateTexturePerFace | ( | MR_ObjectMesh * | _this, |
| MR_TexturePerFace * | texturePerFace ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_updateTextures | ( | MR_ObjectMesh * | _this, |
| MR_Vector_MR_MeshTexture_MR_TextureId * | updated ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_updateUVCoords | ( | MR_ObjectMesh * | _this, |
| MR_VertCoords2 * | updated ) |
Generated from method MR::ObjectMesh::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_ObjectMesh_updateVertsColorMap | ( | MR_ObjectMesh * | _this, |
| MR_VertColors * | vertsColorMap ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectMesh::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_ObjectMesh_useDefaultScenePropertiesOnDeserialization | ( | const MR_ObjectMesh * | _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::ObjectMesh::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API const MR_std_shared_ptr_MR_Mesh * MR_ObjectMesh_varMesh | ( | MR_ObjectMesh * | _this | ) |
returns variable mesh, if const mesh is needed use mesh() instead Generated from method MR::ObjectMesh::varMesh. 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_ViewportMask * MR_ObjectMesh_visibilityMask | ( | const MR_ObjectMesh * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectMesh::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_ObjectMesh_volume | ( | const MR_ObjectMesh * | _this | ) |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectMesh::volume. Parameter _this can not be null. It is a single object.
| MRC_API MR_MeshIntersectionResult * MR_ObjectMesh_worldRayIntersection | ( | const MR_ObjectMesh * | _this, |
| const MR_Line3f * | worldRay, | ||
| const MR_FaceBitSet * | region ) |
given ray in world coordinates, e.g. obtained from Viewport::unprojectPixelRay; finds its intersection with the mesh of this object considering its transformation relative to the world; it is inefficient to call this function for many rays, because it computes world-to-local xf every time Generated from method MR::ObjectMesh::worldRayIntersection. Parameter _this can not be null. It is a single object. Parameter worldRay can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshIntersectionResult_Destroy() to free it when you're done using it.
| MRC_API MR_AffineXf3f MR_ObjectMesh_worldXf | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_xf | ( | const MR_ObjectMesh * | _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::ObjectMesh::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_ObjectMesh_xfsForAllViewports | ( | const MR_ObjectMesh * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectMesh::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 MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_AssignFromAnother | ( | MR_ObjectMeshMergeOptions * | _this, |
| const MR_ObjectMeshMergeOptions * | _other ) |
Generated from method MR::ObjectMeshMergeOptions::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_ConstructFrom | ( | const MR_std_vector_MR_AffineXf3f * | overrideXfs | ) |
Constructs MR::ObjectMeshMergeOptions elementwise. The reference to the parameter overrideXfs might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshMergeOptions_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_ConstructFromAnother | ( | const MR_ObjectMeshMergeOptions * | _other | ) |
Generated from constructor MR::ObjectMeshMergeOptions::ObjectMeshMergeOptions. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshMergeOptions_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectMeshMergeOptions_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_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_ObjectMeshMergeOptions_DestroyArray(). Use MR_ObjectMeshMergeOptions_OffsetMutablePtr() and MR_ObjectMeshMergeOptions_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectMeshMergeOptions_Destroy | ( | const MR_ObjectMeshMergeOptions * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectMeshMergeOptions. Does nothing if the pointer is null.
| MRC_API void MR_ObjectMeshMergeOptions_DestroyArray | ( | const MR_ObjectMeshMergeOptions * | _this | ) |
Destroys a heap-allocated array of MR_ObjectMeshMergeOptions. Does nothing if the pointer is null.
| MRC_API const MR_std_vector_MR_AffineXf3f *const * MR_ObjectMeshMergeOptions_Get_overrideXfs | ( | const MR_ObjectMeshMergeOptions * | _this | ) |
if not nullptr: merged object will take overridden transform for each object Returns a pointer to a member variable of class MR::ObjectMeshMergeOptions named overrideXfs. 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_std_vector_MR_AffineXf3f ** MR_ObjectMeshMergeOptions_GetMutable_overrideXfs | ( | MR_ObjectMeshMergeOptions * | _this | ) |
if not nullptr: merged object will take overridden transform for each object Returns a mutable pointer to a member variable of class MR::ObjectMeshMergeOptions named overrideXfs. 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_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_OffsetMutablePtr | ( | MR_ObjectMeshMergeOptions * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_OffsetPtr | ( | const MR_ObjectMeshMergeOptions * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ObjectMeshMergeOptions_Set_overrideXfs | ( | MR_ObjectMeshMergeOptions * | _this, |
| const MR_std_vector_MR_AffineXf3f * | value ) |
if not nullptr: merged object will take overridden transform for each object Modifies a member variable of class MR::ObjectMeshMergeOptions named overrideXfs. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overrideXfs. When this function is called, this object will drop object references it had previously in overrideXfs.