Static Public Member Functions | |
| static java.lang.Byte | StaticTypeName () |
| static java.lang.Byte | StaticClassName () |
| static java.lang.Byte | StaticClassNameInPlural () |
| static meshlib.ObjectMesh | staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object) |
| static meshlib.ObjectMesh | staticDowncastFromObject (meshlib.Object object) |
| static meshlib.ObjectMesh | dynamicDowncastFromObject (meshlib.Object object) |
| static meshlib.ObjectMesh | staticDowncastFromVisualObject (meshlib.VisualObject object) |
| static meshlib.ObjectMesh | dynamicDowncastFromVisualObject (meshlib.VisualObject object) |
| static meshlib.ObjectMesh | staticDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object) |
| static meshlib.ObjectMesh | dynamicDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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
Instances created here own their C++ objects, see CppObject.
| meshlib.ObjectMesh.ObjectMesh | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.ObjectMesh.ObjectMesh | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectMesh_DefaultConstruct().
| meshlib.ObjectMesh.ObjectMesh | ( | meshlib.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.
Calls MR_ObjectMesh_ConstructFromAnother().
| java.lang.Byte meshlib.ObjectMesh.actualSerializeFormat | ( | ) |
returns overriden file extension used to serialize mesh inside this object if set, or SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) otherwise; never returns nullptr Generated from method MR::ObjectMesh::actualSerializeFormat.
Calls MR_ObjectMesh_actualSerializeFormat().
| boolean meshlib.ObjectMesh.addChild | ( | meshlib.std_shared_ptr_MR_Object | child, |
| java.lang.Boolean | 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. |
Calls MR_ObjectMesh_addChild().
| boolean meshlib.ObjectMesh.addChildBefore | ( | meshlib.std_shared_ptr_MR_Object | newChild, |
| meshlib.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.
Calls MR_ObjectMesh_addChildBefore().
| boolean meshlib.ObjectMesh.addTag | ( | java.lang.String | tag | ) |
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.
Calls MR_ObjectMesh_addTag().
| void meshlib.ObjectMesh.addTexture | ( | meshlib.MeshTexture | texture | ) |
Generated from method MR::ObjectMesh::addTexture.
Calls MR_ObjectMesh_addTexture().
| void meshlib.ObjectMesh.applyScale | ( | float | scaleFactor | ) |
Generated from method MR::ObjectMesh::applyScale.
Calls MR_ObjectMesh_applyScale().
| meshlib.ObjectMesh meshlib.ObjectMesh.assignFromAnother | ( | meshlib.ObjectMesh | _other | ) |
Generated from method MR::ObjectMesh::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
Calls MR_ObjectMesh_AssignFromAnother().
| float meshlib.ObjectMesh.avgEdgeLen | ( | ) |
returns cached average edge length Generated from method MR::ObjectMesh::avgEdgeLen.
Calls MR_ObjectMesh_avgEdgeLen().
| meshlib.std_string meshlib.ObjectMesh.className | ( | ) |
Generated from method MR::ObjectMesh::className.
Calls MR_ObjectMesh_className().
| meshlib.std_string meshlib.ObjectMesh.classNameInPlural | ( | ) |
Generated from method MR::ObjectMesh::classNameInPlural.
Calls MR_ObjectMesh_classNameInPlural().
| void meshlib.ObjectMesh.clearAncillaryTexture | ( | ) |
Generated from method MR::ObjectMesh::clearAncillaryTexture.
Calls MR_ObjectMesh_clearAncillaryTexture().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectMesh.clone_2 | ( | ) |
Generated from method MR::ObjectMesh::clone.
Calls MR_ObjectMesh_clone().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectMesh.cloneTree | ( | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectMesh::cloneTree.
Calls MR_ObjectMesh_cloneTree().
| meshlib.ConstChildren meshlib.ObjectMesh.constChildren | ( | ) |
the same sub-objects without the ability to modify them; the returned view is invalidated by anything that changes the children of this object Generated from method MR::ObjectMesh::constChildren.
Calls MR_ObjectMesh_constChildren().
| void meshlib.ObjectMesh.copyAllSolidColors | ( | meshlib.ObjectMeshHolder | other | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectMesh::copyAllSolidColors.
Calls MR_ObjectMesh_copyAllSolidColors().
| void meshlib.ObjectMesh.copyColors | ( | meshlib.ObjectMeshHolder | src, |
| meshlib.VertMap | thisToSrc, | ||
| meshlib.FaceMap | thisToSrcFaces ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMesh::copyColors. |
Calls MR_ObjectMesh_copyColors().
| void meshlib.ObjectMesh.copyTextureAndColors | ( | meshlib.ObjectMeshHolder | src, |
| meshlib.VertMap | thisToSrc, | ||
| meshlib.FaceMap | thisToSrcFaces ) |
copies texture, UV-coordinates and vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectMesh::copyTextureAndColors. |
Calls MR_ObjectMesh_copyTextureAndColors().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectMesh.creases | ( | ) |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectMesh::creases.
Calls MR_ObjectMesh_creases().
| meshlib.ObjectMeshData meshlib.ObjectMesh.data | ( | ) |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectMesh::data.
Calls MR_ObjectMesh_data().
| boolean meshlib.ObjectMesh.detachFromParent | ( | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectMesh::detachFromParent.
Calls MR_ObjectMesh_detachFromParent().
|
static |
Dynamic downcast from the base class MR::Object. Returns null if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectMeshHolder. Returns null if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns null if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableDynamicDowncastFrom_MR_VisualObject().
| boolean meshlib.ObjectMesh.flatShading | ( | ) |
Generated from method MR::ObjectMesh::flatShading.
Calls MR_ObjectMesh_flatShading().
| meshlib.std_vector_MR_ViewportMask meshlib.ObjectMesh.getAllVisualizeProperties | ( | ) |
get all visualize properties masks Generated from method MR::ObjectMesh::getAllVisualizeProperties.
Calls MR_ObjectMesh_getAllVisualizeProperties().
| float meshlib.ObjectMesh.getAmbientStrength | ( | ) |
returns intensity of non-directional light Generated from method MR::ObjectMesh::getAmbientStrength.
Calls MR_ObjectMesh_getAmbientStrength().
| meshlib.MeshTexture meshlib.ObjectMesh.getAncillaryTexture | ( | ) |
ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectMesh::getAncillaryTexture.
Calls MR_ObjectMesh_getAncillaryTexture().
| meshlib.VertCoords2 meshlib.ObjectMesh.getAncillaryUVCoords | ( | ) |
Generated from method MR::ObjectMesh::getAncillaryUVCoords.
Calls MR_ObjectMesh_getAncillaryUVCoords().
| meshlib.Color meshlib.ObjectMesh.getBackColor | ( | meshlib.ViewportId | viewportId | ) |
returns backward color of object in given viewport Generated from method MR::ObjectMesh::getBackColor.
Calls MR_ObjectMesh_getBackColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getBackColorsForAllViewports | ( | ) |
returns backward color of object in all viewports Generated from method MR::ObjectMesh::getBackColorsForAllViewports.
Calls MR_ObjectMesh_getBackColorsForAllViewports().
| meshlib.Color meshlib.ObjectMesh.getBordersColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectMesh::getBordersColor.
Calls MR_ObjectMesh_getBordersColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getBordersColorsForAllViewports | ( | ) |
Generated from method MR::ObjectMesh::getBordersColorsForAllViewports.
Calls MR_ObjectMesh_getBordersColorsForAllViewports().
| meshlib.Box3f meshlib.ObjectMesh.getBoundingBox | ( | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectMesh::getBoundingBox.
Calls MR_ObjectMesh_getBoundingBox().
| meshlib.ColoringType meshlib.ObjectMesh.getColoringType | ( | ) |
returns the current coloring mode of the object Generated from method MR::ObjectMesh::getColoringType.
Calls MR_ObjectMesh_getColoringType().
| int meshlib.ObjectMesh.getDirtyFlags | ( | ) |
returns current dirty flags for the object Generated from method MR::ObjectMesh::getDirtyFlags.
Calls MR_ObjectMesh_getDirtyFlags().
| meshlib.Color meshlib.ObjectMesh.getEdgesColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectMesh::getEdgesColor.
Calls MR_ObjectMesh_getEdgesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getEdgesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectMesh::getEdgesColorsForAllViewports.
Calls MR_ObjectMesh_getEdgesColorsForAllViewports().
| float meshlib.ObjectMesh.getEdgeWidth | ( | ) |
Generated from method MR::ObjectMesh::getEdgeWidth.
Calls MR_ObjectMesh_getEdgeWidth().
| meshlib.FaceColors meshlib.ObjectMesh.getFacesColorMap | ( | ) |
Generated from method MR::ObjectMesh::getFacesColorMap.
Calls MR_ObjectMesh_getFacesColorMap().
| meshlib.Color meshlib.ObjectMesh.getFrontColor | ( | java.lang.Boolean | selected, |
| meshlib.ViewportId | viewportId ) |
returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectMesh::getFrontColor.
Calls MR_ObjectMesh_getFrontColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getFrontColorsForAllViewports | ( | java.lang.Boolean | selected | ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectMesh::getFrontColorsForAllViewports.
Calls MR_ObjectMesh_getFrontColorsForAllViewports().
| byte meshlib.ObjectMesh.getGlobalAlpha | ( | meshlib.ViewportId | viewportId | ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectMesh::getGlobalAlpha.
Calls MR_ObjectMesh_getGlobalAlpha().
| meshlib.ViewportProperty_unsigned_char meshlib.ObjectMesh.getGlobalAlphaForAllViewports | ( | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectMesh::getGlobalAlphaForAllViewports.
Calls MR_ObjectMesh_getGlobalAlphaForAllViewports().
| meshlib.std_vector_std_string meshlib.ObjectMesh.getInfoLines | ( | ) |
Generated from method MR::ObjectMesh::getInfoLines.
Calls MR_ObjectMesh_getInfoLines().
| long meshlib.ObjectMesh.getModelHash | ( | ) |
Generated from method MR::ObjectMesh::getModelHash.
Calls MR_ObjectMesh_getModelHash().
| meshlib.Color meshlib.ObjectMesh.getPointsColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectMesh::getPointsColor.
Calls MR_ObjectMesh_getPointsColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getPointsColorsForAllViewports | ( | ) |
Generated from method MR::ObjectMesh::getPointsColorsForAllViewports.
Calls MR_ObjectMesh_getPointsColorsForAllViewports().
| float meshlib.ObjectMesh.getPointSize | ( | ) |
Generated from method MR::ObjectMesh::getPointSize.
Calls MR_ObjectMesh_getPointSize().
| boolean meshlib.ObjectMesh.getRedrawFlag | ( | meshlib.ViewportMask | viewportMask | ) |
Generated from method MR::ObjectMesh::getRedrawFlag.
Calls MR_ObjectMesh_getRedrawFlag().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectMesh.getSelectedEdges | ( | ) |
Generated from method MR::ObjectMesh::getSelectedEdges.
Calls MR_ObjectMesh_getSelectedEdges().
| meshlib.Color meshlib.ObjectMesh.getSelectedEdgesColor | ( | meshlib.ViewportId | id | ) |
returns colors of selected edges Generated from method MR::ObjectMesh::getSelectedEdgesColor.
Calls MR_ObjectMesh_getSelectedEdgesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getSelectedEdgesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectMesh::getSelectedEdgesColorsForAllViewports.
Calls MR_ObjectMesh_getSelectedEdgesColorsForAllViewports().
| meshlib.FaceBitSet meshlib.ObjectMesh.getSelectedFaces | ( | ) |
Generated from method MR::ObjectMesh::getSelectedFaces.
Calls MR_ObjectMesh_getSelectedFaces().
| meshlib.Color meshlib.ObjectMesh.getSelectedFacesColor | ( | meshlib.ViewportId | id | ) |
returns colors of selected triangles Generated from method MR::ObjectMesh::getSelectedFacesColor.
Calls MR_ObjectMesh_getSelectedFacesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectMesh.getSelectedFacesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectMesh::getSelectedFacesColorsForAllViewports.
Calls MR_ObjectMesh_getSelectedFacesColorsForAllViewports().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectMesh.getSharedPtr | ( | ) |
returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::ObjectMesh::getSharedPtr.
Calls MR_ObjectMesh_getSharedPtr().
| float meshlib.ObjectMesh.getShininess | ( | ) |
returns the current shininess visual value Generated from method MR::ObjectMesh::getShininess.
Calls MR_ObjectMesh_getShininess().
| float meshlib.ObjectMesh.getSpecularStrength | ( | ) |
returns intensity of reflections Generated from method MR::ObjectMesh::getSpecularStrength.
Calls MR_ObjectMesh_getSpecularStrength().
| meshlib.MeshTexture meshlib.ObjectMesh.getTexture | ( | ) |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectMesh::getTexture.
Calls MR_ObjectMesh_getTexture().
| meshlib.TexturePerFace meshlib.ObjectMesh.getTexturePerFace | ( | ) |
Generated from method MR::ObjectMesh::getTexturePerFace.
Calls MR_ObjectMesh_getTexturePerFace().
| meshlib.Vector_MR_MeshTexture_MR_TextureId meshlib.ObjectMesh.getTextures | ( | ) |
Generated from method MR::ObjectMesh::getTextures.
Calls MR_ObjectMesh_getTextures().
| meshlib.VertCoords2 meshlib.ObjectMesh.getUVCoords | ( | ) |
Generated from method MR::ObjectMesh::getUVCoords.
Calls MR_ObjectMesh_getUVCoords().
| meshlib.VertColors meshlib.ObjectMesh.getVertsColorMap | ( | ) |
returns per-vertex colors of the object Generated from method MR::ObjectMesh::getVertsColorMap.
Calls MR_ObjectMesh_getVertsColorMap().
| boolean meshlib.ObjectMesh.getVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
returns true if the property is set at least in one viewport specified by the mask Generated from method MR::ObjectMesh::getVisualizeProperty.
Calls MR_ObjectMesh_getVisualizeProperty().
| meshlib.ViewportMask meshlib.ObjectMesh.getVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
returns mask of viewports where given property is set Generated from method MR::ObjectMesh::getVisualizePropertyMask.
Calls MR_ObjectMesh_getVisualizePropertyMask().
| meshlib.Box3f meshlib.ObjectMesh.getWorldBox | ( | meshlib.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.
Calls MR_ObjectMesh_getWorldBox().
| meshlib.Box3f meshlib.ObjectMesh.getWorldTreeBox | ( | meshlib.ViewportId | _1 | ) |
returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::ObjectMesh::getWorldTreeBox.
Calls MR_ObjectMesh_getWorldTreeBox().
| boolean meshlib.ObjectMesh.globalClippedByPlane | ( | meshlib.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.
Calls MR_ObjectMesh_globalClippedByPlane().
| meshlib.ViewportMask meshlib.ObjectMesh.globalClippedByPlaneMask | ( | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectMesh::globalClippedByPlaneMask.
Calls MR_ObjectMesh_globalClippedByPlaneMask().
| boolean meshlib.ObjectMesh.globalVisibility | ( | meshlib.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.
Calls MR_ObjectMesh_globalVisibility().
| meshlib.ViewportMask meshlib.ObjectMesh.globalVisibilityMask | ( | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectMesh::globalVisibilityMask.
Calls MR_ObjectMesh_globalVisibilityMask().
| boolean meshlib.ObjectMesh.hasAncillaryTexture | ( | ) |
Generated from method MR::ObjectMesh::hasAncillaryTexture.
Calls MR_ObjectMesh_hasAncillaryTexture().
| boolean meshlib.ObjectMesh.hasModel | ( | ) |
Generated from method MR::ObjectMesh::hasModel.
Calls MR_ObjectMesh_hasModel().
| boolean meshlib.ObjectMesh.hasVisualRepresentation | ( | ) |
mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectMesh::hasVisualRepresentation.
Calls MR_ObjectMesh_hasVisualRepresentation().
| long meshlib.ObjectMesh.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMesh::heapBytes.
Calls MR_ObjectMesh_heapBytes().
| void meshlib.ObjectMesh.invalidateMetricsCache | ( | int | mask | ) |
invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectMesh::invalidateMetricsCache.
Calls MR_ObjectMesh_invalidateMetricsCache().
| boolean meshlib.ObjectMesh.isAncestor | ( | meshlib.Object | ancestor | ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectMesh::isAncestor.
Calls MR_ObjectMesh_isAncestor().
| boolean meshlib.ObjectMesh.isAncillary | ( | ) |
Generated from method MR::ObjectMesh::isAncillary.
Calls MR_ObjectMesh_isAncillary().
| boolean meshlib.ObjectMesh.isGlobalAncillary | ( | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectMesh::isGlobalAncillary.
Calls MR_ObjectMesh_isGlobalAncillary().
| boolean meshlib.ObjectMesh.isLocked | ( | ) |
object properties lock for UI Generated from method MR::ObjectMesh::isLocked.
Calls MR_ObjectMesh_isLocked().
| boolean meshlib.ObjectMesh.isMeshClosed | ( | ) |
returns cached information whether the mesh is closed Generated from method MR::ObjectMesh::isMeshClosed.
Calls MR_ObjectMesh_isMeshClosed().
| boolean meshlib.ObjectMesh.isParentLocked | ( | ) |
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.
Calls MR_ObjectMesh_isParentLocked().
| boolean meshlib.ObjectMesh.isPickable | ( | meshlib.ViewportMask | viewportMask | ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectMesh::isPickable.
Calls MR_ObjectMesh_isPickable().
| boolean meshlib.ObjectMesh.isSelected | ( | ) |
Generated from method MR::ObjectMesh::isSelected.
Calls MR_ObjectMesh_isSelected().
| boolean meshlib.ObjectMesh.isVisible | ( | meshlib.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.
Calls MR_ObjectMesh_isVisible().
| meshlib.std_shared_ptr_const_MR_Mesh meshlib.ObjectMesh.mesh | ( | ) |
Calls MR_ObjectMesh_mesh().
| meshlib.MeshPart meshlib.ObjectMesh.meshPart | ( | ) |
Calls MR_ObjectMesh_meshPart().
| meshlib.Mesh meshlib.ObjectMesh.meshPtr | ( | ) |
returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectMesh::meshPtr.
Calls MR_ObjectMesh_meshPtr().
| meshlib.std_string meshlib.ObjectMesh.name | ( | ) |
Generated from method MR::ObjectMesh::name.
Calls MR_ObjectMesh_name().
| long meshlib.ObjectMesh.numComponents | ( | ) |
returns cached information about the number of components in the mesh Generated from method MR::ObjectMesh::numComponents.
Calls MR_ObjectMesh_numComponents().
| long meshlib.ObjectMesh.numCreaseEdges | ( | ) |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectMesh::numCreaseEdges.
Calls MR_ObjectMesh_numCreaseEdges().
| long meshlib.ObjectMesh.numHandles | ( | ) |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectMesh::numHandles.
Calls MR_ObjectMesh_numHandles().
| long meshlib.ObjectMesh.numHoles | ( | ) |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectMesh::numHoles.
Calls MR_ObjectMesh_numHoles().
| long meshlib.ObjectMesh.numSelectedEdges | ( | ) |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectMesh::numSelectedEdges.
Calls MR_ObjectMesh_numSelectedEdges().
| long meshlib.ObjectMesh.numSelectedFaces | ( | ) |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectMesh::numSelectedFaces.
Calls MR_ObjectMesh_numSelectedFaces().
| long meshlib.ObjectMesh.numUndirectedEdges | ( | ) |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectMesh::numUndirectedEdges.
Calls MR_ObjectMesh_numUndirectedEdges().
| void meshlib.ObjectMesh.removeAllChildren | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectMesh::removeAllChildren.
Calls MR_ObjectMesh_removeAllChildren().
| boolean meshlib.ObjectMesh.removeTag | ( | java.lang.String | tag | ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectMesh::removeTag.
Calls MR_ObjectMesh_removeTag().
| boolean meshlib.ObjectMesh.render | ( | meshlib.ModelRenderParams | _1 | ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectMesh::render.
Calls MR_ObjectMesh_render().
| void meshlib.ObjectMesh.renderForPicker | ( | meshlib.ModelBaseRenderParams | _1, |
| int | _2 ) |
draws this object for picking Generated from method MR::ObjectMesh::renderForPicker.
Calls MR_ObjectMesh_renderForPicker().
| void meshlib.ObjectMesh.renderUi | ( | meshlib.UiRenderParams | params | ) |
draws this object for 2d UI Generated from method MR::ObjectMesh::renderUi.
Calls MR_ObjectMesh_renderUi().
| void meshlib.ObjectMesh.resetColors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectMesh::resetColors.
Calls MR_ObjectMesh_resetColors().
| void meshlib.ObjectMesh.resetDirty | ( | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectMesh::resetDirty.
Calls MR_ObjectMesh_resetDirty().
| void meshlib.ObjectMesh.resetDirtyExceptMask | ( | int | mask | ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectMesh::resetDirtyExceptMask.
Calls MR_ObjectMesh_resetDirtyExceptMask().
| void meshlib.ObjectMesh.resetFrontColor | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectMesh::resetFrontColor.
Calls MR_ObjectMesh_resetFrontColor().
| void meshlib.ObjectMesh.resetRedrawFlag | ( | ) |
Generated from method MR::ObjectMesh::resetRedrawFlag.
Calls MR_ObjectMesh_resetRedrawFlag().
| void meshlib.ObjectMesh.resetXf | ( | meshlib.ViewportId | id | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectMesh::resetXf.
Calls MR_ObjectMesh_resetXf().
| boolean meshlib.ObjectMesh.sameModels | ( | meshlib.Object | other | ) |
Generated from method MR::ObjectMesh::sameModels.
Calls MR_ObjectMesh_sameModels().
| boolean meshlib.ObjectMesh.select | ( | boolean | on | ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectMesh::select.
Calls MR_ObjectMesh_select().
| double meshlib.ObjectMesh.selectedArea | ( | ) |
returns cached area of selected triangles Generated from method MR::ObjectMesh::selectedArea.
Calls MR_ObjectMesh_selectedArea().
| void meshlib.ObjectMesh.selectEdges | ( | meshlib.UndirectedEdgeBitSet | newSelection | ) |
Generated from method MR::ObjectMesh::selectEdges.
Calls MR_ObjectMesh_selectEdges().
| void meshlib.ObjectMesh.selectFaces | ( | meshlib.FaceBitSet | newSelection | ) |
Generated from method MR::ObjectMesh::selectFaces.
Calls MR_ObjectMesh_selectFaces().
| java.lang.Byte meshlib.ObjectMesh.serializeFormat | ( | ) |
returns overriden file extension used to serialize mesh inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) Generated from method MR::ObjectMesh::serializeFormat.
Calls MR_ObjectMesh_serializeFormat().
| void meshlib.ObjectMesh.setAllVisualizeProperties | ( | meshlib.std_vector_MR_ViewportMask | properties | ) |
set all visualize properties masks Generated from method MR::ObjectMesh::setAllVisualizeProperties.
Calls MR_ObjectMesh_setAllVisualizeProperties().
| void meshlib.ObjectMesh.setAmbientStrength | ( | float | ambientStrength | ) |
sets intensity of non-directional light Generated from method MR::ObjectMesh::setAmbientStrength.
Calls MR_ObjectMesh_setAmbientStrength().
| void meshlib.ObjectMesh.setAncillary | ( | boolean | 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.
Calls MR_ObjectMesh_setAncillary().
| void meshlib.ObjectMesh.setAncillaryTexture | ( | meshlib.MeshTexture | texture | ) |
Generated from method MR::ObjectMesh::setAncillaryTexture.
Calls MR_ObjectMesh_setAncillaryTexture().
| void meshlib.ObjectMesh.setAncillaryUVCoords | ( | meshlib.VertCoords2 | uvCoordinates | ) |
Generated from method MR::ObjectMesh::setAncillaryUVCoords.
Calls MR_ObjectMesh_setAncillaryUVCoords().
| void meshlib.ObjectMesh.setBackColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectMesh::setBackColor.
Calls MR_ObjectMesh_setBackColor().
| void meshlib.ObjectMesh.setBackColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
sets backward color of object in all viewports Generated from method MR::ObjectMesh::setBackColorsForAllViewports.
Calls MR_ObjectMesh_setBackColorsForAllViewports().
| void meshlib.ObjectMesh.setBordersColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectMesh::setBordersColor.
Calls MR_ObjectMesh_setBordersColor().
| void meshlib.ObjectMesh.setBordersColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectMesh::setBordersColorsForAllViewports.
Calls MR_ObjectMesh_setBordersColorsForAllViewports().
| void meshlib.ObjectMesh.setColoringType | ( | meshlib.ColoringType | coloringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectMesh::setColoringType.
Calls MR_ObjectMesh_setColoringType().
| void meshlib.ObjectMesh.setCreases | ( | meshlib.UndirectedEdgeBitSet | creases | ) |
Generated from method MR::ObjectMesh::setCreases.
Calls MR_ObjectMesh_setCreases().
| void meshlib.ObjectMesh.setData | ( | meshlib.ObjectMeshData | data | ) |
sets whole new ObjectMeshData Generated from method MR::ObjectMesh::setData.
Calls MR_ObjectMesh_setData().
| void meshlib.ObjectMesh.setDirtyFlags | ( | int | mask, |
| java.lang.Boolean | invalidateCaches ) |
Generated from method MR::ObjectMesh::setDirtyFlags.
Calls MR_ObjectMesh_setDirtyFlags().
| void meshlib.ObjectMesh.setDirtyFlagsFast | ( | int | mask | ) |
this is a faster version of setDirtyFlags(), which does not invalidate metrics cache (area, volume, ...); the user is responsible for calling invalidateMetricsCache( mask ) or setDirtyFlags( mask ) at the end of mesh editing; DANGER: all cached values returned until then can be outdated Generated from method MR::ObjectMesh::setDirtyFlagsFast.
Calls MR_ObjectMesh_setDirtyFlagsFast().
| void meshlib.ObjectMesh.setEdgesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectMesh::setEdgesColor.
Calls MR_ObjectMesh_setEdgesColor().
| void meshlib.ObjectMesh.setEdgesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectMesh::setEdgesColorsForAllViewports.
Calls MR_ObjectMesh_setEdgesColorsForAllViewports().
| void meshlib.ObjectMesh.setEdgeWidth | ( | float | edgeWidth | ) |
Generated from method MR::ObjectMesh::setEdgeWidth.
Calls MR_ObjectMesh_setEdgeWidth().
| void meshlib.ObjectMesh.setFacesColorMap | ( | meshlib.FaceColors | facesColorMap | ) |
Generated from method MR::ObjectMesh::setFacesColorMap.
Calls MR_ObjectMesh_setFacesColorMap().
| void meshlib.ObjectMesh.setFlatShading | ( | boolean | on | ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectMesh::setFlatShading.
Calls MR_ObjectMesh_setFlatShading().
| void meshlib.ObjectMesh.setFrontColor | ( | meshlib.Color | color, |
| boolean | selected, | ||
| meshlib.ViewportId | viewportId ) |
sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectMesh::setFrontColor.
Calls MR_ObjectMesh_setFrontColor().
| void meshlib.ObjectMesh.setFrontColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val, |
| java.lang.Boolean | selected ) |
sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectMesh::setFrontColorsForAllViewports.
Calls MR_ObjectMesh_setFrontColorsForAllViewports().
| void meshlib.ObjectMesh.setGlobalAlpha | ( | byte | alpha, |
| meshlib.ViewportId | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectMesh::setGlobalAlpha.
Calls MR_ObjectMesh_setGlobalAlpha().
| void meshlib.ObjectMesh.setGlobalAlphaForAllViewports | ( | meshlib.ViewportProperty_unsigned_char | val | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectMesh::setGlobalAlphaForAllViewports.
Calls MR_ObjectMesh_setGlobalAlphaForAllViewports().
| void meshlib.ObjectMesh.setGlobalClippedByPlane | ( | boolean | on, |
| meshlib.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.
Calls MR_ObjectMesh_setGlobalClippedByPlane().
| void meshlib.ObjectMesh.setGlobalVisibility | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectMesh::setGlobalVisibility.
Calls MR_ObjectMesh_setGlobalVisibility().
| void meshlib.ObjectMesh.setLocked | ( | boolean | on | ) |
Generated from method MR::ObjectMesh::setLocked.
Calls MR_ObjectMesh_setLocked().
| void meshlib.ObjectMesh.setMesh | ( | meshlib.std_shared_ptr_MR_Mesh | mesh | ) |
sets given mesh to this, resets selection and creases Generated from method MR::ObjectMesh::setMesh.
Calls MR_ObjectMesh_setMesh().
| void meshlib.ObjectMesh.setName | ( | java.lang.String | name | ) |
Generated from method MR::ObjectMesh::setName.
Calls MR_ObjectMesh_setName().
| void meshlib.ObjectMesh.setParentLocked | ( | boolean | lock | ) |
Generated from method MR::ObjectMesh::setParentLocked.
Calls MR_ObjectMesh_setParentLocked().
| void meshlib.ObjectMesh.setPickable | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::ObjectMesh::setPickable.
Calls MR_ObjectMesh_setPickable().
| void meshlib.ObjectMesh.setPointsColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectMesh::setPointsColor.
Calls MR_ObjectMesh_setPointsColor().
| void meshlib.ObjectMesh.setPointsColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectMesh::setPointsColorsForAllViewports.
Calls MR_ObjectMesh_setPointsColorsForAllViewports().
| void meshlib.ObjectMesh.setPointSize | ( | float | size | ) |
Generated from method MR::ObjectMesh::setPointSize.
Calls MR_ObjectMesh_setPointSize().
| void meshlib.ObjectMesh.setSelectedEdgesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
sets colors of selected edges Generated from method MR::ObjectMesh::setSelectedEdgesColor.
Calls MR_ObjectMesh_setSelectedEdgesColor().
| void meshlib.ObjectMesh.setSelectedEdgesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectMesh::setSelectedEdgesColorsForAllViewports.
Calls MR_ObjectMesh_setSelectedEdgesColorsForAllViewports().
| void meshlib.ObjectMesh.setSelectedFacesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
sets colors of selected triangles Generated from method MR::ObjectMesh::setSelectedFacesColor.
Calls MR_ObjectMesh_setSelectedFacesColor().
| void meshlib.ObjectMesh.setSelectedFacesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectMesh::setSelectedFacesColorsForAllViewports.
Calls MR_ObjectMesh_setSelectedFacesColorsForAllViewports().
| void meshlib.ObjectMesh.setSerializeFormat | ( | java.lang.Byte | newFormat | ) |
overrides file extension used to serialize mesh inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) Generated from method MR::ObjectMesh::setSerializeFormat.
Calls MR_ObjectMesh_setSerializeFormat().
| void meshlib.ObjectMesh.setShininess | ( | float | shininess | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectMesh::setShininess.
Calls MR_ObjectMesh_setShininess().
| void meshlib.ObjectMesh.setSpecularStrength | ( | float | specularStrength | ) |
sets intensity of reflections Generated from method MR::ObjectMesh::setSpecularStrength.
Calls MR_ObjectMesh_setSpecularStrength().
| void meshlib.ObjectMesh.setTexturePerFace | ( | meshlib.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.
Calls MR_ObjectMesh_setTexturePerFace().
| void meshlib.ObjectMesh.setTextures | ( | meshlib.Vector_MR_MeshTexture_MR_TextureId | texture | ) |
Generated from method MR::ObjectMesh::setTextures.
Calls MR_ObjectMesh_setTextures().
| void meshlib.ObjectMesh.setUseDefaultScenePropertiesOnDeserialization | ( | boolean | 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.
Calls MR_ObjectMesh_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib.ObjectMesh.setUVCoords | ( | meshlib.VertCoords2 | uvCoordinates | ) |
Generated from method MR::ObjectMesh::setUVCoords.
Calls MR_ObjectMesh_setUVCoords().
| void meshlib.ObjectMesh.setVertsColorMap | ( | meshlib.VertColors | vertsColorMap | ) |
sets per-vertex colors of the object Generated from method MR::ObjectMesh::setVertsColorMap.
Calls MR_ObjectMesh_setVertsColorMap().
| void meshlib.ObjectMesh.setVisibilityMask | ( | meshlib.ViewportMask | viewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectMesh::setVisibilityMask.
Calls MR_ObjectMesh_setVisibilityMask().
| void meshlib.ObjectMesh.setVisible | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::ObjectMesh::setVisible.
Calls MR_ObjectMesh_setVisible().
| void meshlib.ObjectMesh.setVisualizeProperty | ( | boolean | value, |
| meshlib.AnyVisualizeMaskEnum | type, | ||
| meshlib.ViewportMask | viewportMask ) |
set visual property in all viewports specified by the mask Generated from method MR::ObjectMesh::setVisualizeProperty.
Calls MR_ObjectMesh_setVisualizeProperty().
| void meshlib.ObjectMesh.setVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
set visual property mask Generated from method MR::ObjectMesh::setVisualizePropertyMask.
Calls MR_ObjectMesh_setVisualizePropertyMask().
| void meshlib.ObjectMesh.setWorldXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectMesh::setWorldXf.
Calls MR_ObjectMesh_setWorldXf().
| void meshlib.ObjectMesh.setXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectMesh::setXf.
Calls MR_ObjectMesh_setXf().
| void meshlib.ObjectMesh.setXfsForAllViewports | ( | meshlib.ViewportProperty_MR_AffineXf3f | xf | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectMesh::setXfsForAllViewports.
Calls MR_ObjectMesh_setXfsForAllViewports().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectMesh.shallowClone | ( | ) |
Generated from method MR::ObjectMesh::shallowClone.
Calls MR_ObjectMesh_shallowClone().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectMesh.shallowCloneTree | ( | ) |
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.
Calls MR_ObjectMesh_shallowCloneTree().
| void meshlib.ObjectMesh.sortChildren | ( | ) |
sort recognized children by name Generated from method MR::ObjectMesh::sortChildren.
Calls MR_ObjectMesh_sortChildren().
|
static |
Generated from method MR::ObjectMesh::StaticClassName.
Calls MR_ObjectMesh_StaticClassName().
|
static |
Generated from method MR::ObjectMesh::StaticClassNameInPlural.
Calls MR_ObjectMesh_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object. Undefined behavior if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableStaticDowncastFrom_MR_Object().
|
static |
Static downcast from the base class MR::ObjectChildrenHolder. Undefined behavior if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().
|
static |
Static downcast from the base class MR::ObjectMeshHolder. Undefined behavior if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableStaticDowncastFrom_MR_ObjectMeshHolder().
|
static |
Static downcast from the base class MR::VisualObject. Undefined behavior if the object isn't actually a ObjectMesh. The result refers to object.
Calls MR_ObjectMesh_MutableStaticDowncastFrom_MR_VisualObject().
|
static |
Generated from method MR::ObjectMesh::StaticTypeName.
Calls MR_ObjectMesh_StaticTypeName().
| boolean meshlib.ObjectMesh.supportsVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
Generated from method MR::ObjectMesh::supportsVisualizeProperty.
Calls MR_ObjectMesh_supportsVisualizeProperty().
| void meshlib.ObjectMesh.swap | ( | meshlib.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.
Calls MR_ObjectMesh_swap().
| meshlib.std_set_std_string meshlib.ObjectMesh.tags | ( | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectMesh::tags.
Calls MR_ObjectMesh_tags().
| void meshlib.ObjectMesh.toggleVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectMesh::toggleVisualizeProperty.
Calls MR_ObjectMesh_toggleVisualizeProperty().
| double meshlib.ObjectMesh.totalArea | ( | ) |
returns cached summed area of mesh triangles Generated from method MR::ObjectMesh::totalArea.
Calls MR_ObjectMesh_totalArea().
| java.lang.Byte meshlib.ObjectMesh.typeName | ( | ) |
Generated from method MR::ObjectMesh::typeName.
Calls MR_ObjectMesh_typeName().
| meshlib.Object meshlib.ObjectMesh.upcastToObject | ( | ) |
Upcasts to the base class MR::Object. The result refers to this object.
Calls MR_ObjectMesh_MutableUpcastTo_MR_Object().
| meshlib.ObjectChildrenHolder meshlib.ObjectMesh.upcastToObjectChildrenHolder | ( | ) |
Upcasts to the base class MR::ObjectChildrenHolder. The result refers to this object.
Calls MR_ObjectMesh_MutableUpcastTo_MR_ObjectChildrenHolder().
| meshlib.ObjectMeshHolder meshlib.ObjectMesh.upcastToObjectMeshHolder | ( | ) |
Upcasts to the base class MR::ObjectMeshHolder. The result refers to this object.
Calls MR_ObjectMesh_MutableUpcastTo_MR_ObjectMeshHolder().
| meshlib.VisualObject meshlib.ObjectMesh.upcastToVisualObject | ( | ) |
Upcasts to the base class MR::VisualObject. The result refers to this object.
Calls MR_ObjectMesh_MutableUpcastTo_MR_VisualObject().
| void meshlib.ObjectMesh.updateAncillaryUVCoords | ( | meshlib.VertCoords2 | updated | ) |
Generated from method MR::ObjectMesh::updateAncillaryUVCoords.
Calls MR_ObjectMesh_updateAncillaryUVCoords().
| void meshlib.ObjectMesh.updateData | ( | meshlib.ObjectMeshData | data | ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectMesh::updateData.
Calls MR_ObjectMesh_updateData().
| void meshlib.ObjectMesh.updateFacesColorMap | ( | meshlib.FaceColors | updated | ) |
Generated from method MR::ObjectMesh::updateFacesColorMap.
Calls MR_ObjectMesh_updateFacesColorMap().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectMesh.updateMesh | ( | meshlib.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.
Calls MR_ObjectMesh_updateMesh().
| void meshlib.ObjectMesh.updateTexturePerFace | ( | meshlib.TexturePerFace | texturePerFace | ) |
Generated from method MR::ObjectMesh::updateTexturePerFace.
Calls MR_ObjectMesh_updateTexturePerFace().
| void meshlib.ObjectMesh.updateTextures | ( | meshlib.Vector_MR_MeshTexture_MR_TextureId | updated | ) |
Generated from method MR::ObjectMesh::updateTextures.
Calls MR_ObjectMesh_updateTextures().
| void meshlib.ObjectMesh.updateUVCoords | ( | meshlib.VertCoords2 | updated | ) |
Generated from method MR::ObjectMesh::updateUVCoords.
Calls MR_ObjectMesh_updateUVCoords().
| void meshlib.ObjectMesh.updateVertsColorMap | ( | meshlib.VertColors | vertsColorMap | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectMesh::updateVertsColorMap.
Calls MR_ObjectMesh_updateVertsColorMap().
| boolean meshlib.ObjectMesh.useDefaultScenePropertiesOnDeserialization | ( | ) |
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.
Calls MR_ObjectMesh_useDefaultScenePropertiesOnDeserialization().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectMesh.varMesh | ( | ) |
returns variable mesh, if const mesh is needed use meshPtr() instead Generated from method MR::ObjectMesh::varMesh.
Calls MR_ObjectMesh_varMesh().
| meshlib.Mesh meshlib.ObjectMesh.varMeshPtr | ( | ) |
returns the mesh of this object for modification, or nullptr if it is not set Generated from method MR::ObjectMesh::varMeshPtr.
Calls MR_ObjectMesh_varMeshPtr().
| meshlib.ViewportMask meshlib.ObjectMesh.visibilityMask | ( | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectMesh::visibilityMask.
Calls MR_ObjectMesh_visibilityMask().
| double meshlib.ObjectMesh.volume | ( | ) |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectMesh::volume.
Calls MR_ObjectMesh_volume().
| meshlib.MeshIntersectionResult meshlib.ObjectMesh.worldRayIntersection | ( | meshlib.Line3f | worldRay, |
| meshlib.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.
Calls MR_ObjectMesh_worldRayIntersection().
| meshlib.AffineXf3f meshlib.ObjectMesh.worldXf | ( | meshlib.ViewportId | id, |
| meshlib.bool_output | 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. |
Calls MR_ObjectMesh_worldXf().
| meshlib.AffineXf3f meshlib.ObjectMesh.xf | ( | meshlib.ViewportId | id, |
| meshlib.bool_output | 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. |
Calls MR_ObjectMesh_xf().
| meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectMesh.xfsForAllViewports | ( | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectMesh::xfsForAllViewports.
Calls MR_ObjectMesh_xfsForAllViewports().