MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ObjectDistanceMap Class Reference
Inheritance diagram for meshlib.ObjectDistanceMap:

Public Member Functions

 ObjectDistanceMap (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectDistanceMap ()
 ObjectDistanceMap (meshlib.ObjectDistanceMap _other)
meshlib.ObjectDistanceMap assignFromAnother (meshlib.ObjectDistanceMap _other)
java.lang.Byte typeName ()
meshlib.std_string className ()
meshlib.std_string classNameInPlural ()
void applyScale (float scaleFactor)
meshlib.std_shared_ptr_MR_Object clone_2 ()
meshlib.std_shared_ptr_MR_Object shallowClone ()
meshlib.std_vector_std_string getInfoLines ()
boolean setDistanceMap (meshlib.std_shared_ptr_MR_DistanceMap dmap, meshlib.AffineXf3f dmap2local, java.lang.Boolean needUpdateMesh, meshlib.std_function_bool_from_float cb)
meshlib.std_shared_ptr_MR_Mesh calculateMesh (meshlib.std_function_bool_from_float cb)
void updateMesh (meshlib.std_shared_ptr_MR_Mesh mesh)
meshlib.std_shared_ptr_MR_DistanceMap getDistanceMap ()
boolean hasModel ()
meshlib.AffineXf3f getToWorldParameters ()
long heapBytes ()
void resetFrontColor ()
boolean hasVisualRepresentation ()
meshlib.Mesh varMeshPtr ()
meshlib.Mesh meshPtr ()
meshlib.std_shared_ptr_const_MR_Mesh mesh ()
meshlib.MeshPart meshPart ()
void setDirtyFlags (int mask, java.lang.Boolean invalidateCaches)
void setDirtyFlagsFast (int mask)
void invalidateMetricsCache (int mask)
meshlib.FaceBitSet getSelectedFaces ()
void selectFaces (meshlib.FaceBitSet newSelection)
meshlib.Color getSelectedFacesColor (meshlib.ViewportId id)
void setSelectedFacesColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.UndirectedEdgeBitSet getSelectedEdges ()
void selectEdges (meshlib.UndirectedEdgeBitSet newSelection)
meshlib.Color getSelectedEdgesColor (meshlib.ViewportId id)
void setSelectedEdgesColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.ViewportProperty_MR_Color getSelectedEdgesColorsForAllViewports ()
void setSelectedEdgesColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getSelectedFacesColorsForAllViewports ()
void setSelectedFacesColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getEdgesColorsForAllViewports ()
void setEdgesColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getPointsColorsForAllViewports ()
void setPointsColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.ViewportProperty_MR_Color getBordersColorsForAllViewports ()
void setBordersColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
void copyAllSolidColors (meshlib.ObjectMeshHolder other)
meshlib.UndirectedEdgeBitSet creases ()
void setCreases (meshlib.UndirectedEdgeBitSet creases)
void setFlatShading (boolean on)
boolean flatShading ()
boolean supportsVisualizeProperty (meshlib.AnyVisualizeMaskEnum type)
meshlib.std_vector_MR_ViewportMask getAllVisualizeProperties ()
meshlib.ViewportMask getVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type)
meshlib.ObjectMeshData data ()
void setData (meshlib.ObjectMeshData data)
void updateData (meshlib.ObjectMeshData data)
meshlib.VertColors getVertsColorMap ()
void setVertsColorMap (meshlib.VertColors vertsColorMap)
void updateVertsColorMap (meshlib.VertColors vertsColorMap)
meshlib.FaceColors getFacesColorMap ()
void setFacesColorMap (meshlib.FaceColors facesColorMap)
void updateFacesColorMap (meshlib.FaceColors updated)
void setEdgeWidth (float edgeWidth)
float getEdgeWidth ()
void setPointSize (float size)
float getPointSize ()
meshlib.Color getEdgesColor (meshlib.ViewportId id)
void setEdgesColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.Color getPointsColor (meshlib.ViewportId id)
void setPointsColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.Color getBordersColor (meshlib.ViewportId id)
void setBordersColor (meshlib.Color color, meshlib.ViewportId id)
meshlib.MeshTexture getTexture ()
meshlib.Vector_MR_MeshTexture_MR_TextureId getTextures ()
void setTextures (meshlib.Vector_MR_MeshTexture_MR_TextureId texture)
void updateTextures (meshlib.Vector_MR_MeshTexture_MR_TextureId updated)
void setTexturePerFace (meshlib.TexturePerFace texturePerFace)
void updateTexturePerFace (meshlib.TexturePerFace texturePerFace)
void addTexture (meshlib.MeshTexture texture)
meshlib.TexturePerFace getTexturePerFace ()
meshlib.VertCoords2 getUVCoords ()
void setUVCoords (meshlib.VertCoords2 uvCoordinates)
void updateUVCoords (meshlib.VertCoords2 updated)
void copyTextureAndColors (meshlib.ObjectMeshHolder src, meshlib.VertMap thisToSrc, meshlib.FaceMap thisToSrcFaces)
void copyColors (meshlib.ObjectMeshHolder src, meshlib.VertMap thisToSrc, meshlib.FaceMap thisToSrcFaces)
meshlib.MeshTexture getAncillaryTexture ()
void setAncillaryTexture (meshlib.MeshTexture texture)
meshlib.VertCoords2 getAncillaryUVCoords ()
void setAncillaryUVCoords (meshlib.VertCoords2 uvCoordinates)
void updateAncillaryUVCoords (meshlib.VertCoords2 updated)
boolean hasAncillaryTexture ()
void clearAncillaryTexture ()
boolean getRedrawFlag (meshlib.ViewportMask viewportMask)
boolean isMeshClosed ()
meshlib.Box3f getWorldBox (meshlib.ViewportId _1)
long numSelectedFaces ()
long numSelectedEdges ()
long numCreaseEdges ()
double totalArea ()
double selectedArea ()
double volume ()
float avgEdgeLen ()
long numUndirectedEdges ()
long numHoles ()
long numComponents ()
long numHandles ()
java.lang.Byte serializeFormat ()
java.lang.Byte actualSerializeFormat ()
void setSerializeFormat (java.lang.Byte newFormat)
void resetColors ()
long getModelHash ()
boolean sameModels (meshlib.Object other)
void setVisualizeProperty (boolean value, meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void setVisualizePropertyMask (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
boolean getVisualizeProperty (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void toggleVisualizeProperty (meshlib.AnyVisualizeMaskEnum type, meshlib.ViewportMask viewportMask)
void setAllVisualizeProperties (meshlib.std_vector_MR_ViewportMask properties)
meshlib.ViewportMask globalClippedByPlaneMask ()
boolean globalClippedByPlane (meshlib.ViewportMask viewportMask)
void setGlobalClippedByPlane (boolean on, meshlib.ViewportMask viewportMask)
meshlib.Color getFrontColor (java.lang.Boolean selected, meshlib.ViewportId viewportId)
void setFrontColor (meshlib.Color color, boolean selected, meshlib.ViewportId viewportId)
meshlib.ViewportProperty_MR_Color getFrontColorsForAllViewports (java.lang.Boolean selected)
void setFrontColorsForAllViewports (meshlib.ViewportProperty_MR_Color val, java.lang.Boolean selected)
meshlib.ViewportProperty_MR_Color getBackColorsForAllViewports ()
void setBackColorsForAllViewports (meshlib.ViewportProperty_MR_Color val)
meshlib.Color getBackColor (meshlib.ViewportId viewportId)
void setBackColor (meshlib.Color color, meshlib.ViewportId viewportId)
byte getGlobalAlpha (meshlib.ViewportId viewportId)
void setGlobalAlpha (byte alpha, meshlib.ViewportId viewportId)
meshlib.ViewportProperty_unsigned_char getGlobalAlphaForAllViewports ()
void setGlobalAlphaForAllViewports (meshlib.ViewportProperty_unsigned_char val)
int getDirtyFlags ()
void resetDirty ()
void resetDirtyExceptMask (int mask)
meshlib.Box3f getBoundingBox ()
boolean isPickable (meshlib.ViewportMask viewportMask)
void setPickable (boolean on, meshlib.ViewportMask viewportMask)
meshlib.ColoringType getColoringType ()
void setColoringType (meshlib.ColoringType coloringType)
float getShininess ()
void setShininess (float shininess)
float getSpecularStrength ()
void setSpecularStrength (float specularStrength)
float getAmbientStrength ()
void setAmbientStrength (float ambientStrength)
boolean render (meshlib.ModelRenderParams _1)
void renderForPicker (meshlib.ModelBaseRenderParams _1, int _2)
void renderUi (meshlib.UiRenderParams params)
boolean useDefaultScenePropertiesOnDeserialization ()
void setUseDefaultScenePropertiesOnDeserialization (boolean useDefaultScenePropertiesOnDeserialization)
meshlib.std_string name ()
void setName (java.lang.String name)
meshlib.AffineXf3f xf (meshlib.ViewportId id, meshlib.bool_output isDef)
void setXf (meshlib.AffineXf3f xf, meshlib.ViewportId id)
void resetXf (meshlib.ViewportId id)
meshlib.ViewportProperty_MR_AffineXf3f xfsForAllViewports ()
void setXfsForAllViewports (meshlib.ViewportProperty_MR_AffineXf3f xf)
meshlib.AffineXf3f worldXf (meshlib.ViewportId id, meshlib.bool_output isDef)
void setWorldXf (meshlib.AffineXf3f xf, meshlib.ViewportId id)
meshlib.ViewportMask globalVisibilityMask ()
boolean globalVisibility (meshlib.ViewportMask viewportMask)
void setGlobalVisibility (boolean on, meshlib.ViewportMask viewportMask)
boolean isLocked ()
void setLocked (boolean on)
boolean isParentLocked ()
void setParentLocked (boolean lock)
boolean isAncestor (meshlib.Object ancestor)
boolean detachFromParent ()
meshlib.ConstChildren constChildren ()
boolean addChild (meshlib.std_shared_ptr_MR_Object child, java.lang.Boolean recognizedChild)
boolean addChildBefore (meshlib.std_shared_ptr_MR_Object newChild, meshlib.std_shared_ptr_MR_Object existingChild)
void removeAllChildren ()
void sortChildren ()
boolean select (boolean on)
boolean isSelected ()
void setAncillary (boolean ancillary)
boolean isAncillary ()
boolean isGlobalAncillary ()
void setVisible (boolean on, meshlib.ViewportMask viewportMask)
boolean isVisible (meshlib.ViewportMask viewportMask)
void setVisibilityMask (meshlib.ViewportMask viewportMask)
meshlib.ViewportMask visibilityMask ()
void resetRedrawFlag ()
meshlib.std_shared_ptr_MR_Object cloneTree ()
meshlib.std_shared_ptr_MR_Object shallowCloneTree ()
void swap (meshlib.Object other)
meshlib.Box3f getWorldTreeBox (meshlib.ViewportId _1)
meshlib.std_set_std_string tags ()
boolean addTag (java.lang.String tag)
boolean removeTag (java.lang.String tag)
meshlib.std_shared_ptr_MR_Object getSharedPtr ()
meshlib.ObjectChildrenHolder upcastToObjectChildrenHolder ()
meshlib.Object upcastToObject ()
meshlib.VisualObject upcastToVisualObject ()
meshlib.ObjectMeshHolder upcastToObjectMeshHolder ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static java.lang.Byte StaticTypeName ()
static java.lang.Byte StaticClassName ()
static java.lang.Byte StaticClassNameInPlural ()
static meshlib.ObjectDistanceMap staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object)
static meshlib.ObjectDistanceMap staticDowncastFromObject (meshlib.Object object)
static meshlib.ObjectDistanceMap dynamicDowncastFromObject (meshlib.Object object)
static meshlib.ObjectDistanceMap staticDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectDistanceMap dynamicDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectDistanceMap staticDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object)
static meshlib.ObjectDistanceMap 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)

Detailed Description

This class stores information about distance map object Generated from class MR::ObjectDistanceMap. Base classes: Direct: (non-virtual) MR::ObjectMeshHolder Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ ObjectDistanceMap() [1/3]

meshlib.ObjectDistanceMap.ObjectDistanceMap ( 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.

◆ ObjectDistanceMap() [2/3]

meshlib.ObjectDistanceMap.ObjectDistanceMap ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectDistanceMap_DefaultConstruct().

◆ ObjectDistanceMap() [3/3]

meshlib.ObjectDistanceMap.ObjectDistanceMap ( meshlib.ObjectDistanceMap _other)

Generated from constructor MR::ObjectDistanceMap::ObjectDistanceMap. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_ObjectDistanceMap_ConstructFromAnother().

Member Function Documentation

◆ actualSerializeFormat()

java.lang.Byte meshlib.ObjectDistanceMap.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::ObjectDistanceMap::actualSerializeFormat.

Calls MR_ObjectDistanceMap_actualSerializeFormat().

◆ addChild()

boolean meshlib.ObjectDistanceMap.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;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::ObjectDistanceMap::addChild.

Calls MR_ObjectDistanceMap_addChild().

◆ addChildBefore()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::addChildBefore.

Calls MR_ObjectDistanceMap_addChildBefore().

◆ addTag()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::addTag.

Calls MR_ObjectDistanceMap_addTag().

◆ addTexture()

void meshlib.ObjectDistanceMap.addTexture ( meshlib.MeshTexture texture)

Generated from method MR::ObjectDistanceMap::addTexture.

Calls MR_ObjectDistanceMap_addTexture().

◆ applyScale()

void meshlib.ObjectDistanceMap.applyScale ( float scaleFactor)

Generated from method MR::ObjectDistanceMap::applyScale.

Calls MR_ObjectDistanceMap_applyScale().

◆ assignFromAnother()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.assignFromAnother ( meshlib.ObjectDistanceMap _other)

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

◆ avgEdgeLen()

float meshlib.ObjectDistanceMap.avgEdgeLen ( )

returns cached average edge length Generated from method MR::ObjectDistanceMap::avgEdgeLen.

Calls MR_ObjectDistanceMap_avgEdgeLen().

◆ calculateMesh()

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectDistanceMap.calculateMesh ( meshlib.std_function_bool_from_float cb)

creates a grid for this object Generated from method MR::ObjectDistanceMap::calculateMesh.

Calls MR_ObjectDistanceMap_calculateMesh().

◆ className()

meshlib.std_string meshlib.ObjectDistanceMap.className ( )

Generated from method MR::ObjectDistanceMap::className.

Calls MR_ObjectDistanceMap_className().

◆ classNameInPlural()

meshlib.std_string meshlib.ObjectDistanceMap.classNameInPlural ( )

Generated from method MR::ObjectDistanceMap::classNameInPlural.

Calls MR_ObjectDistanceMap_classNameInPlural().

◆ clearAncillaryTexture()

void meshlib.ObjectDistanceMap.clearAncillaryTexture ( )

Generated from method MR::ObjectDistanceMap::clearAncillaryTexture.

Calls MR_ObjectDistanceMap_clearAncillaryTexture().

◆ clone_2()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectDistanceMap.clone_2 ( )

Generated from method MR::ObjectDistanceMap::clone.

Calls MR_ObjectDistanceMap_clone().

◆ cloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectDistanceMap.cloneTree ( )

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectDistanceMap::cloneTree.

Calls MR_ObjectDistanceMap_cloneTree().

◆ constChildren()

meshlib.ConstChildren meshlib.ObjectDistanceMap.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::ObjectDistanceMap::constChildren.

Calls MR_ObjectDistanceMap_constChildren().

◆ copyAllSolidColors()

void meshlib.ObjectDistanceMap.copyAllSolidColors ( meshlib.ObjectMeshHolder other)

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectDistanceMap::copyAllSolidColors.

Calls MR_ObjectDistanceMap_copyAllSolidColors().

◆ copyColors()

void meshlib.ObjectDistanceMap.copyColors ( meshlib.ObjectMeshHolder src,
meshlib.VertMap thisToSrc,
meshlib.FaceMap thisToSrcFaces )

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectDistanceMap::copyColors.

Calls MR_ObjectDistanceMap_copyColors().

◆ copyTextureAndColors()

void meshlib.ObjectDistanceMap.copyTextureAndColors ( meshlib.ObjectMeshHolder src,
meshlib.VertMap thisToSrc,
meshlib.FaceMap thisToSrcFaces )

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

Parameters
srcusing given map
thisToSrcGenerated from method MR::ObjectDistanceMap::copyTextureAndColors.

Calls MR_ObjectDistanceMap_copyTextureAndColors().

◆ creases()

meshlib.UndirectedEdgeBitSet meshlib.ObjectDistanceMap.creases ( )

Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectDistanceMap::creases.

Calls MR_ObjectDistanceMap_creases().

◆ data()

meshlib.ObjectMeshData meshlib.ObjectDistanceMap.data ( )

provides read-only access to whole ObjectMeshData Generated from method MR::ObjectDistanceMap::data.

Calls MR_ObjectDistanceMap_data().

◆ detachFromParent()

boolean meshlib.ObjectDistanceMap.detachFromParent ( )

removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectDistanceMap::detachFromParent.

Calls MR_ObjectDistanceMap_detachFromParent().

◆ dynamicDowncastFromObject()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.dynamicDowncastFromObject ( meshlib.Object object)
static

Dynamic downcast from the base class MR::Object. Returns null if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_Object().

◆ dynamicDowncastFromObjectMeshHolder()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.dynamicDowncastFromObjectMeshHolder ( meshlib.ObjectMeshHolder object)
static

Dynamic downcast from the base class MR::ObjectMeshHolder. Returns null if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().

◆ dynamicDowncastFromVisualObject()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.dynamicDowncastFromVisualObject ( meshlib.VisualObject object)
static

Dynamic downcast from the base class MR::VisualObject. Returns null if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableDynamicDowncastFrom_MR_VisualObject().

◆ flatShading()

boolean meshlib.ObjectDistanceMap.flatShading ( )

Generated from method MR::ObjectDistanceMap::flatShading.

Calls MR_ObjectDistanceMap_flatShading().

◆ getAllVisualizeProperties()

meshlib.std_vector_MR_ViewportMask meshlib.ObjectDistanceMap.getAllVisualizeProperties ( )

get all visualize properties masks Generated from method MR::ObjectDistanceMap::getAllVisualizeProperties.

Calls MR_ObjectDistanceMap_getAllVisualizeProperties().

◆ getAmbientStrength()

float meshlib.ObjectDistanceMap.getAmbientStrength ( )

returns intensity of non-directional light Generated from method MR::ObjectDistanceMap::getAmbientStrength.

Calls MR_ObjectDistanceMap_getAmbientStrength().

◆ getAncillaryTexture()

meshlib.MeshTexture meshlib.ObjectDistanceMap.getAncillaryTexture ( )

ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectDistanceMap::getAncillaryTexture.

Calls MR_ObjectDistanceMap_getAncillaryTexture().

◆ getAncillaryUVCoords()

meshlib.VertCoords2 meshlib.ObjectDistanceMap.getAncillaryUVCoords ( )

Generated from method MR::ObjectDistanceMap::getAncillaryUVCoords.

Calls MR_ObjectDistanceMap_getAncillaryUVCoords().

◆ getBackColor()

meshlib.Color meshlib.ObjectDistanceMap.getBackColor ( meshlib.ViewportId viewportId)

returns backward color of object in given viewport Generated from method MR::ObjectDistanceMap::getBackColor.

Calls MR_ObjectDistanceMap_getBackColor().

◆ getBackColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getBackColorsForAllViewports ( )

returns backward color of object in all viewports Generated from method MR::ObjectDistanceMap::getBackColorsForAllViewports.

Calls MR_ObjectDistanceMap_getBackColorsForAllViewports().

◆ getBordersColor()

meshlib.Color meshlib.ObjectDistanceMap.getBordersColor ( meshlib.ViewportId id)

Generated from method MR::ObjectDistanceMap::getBordersColor.

Calls MR_ObjectDistanceMap_getBordersColor().

◆ getBordersColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getBordersColorsForAllViewports ( )

Generated from method MR::ObjectDistanceMap::getBordersColorsForAllViewports.

Calls MR_ObjectDistanceMap_getBordersColorsForAllViewports().

◆ getBoundingBox()

meshlib.Box3f meshlib.ObjectDistanceMap.getBoundingBox ( )

returns cached bounding box of this object in local coordinates Generated from method MR::ObjectDistanceMap::getBoundingBox.

Calls MR_ObjectDistanceMap_getBoundingBox().

◆ getColoringType()

meshlib.ColoringType meshlib.ObjectDistanceMap.getColoringType ( )

returns the current coloring mode of the object Generated from method MR::ObjectDistanceMap::getColoringType.

Calls MR_ObjectDistanceMap_getColoringType().

◆ getDirtyFlags()

int meshlib.ObjectDistanceMap.getDirtyFlags ( )

returns current dirty flags for the object Generated from method MR::ObjectDistanceMap::getDirtyFlags.

Calls MR_ObjectDistanceMap_getDirtyFlags().

◆ getDistanceMap()

meshlib.std_shared_ptr_MR_DistanceMap meshlib.ObjectDistanceMap.getDistanceMap ( )

Generated from method MR::ObjectDistanceMap::getDistanceMap.

Calls MR_ObjectDistanceMap_getDistanceMap().

◆ getEdgesColor()

meshlib.Color meshlib.ObjectDistanceMap.getEdgesColor ( meshlib.ViewportId id)

Generated from method MR::ObjectDistanceMap::getEdgesColor.

Calls MR_ObjectDistanceMap_getEdgesColor().

◆ getEdgesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getEdgesColorsForAllViewports ( )

Generated from method MR::ObjectDistanceMap::getEdgesColorsForAllViewports.

Calls MR_ObjectDistanceMap_getEdgesColorsForAllViewports().

◆ getEdgeWidth()

float meshlib.ObjectDistanceMap.getEdgeWidth ( )

Generated from method MR::ObjectDistanceMap::getEdgeWidth.

Calls MR_ObjectDistanceMap_getEdgeWidth().

◆ getFacesColorMap()

meshlib.FaceColors meshlib.ObjectDistanceMap.getFacesColorMap ( )

Generated from method MR::ObjectDistanceMap::getFacesColorMap.

Calls MR_ObjectDistanceMap_getFacesColorMap().

◆ getFrontColor()

meshlib.Color meshlib.ObjectDistanceMap.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::ObjectDistanceMap::getFrontColor.

Calls MR_ObjectDistanceMap_getFrontColor().

◆ getFrontColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.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::ObjectDistanceMap::getFrontColorsForAllViewports.

Calls MR_ObjectDistanceMap_getFrontColorsForAllViewports().

◆ getGlobalAlpha()

byte meshlib.ObjectDistanceMap.getGlobalAlpha ( meshlib.ViewportId viewportId)

returns global transparency alpha of object in given viewport Generated from method MR::ObjectDistanceMap::getGlobalAlpha.

Calls MR_ObjectDistanceMap_getGlobalAlpha().

◆ getGlobalAlphaForAllViewports()

meshlib.ViewportProperty_unsigned_char meshlib.ObjectDistanceMap.getGlobalAlphaForAllViewports ( )

returns global transparency alpha of object in all viewports Generated from method MR::ObjectDistanceMap::getGlobalAlphaForAllViewports.

Calls MR_ObjectDistanceMap_getGlobalAlphaForAllViewports().

◆ getInfoLines()

meshlib.std_vector_std_string meshlib.ObjectDistanceMap.getInfoLines ( )

Generated from method MR::ObjectDistanceMap::getInfoLines.

Calls MR_ObjectDistanceMap_getInfoLines().

◆ getModelHash()

long meshlib.ObjectDistanceMap.getModelHash ( )

Generated from method MR::ObjectDistanceMap::getModelHash.

Calls MR_ObjectDistanceMap_getModelHash().

◆ getPointsColor()

meshlib.Color meshlib.ObjectDistanceMap.getPointsColor ( meshlib.ViewportId id)

Generated from method MR::ObjectDistanceMap::getPointsColor.

Calls MR_ObjectDistanceMap_getPointsColor().

◆ getPointsColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getPointsColorsForAllViewports ( )

Generated from method MR::ObjectDistanceMap::getPointsColorsForAllViewports.

Calls MR_ObjectDistanceMap_getPointsColorsForAllViewports().

◆ getPointSize()

float meshlib.ObjectDistanceMap.getPointSize ( )

Generated from method MR::ObjectDistanceMap::getPointSize.

Calls MR_ObjectDistanceMap_getPointSize().

◆ getRedrawFlag()

boolean meshlib.ObjectDistanceMap.getRedrawFlag ( meshlib.ViewportMask viewportMask)

Generated from method MR::ObjectDistanceMap::getRedrawFlag.

Calls MR_ObjectDistanceMap_getRedrawFlag().

◆ getSelectedEdges()

meshlib.UndirectedEdgeBitSet meshlib.ObjectDistanceMap.getSelectedEdges ( )

Generated from method MR::ObjectDistanceMap::getSelectedEdges.

Calls MR_ObjectDistanceMap_getSelectedEdges().

◆ getSelectedEdgesColor()

meshlib.Color meshlib.ObjectDistanceMap.getSelectedEdgesColor ( meshlib.ViewportId id)

returns colors of selected edges Generated from method MR::ObjectDistanceMap::getSelectedEdgesColor.

Calls MR_ObjectDistanceMap_getSelectedEdgesColor().

◆ getSelectedEdgesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getSelectedEdgesColorsForAllViewports ( )

Generated from method MR::ObjectDistanceMap::getSelectedEdgesColorsForAllViewports.

Calls MR_ObjectDistanceMap_getSelectedEdgesColorsForAllViewports().

◆ getSelectedFaces()

meshlib.FaceBitSet meshlib.ObjectDistanceMap.getSelectedFaces ( )

Generated from method MR::ObjectDistanceMap::getSelectedFaces.

Calls MR_ObjectDistanceMap_getSelectedFaces().

◆ getSelectedFacesColor()

meshlib.Color meshlib.ObjectDistanceMap.getSelectedFacesColor ( meshlib.ViewportId id)

returns colors of selected triangles Generated from method MR::ObjectDistanceMap::getSelectedFacesColor.

Calls MR_ObjectDistanceMap_getSelectedFacesColor().

◆ getSelectedFacesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectDistanceMap.getSelectedFacesColorsForAllViewports ( )

Generated from method MR::ObjectDistanceMap::getSelectedFacesColorsForAllViewports.

Calls MR_ObjectDistanceMap_getSelectedFacesColorsForAllViewports().

◆ getSharedPtr()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectDistanceMap.getSharedPtr ( )

returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::ObjectDistanceMap::getSharedPtr.

Calls MR_ObjectDistanceMap_getSharedPtr().

◆ getShininess()

float meshlib.ObjectDistanceMap.getShininess ( )

returns the current shininess visual value Generated from method MR::ObjectDistanceMap::getShininess.

Calls MR_ObjectDistanceMap_getShininess().

◆ getSpecularStrength()

float meshlib.ObjectDistanceMap.getSpecularStrength ( )

returns intensity of reflections Generated from method MR::ObjectDistanceMap::getSpecularStrength.

Calls MR_ObjectDistanceMap_getSpecularStrength().

◆ getTexture()

meshlib.MeshTexture meshlib.ObjectDistanceMap.getTexture ( )

returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectDistanceMap::getTexture.

Calls MR_ObjectDistanceMap_getTexture().

◆ getTexturePerFace()

meshlib.TexturePerFace meshlib.ObjectDistanceMap.getTexturePerFace ( )

Generated from method MR::ObjectDistanceMap::getTexturePerFace.

Calls MR_ObjectDistanceMap_getTexturePerFace().

◆ getTextures()

meshlib.Vector_MR_MeshTexture_MR_TextureId meshlib.ObjectDistanceMap.getTextures ( )

Generated from method MR::ObjectDistanceMap::getTextures.

Calls MR_ObjectDistanceMap_getTextures().

◆ getToWorldParameters()

meshlib.AffineXf3f meshlib.ObjectDistanceMap.getToWorldParameters ( )

unlike the name, actually it is the transformation from distance map in local space Generated from method MR::ObjectDistanceMap::getToWorldParameters.

Calls MR_ObjectDistanceMap_getToWorldParameters().

◆ getUVCoords()

meshlib.VertCoords2 meshlib.ObjectDistanceMap.getUVCoords ( )

Generated from method MR::ObjectDistanceMap::getUVCoords.

Calls MR_ObjectDistanceMap_getUVCoords().

◆ getVertsColorMap()

meshlib.VertColors meshlib.ObjectDistanceMap.getVertsColorMap ( )

returns per-vertex colors of the object Generated from method MR::ObjectDistanceMap::getVertsColorMap.

Calls MR_ObjectDistanceMap_getVertsColorMap().

◆ getVisualizeProperty()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::getVisualizeProperty.

Calls MR_ObjectDistanceMap_getVisualizeProperty().

◆ getVisualizePropertyMask()

meshlib.ViewportMask meshlib.ObjectDistanceMap.getVisualizePropertyMask ( meshlib.AnyVisualizeMaskEnum type)

returns mask of viewports where given property is set Generated from method MR::ObjectDistanceMap::getVisualizePropertyMask.

Calls MR_ObjectDistanceMap_getVisualizePropertyMask().

◆ getWorldBox()

meshlib.Box3f meshlib.ObjectDistanceMap.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::ObjectDistanceMap::getWorldBox.

Calls MR_ObjectDistanceMap_getWorldBox().

◆ getWorldTreeBox()

meshlib.Box3f meshlib.ObjectDistanceMap.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::ObjectDistanceMap::getWorldTreeBox.

Calls MR_ObjectDistanceMap_getWorldTreeBox().

◆ globalClippedByPlane()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::globalClippedByPlane.

Calls MR_ObjectDistanceMap_globalClippedByPlane().

◆ globalClippedByPlaneMask()

meshlib.ViewportMask meshlib.ObjectDistanceMap.globalClippedByPlaneMask ( )

returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectDistanceMap::globalClippedByPlaneMask.

Calls MR_ObjectDistanceMap_globalClippedByPlaneMask().

◆ globalVisibility()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::globalVisibility.

Calls MR_ObjectDistanceMap_globalVisibility().

◆ globalVisibilityMask()

meshlib.ViewportMask meshlib.ObjectDistanceMap.globalVisibilityMask ( )

returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectDistanceMap::globalVisibilityMask.

Calls MR_ObjectDistanceMap_globalVisibilityMask().

◆ hasAncillaryTexture()

boolean meshlib.ObjectDistanceMap.hasAncillaryTexture ( )

Generated from method MR::ObjectDistanceMap::hasAncillaryTexture.

Calls MR_ObjectDistanceMap_hasAncillaryTexture().

◆ hasModel()

boolean meshlib.ObjectDistanceMap.hasModel ( )

Generated from method MR::ObjectDistanceMap::hasModel.

Calls MR_ObjectDistanceMap_hasModel().

◆ hasVisualRepresentation()

boolean meshlib.ObjectDistanceMap.hasVisualRepresentation ( )

mesh object can be seen if the mesh has at least one edge Generated from method MR::ObjectDistanceMap::hasVisualRepresentation.

Calls MR_ObjectDistanceMap_hasVisualRepresentation().

◆ heapBytes()

long meshlib.ObjectDistanceMap.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::ObjectDistanceMap::heapBytes.

Calls MR_ObjectDistanceMap_heapBytes().

◆ invalidateMetricsCache()

void meshlib.ObjectDistanceMap.invalidateMetricsCache ( int mask)

invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectDistanceMap::invalidateMetricsCache.

Calls MR_ObjectDistanceMap_invalidateMetricsCache().

◆ isAncestor()

boolean meshlib.ObjectDistanceMap.isAncestor ( meshlib.Object ancestor)

return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectDistanceMap::isAncestor.

Calls MR_ObjectDistanceMap_isAncestor().

◆ isAncillary()

boolean meshlib.ObjectDistanceMap.isAncillary ( )

Generated from method MR::ObjectDistanceMap::isAncillary.

Calls MR_ObjectDistanceMap_isAncillary().

◆ isGlobalAncillary()

boolean meshlib.ObjectDistanceMap.isGlobalAncillary ( )

returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectDistanceMap::isGlobalAncillary.

Calls MR_ObjectDistanceMap_isGlobalAncillary().

◆ isLocked()

boolean meshlib.ObjectDistanceMap.isLocked ( )

object properties lock for UI Generated from method MR::ObjectDistanceMap::isLocked.

Calls MR_ObjectDistanceMap_isLocked().

◆ isMeshClosed()

boolean meshlib.ObjectDistanceMap.isMeshClosed ( )

returns cached information whether the mesh is closed Generated from method MR::ObjectDistanceMap::isMeshClosed.

Calls MR_ObjectDistanceMap_isMeshClosed().

◆ isParentLocked()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::isParentLocked.

Calls MR_ObjectDistanceMap_isParentLocked().

◆ isPickable()

boolean meshlib.ObjectDistanceMap.isPickable ( meshlib.ViewportMask viewportMask)

whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectDistanceMap::isPickable.

Calls MR_ObjectDistanceMap_isPickable().

◆ isSelected()

boolean meshlib.ObjectDistanceMap.isSelected ( )

Generated from method MR::ObjectDistanceMap::isSelected.

Calls MR_ObjectDistanceMap_isSelected().

◆ isVisible()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::isVisible.

Calls MR_ObjectDistanceMap_isVisible().

◆ mesh()

meshlib.std_shared_ptr_const_MR_Mesh meshlib.ObjectDistanceMap.mesh ( )
Deprecated
the cast inside is undefined behaviour, use meshPtr() instead Generated from method MR::ObjectDistanceMap::mesh.

Calls MR_ObjectDistanceMap_mesh().

◆ meshPart()

meshlib.MeshPart meshlib.ObjectDistanceMap.meshPart ( )
Returns
the pair ( mesh, selected triangles ) if any triangle is selected or whole mesh otherwise Generated from method MR::ObjectDistanceMap::meshPart.

Calls MR_ObjectDistanceMap_meshPart().

◆ meshPtr()

meshlib.Mesh meshlib.ObjectDistanceMap.meshPtr ( )

returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectDistanceMap::meshPtr.

Calls MR_ObjectDistanceMap_meshPtr().

◆ name()

meshlib.std_string meshlib.ObjectDistanceMap.name ( )

Generated from method MR::ObjectDistanceMap::name.

Calls MR_ObjectDistanceMap_name().

◆ numComponents()

long meshlib.ObjectDistanceMap.numComponents ( )

returns cached information about the number of components in the mesh Generated from method MR::ObjectDistanceMap::numComponents.

Calls MR_ObjectDistanceMap_numComponents().

◆ numCreaseEdges()

long meshlib.ObjectDistanceMap.numCreaseEdges ( )

returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numCreaseEdges.

Calls MR_ObjectDistanceMap_numCreaseEdges().

◆ numHandles()

long meshlib.ObjectDistanceMap.numHandles ( )

returns cached information about the number of handles in the mesh Generated from method MR::ObjectDistanceMap::numHandles.

Calls MR_ObjectDistanceMap_numHandles().

◆ numHoles()

long meshlib.ObjectDistanceMap.numHoles ( )

returns cached information about the number of holes in the mesh Generated from method MR::ObjectDistanceMap::numHoles.

Calls MR_ObjectDistanceMap_numHoles().

◆ numSelectedEdges()

long meshlib.ObjectDistanceMap.numSelectedEdges ( )

returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numSelectedEdges.

Calls MR_ObjectDistanceMap_numSelectedEdges().

◆ numSelectedFaces()

long meshlib.ObjectDistanceMap.numSelectedFaces ( )

returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectDistanceMap::numSelectedFaces.

Calls MR_ObjectDistanceMap_numSelectedFaces().

◆ numUndirectedEdges()

long meshlib.ObjectDistanceMap.numUndirectedEdges ( )

returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectDistanceMap::numUndirectedEdges.

Calls MR_ObjectDistanceMap_numUndirectedEdges().

◆ removeAllChildren()

void meshlib.ObjectDistanceMap.removeAllChildren ( )

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectDistanceMap::removeAllChildren.

Calls MR_ObjectDistanceMap_removeAllChildren().

◆ removeTag()

boolean meshlib.ObjectDistanceMap.removeTag ( java.lang.String tag)

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectDistanceMap::removeTag.

Calls MR_ObjectDistanceMap_removeTag().

◆ render()

boolean meshlib.ObjectDistanceMap.render ( meshlib.ModelRenderParams _1)

draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectDistanceMap::render.

Calls MR_ObjectDistanceMap_render().

◆ renderForPicker()

void meshlib.ObjectDistanceMap.renderForPicker ( meshlib.ModelBaseRenderParams _1,
int _2 )

draws this object for picking Generated from method MR::ObjectDistanceMap::renderForPicker.

Calls MR_ObjectDistanceMap_renderForPicker().

◆ renderUi()

void meshlib.ObjectDistanceMap.renderUi ( meshlib.UiRenderParams params)

draws this object for 2d UI Generated from method MR::ObjectDistanceMap::renderUi.

Calls MR_ObjectDistanceMap_renderUi().

◆ resetColors()

void meshlib.ObjectDistanceMap.resetColors ( )

reset all object colors to their default values from the current theme Generated from method MR::ObjectDistanceMap::resetColors.

Calls MR_ObjectDistanceMap_resetColors().

◆ resetDirty()

void meshlib.ObjectDistanceMap.resetDirty ( )

resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectDistanceMap::resetDirty.

Calls MR_ObjectDistanceMap_resetDirty().

◆ resetDirtyExceptMask()

void meshlib.ObjectDistanceMap.resetDirtyExceptMask ( int mask)

reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectDistanceMap::resetDirtyExceptMask.

Calls MR_ObjectDistanceMap_resetDirtyExceptMask().

◆ resetFrontColor()

void meshlib.ObjectDistanceMap.resetFrontColor ( )

reset basic object colors to their default values from the current theme Generated from method MR::ObjectDistanceMap::resetFrontColor.

Calls MR_ObjectDistanceMap_resetFrontColor().

◆ resetRedrawFlag()

void meshlib.ObjectDistanceMap.resetRedrawFlag ( )

Generated from method MR::ObjectDistanceMap::resetRedrawFlag.

Calls MR_ObjectDistanceMap_resetRedrawFlag().

◆ resetXf()

void meshlib.ObjectDistanceMap.resetXf ( meshlib.ViewportId id)

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectDistanceMap::resetXf.

Calls MR_ObjectDistanceMap_resetXf().

◆ sameModels()

boolean meshlib.ObjectDistanceMap.sameModels ( meshlib.Object other)

Generated from method MR::ObjectDistanceMap::sameModels.

Calls MR_ObjectDistanceMap_sameModels().

◆ select()

boolean meshlib.ObjectDistanceMap.select ( boolean on)

selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectDistanceMap::select.

Calls MR_ObjectDistanceMap_select().

◆ selectedArea()

double meshlib.ObjectDistanceMap.selectedArea ( )

returns cached area of selected triangles Generated from method MR::ObjectDistanceMap::selectedArea.

Calls MR_ObjectDistanceMap_selectedArea().

◆ selectEdges()

void meshlib.ObjectDistanceMap.selectEdges ( meshlib.UndirectedEdgeBitSet newSelection)

Generated from method MR::ObjectDistanceMap::selectEdges.

Calls MR_ObjectDistanceMap_selectEdges().

◆ selectFaces()

void meshlib.ObjectDistanceMap.selectFaces ( meshlib.FaceBitSet newSelection)

Generated from method MR::ObjectDistanceMap::selectFaces.

Calls MR_ObjectDistanceMap_selectFaces().

◆ serializeFormat()

java.lang.Byte meshlib.ObjectDistanceMap.serializeFormat ( )

returns overriden file extension used to serialize mesh inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) Generated from method MR::ObjectDistanceMap::serializeFormat.

Calls MR_ObjectDistanceMap_serializeFormat().

◆ setAllVisualizeProperties()

void meshlib.ObjectDistanceMap.setAllVisualizeProperties ( meshlib.std_vector_MR_ViewportMask properties)

set all visualize properties masks Generated from method MR::ObjectDistanceMap::setAllVisualizeProperties.

Calls MR_ObjectDistanceMap_setAllVisualizeProperties().

◆ setAmbientStrength()

void meshlib.ObjectDistanceMap.setAmbientStrength ( float ambientStrength)

sets intensity of non-directional light Generated from method MR::ObjectDistanceMap::setAmbientStrength.

Calls MR_ObjectDistanceMap_setAmbientStrength().

◆ setAncillary()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setAncillary.

Calls MR_ObjectDistanceMap_setAncillary().

◆ setAncillaryTexture()

void meshlib.ObjectDistanceMap.setAncillaryTexture ( meshlib.MeshTexture texture)

Generated from method MR::ObjectDistanceMap::setAncillaryTexture.

Calls MR_ObjectDistanceMap_setAncillaryTexture().

◆ setAncillaryUVCoords()

void meshlib.ObjectDistanceMap.setAncillaryUVCoords ( meshlib.VertCoords2 uvCoordinates)

Generated from method MR::ObjectDistanceMap::setAncillaryUVCoords.

Calls MR_ObjectDistanceMap_setAncillaryUVCoords().

◆ setBackColor()

void meshlib.ObjectDistanceMap.setBackColor ( meshlib.Color color,
meshlib.ViewportId viewportId )

sets backward color of object in given viewport Generated from method MR::ObjectDistanceMap::setBackColor.

Calls MR_ObjectDistanceMap_setBackColor().

◆ setBackColorsForAllViewports()

void meshlib.ObjectDistanceMap.setBackColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

sets backward color of object in all viewports Generated from method MR::ObjectDistanceMap::setBackColorsForAllViewports.

Calls MR_ObjectDistanceMap_setBackColorsForAllViewports().

◆ setBordersColor()

void meshlib.ObjectDistanceMap.setBordersColor ( meshlib.Color color,
meshlib.ViewportId id )

Generated from method MR::ObjectDistanceMap::setBordersColor.

Calls MR_ObjectDistanceMap_setBordersColor().

◆ setBordersColorsForAllViewports()

void meshlib.ObjectDistanceMap.setBordersColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectDistanceMap::setBordersColorsForAllViewports.

Calls MR_ObjectDistanceMap_setBordersColorsForAllViewports().

◆ setColoringType()

void meshlib.ObjectDistanceMap.setColoringType ( meshlib.ColoringType coloringType)

sets coloring mode of the object with given argument Generated from method MR::ObjectDistanceMap::setColoringType.

Calls MR_ObjectDistanceMap_setColoringType().

◆ setCreases()

void meshlib.ObjectDistanceMap.setCreases ( meshlib.UndirectedEdgeBitSet creases)

Generated from method MR::ObjectDistanceMap::setCreases.

Calls MR_ObjectDistanceMap_setCreases().

◆ setData()

void meshlib.ObjectDistanceMap.setData ( meshlib.ObjectMeshData data)

sets whole new ObjectMeshData Generated from method MR::ObjectDistanceMap::setData.

Calls MR_ObjectDistanceMap_setData().

◆ setDirtyFlags()

void meshlib.ObjectDistanceMap.setDirtyFlags ( int mask,
java.lang.Boolean invalidateCaches )

Generated from method MR::ObjectDistanceMap::setDirtyFlags.

Calls MR_ObjectDistanceMap_setDirtyFlags().

◆ setDirtyFlagsFast()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setDirtyFlagsFast.

Calls MR_ObjectDistanceMap_setDirtyFlagsFast().

◆ setDistanceMap()

boolean meshlib.ObjectDistanceMap.setDistanceMap ( meshlib.std_shared_ptr_MR_DistanceMap dmap,
meshlib.AffineXf3f dmap2local,
java.lang.Boolean needUpdateMesh,
meshlib.std_function_bool_from_float cb )

rebuilds the mesh; if it is executed in the rendering stream then you can set the needUpdateMesh = true otherwise you should set the needUpdateMesh = false and call the function calculateMesh and after finishing in the rendering stream, call the function updateMesh Generated from method MR::ObjectDistanceMap::setDistanceMap.

Calls MR_ObjectDistanceMap_setDistanceMap().

◆ setEdgesColor()

void meshlib.ObjectDistanceMap.setEdgesColor ( meshlib.Color color,
meshlib.ViewportId id )

Generated from method MR::ObjectDistanceMap::setEdgesColor.

Calls MR_ObjectDistanceMap_setEdgesColor().

◆ setEdgesColorsForAllViewports()

void meshlib.ObjectDistanceMap.setEdgesColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectDistanceMap::setEdgesColorsForAllViewports.

Calls MR_ObjectDistanceMap_setEdgesColorsForAllViewports().

◆ setEdgeWidth()

void meshlib.ObjectDistanceMap.setEdgeWidth ( float edgeWidth)

Generated from method MR::ObjectDistanceMap::setEdgeWidth.

Calls MR_ObjectDistanceMap_setEdgeWidth().

◆ setFacesColorMap()

void meshlib.ObjectDistanceMap.setFacesColorMap ( meshlib.FaceColors facesColorMap)

Generated from method MR::ObjectDistanceMap::setFacesColorMap.

Calls MR_ObjectDistanceMap_setFacesColorMap().

◆ setFlatShading()

void meshlib.ObjectDistanceMap.setFlatShading ( boolean on)

sets flat (true) or smooth (false) shading Generated from method MR::ObjectDistanceMap::setFlatShading.

Calls MR_ObjectDistanceMap_setFlatShading().

◆ setFrontColor()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setFrontColor.

Calls MR_ObjectDistanceMap_setFrontColor().

◆ setFrontColorsForAllViewports()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setFrontColorsForAllViewports.

Calls MR_ObjectDistanceMap_setFrontColorsForAllViewports().

◆ setGlobalAlpha()

void meshlib.ObjectDistanceMap.setGlobalAlpha ( byte alpha,
meshlib.ViewportId viewportId )

sets global transparency alpha of object in given viewport Generated from method MR::ObjectDistanceMap::setGlobalAlpha.

Calls MR_ObjectDistanceMap_setGlobalAlpha().

◆ setGlobalAlphaForAllViewports()

void meshlib.ObjectDistanceMap.setGlobalAlphaForAllViewports ( meshlib.ViewportProperty_unsigned_char val)

sets global transparency alpha of object in all viewports Generated from method MR::ObjectDistanceMap::setGlobalAlphaForAllViewports.

Calls MR_ObjectDistanceMap_setGlobalAlphaForAllViewports().

◆ setGlobalClippedByPlane()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setGlobalClippedByPlane.

Calls MR_ObjectDistanceMap_setGlobalClippedByPlane().

◆ setGlobalVisibility()

void meshlib.ObjectDistanceMap.setGlobalVisibility ( boolean on,
meshlib.ViewportMask viewportMask )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectDistanceMap::setGlobalVisibility.

Calls MR_ObjectDistanceMap_setGlobalVisibility().

◆ setLocked()

void meshlib.ObjectDistanceMap.setLocked ( boolean on)

Generated from method MR::ObjectDistanceMap::setLocked.

Calls MR_ObjectDistanceMap_setLocked().

◆ setName()

void meshlib.ObjectDistanceMap.setName ( java.lang.String name)

Generated from method MR::ObjectDistanceMap::setName.

Calls MR_ObjectDistanceMap_setName().

◆ setParentLocked()

void meshlib.ObjectDistanceMap.setParentLocked ( boolean lock)

Generated from method MR::ObjectDistanceMap::setParentLocked.

Calls MR_ObjectDistanceMap_setParentLocked().

◆ setPickable()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setPickable.

Calls MR_ObjectDistanceMap_setPickable().

◆ setPointsColor()

void meshlib.ObjectDistanceMap.setPointsColor ( meshlib.Color color,
meshlib.ViewportId id )

Generated from method MR::ObjectDistanceMap::setPointsColor.

Calls MR_ObjectDistanceMap_setPointsColor().

◆ setPointsColorsForAllViewports()

void meshlib.ObjectDistanceMap.setPointsColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectDistanceMap::setPointsColorsForAllViewports.

Calls MR_ObjectDistanceMap_setPointsColorsForAllViewports().

◆ setPointSize()

void meshlib.ObjectDistanceMap.setPointSize ( float size)

Generated from method MR::ObjectDistanceMap::setPointSize.

Calls MR_ObjectDistanceMap_setPointSize().

◆ setSelectedEdgesColor()

void meshlib.ObjectDistanceMap.setSelectedEdgesColor ( meshlib.Color color,
meshlib.ViewportId id )

sets colors of selected edges Generated from method MR::ObjectDistanceMap::setSelectedEdgesColor.

Calls MR_ObjectDistanceMap_setSelectedEdgesColor().

◆ setSelectedEdgesColorsForAllViewports()

void meshlib.ObjectDistanceMap.setSelectedEdgesColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectDistanceMap::setSelectedEdgesColorsForAllViewports.

Calls MR_ObjectDistanceMap_setSelectedEdgesColorsForAllViewports().

◆ setSelectedFacesColor()

void meshlib.ObjectDistanceMap.setSelectedFacesColor ( meshlib.Color color,
meshlib.ViewportId id )

sets colors of selected triangles Generated from method MR::ObjectDistanceMap::setSelectedFacesColor.

Calls MR_ObjectDistanceMap_setSelectedFacesColor().

◆ setSelectedFacesColorsForAllViewports()

void meshlib.ObjectDistanceMap.setSelectedFacesColorsForAllViewports ( meshlib.ViewportProperty_MR_Color val)

Generated from method MR::ObjectDistanceMap::setSelectedFacesColorsForAllViewports.

Calls MR_ObjectDistanceMap_setSelectedFacesColorsForAllViewports().

◆ setSerializeFormat()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setSerializeFormat.

Calls MR_ObjectDistanceMap_setSerializeFormat().

◆ setShininess()

void meshlib.ObjectDistanceMap.setShininess ( float shininess)

sets shininess visual value of the object with given argument Generated from method MR::ObjectDistanceMap::setShininess.

Calls MR_ObjectDistanceMap_setShininess().

◆ setSpecularStrength()

void meshlib.ObjectDistanceMap.setSpecularStrength ( float specularStrength)

sets intensity of reflections Generated from method MR::ObjectDistanceMap::setSpecularStrength.

Calls MR_ObjectDistanceMap_setSpecularStrength().

◆ setTexturePerFace()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setTexturePerFace.

Calls MR_ObjectDistanceMap_setTexturePerFace().

◆ setTextures()

void meshlib.ObjectDistanceMap.setTextures ( meshlib.Vector_MR_MeshTexture_MR_TextureId texture)

Generated from method MR::ObjectDistanceMap::setTextures.

Calls MR_ObjectDistanceMap_setTextures().

◆ setUseDefaultScenePropertiesOnDeserialization()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setUseDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectDistanceMap_setUseDefaultScenePropertiesOnDeserialization().

◆ setUVCoords()

void meshlib.ObjectDistanceMap.setUVCoords ( meshlib.VertCoords2 uvCoordinates)

Generated from method MR::ObjectDistanceMap::setUVCoords.

Calls MR_ObjectDistanceMap_setUVCoords().

◆ setVertsColorMap()

void meshlib.ObjectDistanceMap.setVertsColorMap ( meshlib.VertColors vertsColorMap)

sets per-vertex colors of the object Generated from method MR::ObjectDistanceMap::setVertsColorMap.

Calls MR_ObjectDistanceMap_setVertsColorMap().

◆ setVisibilityMask()

void meshlib.ObjectDistanceMap.setVisibilityMask ( meshlib.ViewportMask viewportMask)

specifies object visibility as bitmask of viewports Generated from method MR::ObjectDistanceMap::setVisibilityMask.

Calls MR_ObjectDistanceMap_setVisibilityMask().

◆ setVisible()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::setVisible.

Calls MR_ObjectDistanceMap_setVisible().

◆ setVisualizeProperty()

void meshlib.ObjectDistanceMap.setVisualizeProperty ( boolean value,
meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

set visual property in all viewports specified by the mask Generated from method MR::ObjectDistanceMap::setVisualizeProperty.

Calls MR_ObjectDistanceMap_setVisualizeProperty().

◆ setVisualizePropertyMask()

void meshlib.ObjectDistanceMap.setVisualizePropertyMask ( meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

set visual property mask Generated from method MR::ObjectDistanceMap::setVisualizePropertyMask.

Calls MR_ObjectDistanceMap_setVisualizePropertyMask().

◆ setWorldXf()

void meshlib.ObjectDistanceMap.setWorldXf ( meshlib.AffineXf3f xf,
meshlib.ViewportId id )

Generated from method MR::ObjectDistanceMap::setWorldXf.

Calls MR_ObjectDistanceMap_setWorldXf().

◆ setXf()

void meshlib.ObjectDistanceMap.setXf ( meshlib.AffineXf3f xf,
meshlib.ViewportId id )

Generated from method MR::ObjectDistanceMap::setXf.

Calls MR_ObjectDistanceMap_setXf().

◆ setXfsForAllViewports()

void meshlib.ObjectDistanceMap.setXfsForAllViewports ( meshlib.ViewportProperty_MR_AffineXf3f xf)

modifies xfs for all viewports at once Generated from method MR::ObjectDistanceMap::setXfsForAllViewports.

Calls MR_ObjectDistanceMap_setXfsForAllViewports().

◆ shallowClone()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectDistanceMap.shallowClone ( )

Generated from method MR::ObjectDistanceMap::shallowClone.

Calls MR_ObjectDistanceMap_shallowClone().

◆ shallowCloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectDistanceMap.shallowCloneTree ( )

clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectDistanceMap::shallowCloneTree.

Calls MR_ObjectDistanceMap_shallowCloneTree().

◆ sortChildren()

void meshlib.ObjectDistanceMap.sortChildren ( )

sort recognized children by name Generated from method MR::ObjectDistanceMap::sortChildren.

Calls MR_ObjectDistanceMap_sortChildren().

◆ StaticClassName()

java.lang.Byte meshlib.ObjectDistanceMap.StaticClassName ( )
static

Generated from method MR::ObjectDistanceMap::StaticClassName.

Calls MR_ObjectDistanceMap_StaticClassName().

◆ StaticClassNameInPlural()

java.lang.Byte meshlib.ObjectDistanceMap.StaticClassNameInPlural ( )
static

Generated from method MR::ObjectDistanceMap::StaticClassNameInPlural.

Calls MR_ObjectDistanceMap_StaticClassNameInPlural().

◆ staticDowncastFromObject()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.staticDowncastFromObject ( meshlib.Object object)
static

Static downcast from the base class MR::Object. Undefined behavior if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_Object().

◆ staticDowncastFromObjectChildrenHolder()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.staticDowncastFromObjectChildrenHolder ( meshlib.ObjectChildrenHolder object)
static

Static downcast from the base class MR::ObjectChildrenHolder. Undefined behavior if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().

◆ staticDowncastFromObjectMeshHolder()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.staticDowncastFromObjectMeshHolder ( meshlib.ObjectMeshHolder object)
static

Static downcast from the base class MR::ObjectMeshHolder. Undefined behavior if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_ObjectMeshHolder().

◆ staticDowncastFromVisualObject()

meshlib.ObjectDistanceMap meshlib.ObjectDistanceMap.staticDowncastFromVisualObject ( meshlib.VisualObject object)
static

Static downcast from the base class MR::VisualObject. Undefined behavior if the object isn't actually a ObjectDistanceMap. The result refers to object.

Calls MR_ObjectDistanceMap_MutableStaticDowncastFrom_MR_VisualObject().

◆ StaticTypeName()

java.lang.Byte meshlib.ObjectDistanceMap.StaticTypeName ( )
static

Generated from method MR::ObjectDistanceMap::StaticTypeName.

Calls MR_ObjectDistanceMap_StaticTypeName().

◆ supportsVisualizeProperty()

boolean meshlib.ObjectDistanceMap.supportsVisualizeProperty ( meshlib.AnyVisualizeMaskEnum type)

Generated from method MR::ObjectDistanceMap::supportsVisualizeProperty.

Calls MR_ObjectDistanceMap_supportsVisualizeProperty().

◆ swap()

void meshlib.ObjectDistanceMap.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::ObjectDistanceMap::swap.

Calls MR_ObjectDistanceMap_swap().

◆ tags()

meshlib.std_set_std_string meshlib.ObjectDistanceMap.tags ( )

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectDistanceMap::tags.

Calls MR_ObjectDistanceMap_tags().

◆ toggleVisualizeProperty()

void meshlib.ObjectDistanceMap.toggleVisualizeProperty ( meshlib.AnyVisualizeMaskEnum type,
meshlib.ViewportMask viewportMask )

toggle visual property in all viewports specified by the mask Generated from method MR::ObjectDistanceMap::toggleVisualizeProperty.

Calls MR_ObjectDistanceMap_toggleVisualizeProperty().

◆ totalArea()

double meshlib.ObjectDistanceMap.totalArea ( )

returns cached summed area of mesh triangles Generated from method MR::ObjectDistanceMap::totalArea.

Calls MR_ObjectDistanceMap_totalArea().

◆ typeName()

java.lang.Byte meshlib.ObjectDistanceMap.typeName ( )

Generated from method MR::ObjectDistanceMap::typeName.

Calls MR_ObjectDistanceMap_typeName().

◆ upcastToObject()

meshlib.Object meshlib.ObjectDistanceMap.upcastToObject ( )

Upcasts to the base class MR::Object. The result refers to this object.

Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_Object().

◆ upcastToObjectChildrenHolder()

meshlib.ObjectChildrenHolder meshlib.ObjectDistanceMap.upcastToObjectChildrenHolder ( )

Upcasts to the base class MR::ObjectChildrenHolder. The result refers to this object.

Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcastToObjectMeshHolder()

meshlib.ObjectMeshHolder meshlib.ObjectDistanceMap.upcastToObjectMeshHolder ( )

Upcasts to the base class MR::ObjectMeshHolder. The result refers to this object.

Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_ObjectMeshHolder().

◆ upcastToVisualObject()

meshlib.VisualObject meshlib.ObjectDistanceMap.upcastToVisualObject ( )

Upcasts to the base class MR::VisualObject. The result refers to this object.

Calls MR_ObjectDistanceMap_MutableUpcastTo_MR_VisualObject().

◆ updateAncillaryUVCoords()

void meshlib.ObjectDistanceMap.updateAncillaryUVCoords ( meshlib.VertCoords2 updated)

Generated from method MR::ObjectDistanceMap::updateAncillaryUVCoords.

Calls MR_ObjectDistanceMap_updateAncillaryUVCoords().

◆ updateData()

void meshlib.ObjectDistanceMap.updateData ( meshlib.ObjectMeshData data)

swaps whole ObjectMeshData with given argument Generated from method MR::ObjectDistanceMap::updateData.

Calls MR_ObjectDistanceMap_updateData().

◆ updateFacesColorMap()

void meshlib.ObjectDistanceMap.updateFacesColorMap ( meshlib.FaceColors updated)

Generated from method MR::ObjectDistanceMap::updateFacesColorMap.

Calls MR_ObjectDistanceMap_updateFacesColorMap().

◆ updateMesh()

void meshlib.ObjectDistanceMap.updateMesh ( meshlib.std_shared_ptr_MR_Mesh mesh)

updates the grid to the current one Generated from method MR::ObjectDistanceMap::updateMesh.

Calls MR_ObjectDistanceMap_updateMesh().

◆ updateTexturePerFace()

void meshlib.ObjectDistanceMap.updateTexturePerFace ( meshlib.TexturePerFace texturePerFace)

Generated from method MR::ObjectDistanceMap::updateTexturePerFace.

Calls MR_ObjectDistanceMap_updateTexturePerFace().

◆ updateTextures()

void meshlib.ObjectDistanceMap.updateTextures ( meshlib.Vector_MR_MeshTexture_MR_TextureId updated)

Generated from method MR::ObjectDistanceMap::updateTextures.

Calls MR_ObjectDistanceMap_updateTextures().

◆ updateUVCoords()

void meshlib.ObjectDistanceMap.updateUVCoords ( meshlib.VertCoords2 updated)

Generated from method MR::ObjectDistanceMap::updateUVCoords.

Calls MR_ObjectDistanceMap_updateUVCoords().

◆ updateVertsColorMap()

void meshlib.ObjectDistanceMap.updateVertsColorMap ( meshlib.VertColors vertsColorMap)

swaps per-vertex colors of the object with given argument Generated from method MR::ObjectDistanceMap::updateVertsColorMap.

Calls MR_ObjectDistanceMap_updateVertsColorMap().

◆ useDefaultScenePropertiesOnDeserialization()

boolean meshlib.ObjectDistanceMap.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::ObjectDistanceMap::useDefaultScenePropertiesOnDeserialization.

Calls MR_ObjectDistanceMap_useDefaultScenePropertiesOnDeserialization().

◆ varMeshPtr()

meshlib.Mesh meshlib.ObjectDistanceMap.varMeshPtr ( )

returns the mesh of this object for modification, or nullptr if it is not set Generated from method MR::ObjectDistanceMap::varMeshPtr.

Calls MR_ObjectDistanceMap_varMeshPtr().

◆ visibilityMask()

meshlib.ViewportMask meshlib.ObjectDistanceMap.visibilityMask ( )

gets object visibility as bitmask of viewports Generated from method MR::ObjectDistanceMap::visibilityMask.

Calls MR_ObjectDistanceMap_visibilityMask().

◆ volume()

double meshlib.ObjectDistanceMap.volume ( )

returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectDistanceMap::volume.

Calls MR_ObjectDistanceMap_volume().

◆ worldXf()

meshlib.AffineXf3f meshlib.ObjectDistanceMap.worldXf ( meshlib.ViewportId id,
meshlib.bool_output isDef )

this space to world space transformation for default or specific viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectDistanceMap::worldXf.

Calls MR_ObjectDistanceMap_worldXf().

◆ xf()

meshlib.AffineXf3f meshlib.ObjectDistanceMap.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

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectDistanceMap::xf.

Calls MR_ObjectDistanceMap_xf().

◆ xfsForAllViewports()

meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectDistanceMap.xfsForAllViewports ( )

returns xfs for all viewports, combined into a single object Generated from method MR::ObjectDistanceMap::xfsForAllViewports.

Calls MR_ObjectDistanceMap_xfsForAllViewports().


The documentation for this class was generated from the following file: