MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.ObjectVoxels:

Public Member Functions

 ObjectVoxels (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectVoxels ()
 ObjectVoxels (meshlib.ObjectVoxels _other)
meshlib.ObjectVoxels assignFromAnother (meshlib.ObjectVoxels _other)
java.lang.Byte typeName ()
meshlib.std_string className ()
meshlib.std_string classNameInPlural ()
void applyScale (float scaleFactor)
meshlib.std_shared_ptr_MR_Mesh surface ()
meshlib.VdbVolume vdbVolume ()
meshlib.VdbVolume varVdbVolume ()
meshlib.FloatGrid grid ()
boolean hasModel ()
meshlib.Vector3i dimensions ()
float getIsoValue ()
meshlib.Histogram histogram ()
meshlib.Vector3f voxelSize ()
meshlib.std_vector_std_string getInfoLines ()
void construct (meshlib.SimpleVolume simpleVolume, meshlib.std_optional_MR_Vector2f minmax, meshlib.std_function_bool_from_float cb, java.lang.Boolean normalPlusGrad)
void construct (meshlib.SimpleVolumeMinMax simpleVolumeMinMax, meshlib.std_function_bool_from_float cb, java.lang.Boolean normalPlusGrad)
void construct (meshlib.FloatGrid grid, meshlib.Vector3f voxelSize, meshlib.std_optional_MR_Vector2f minmax)
void construct (meshlib.VdbVolume vdbVolume)
void updateHistogramAndSurface (meshlib.std_function_bool_from_float cb)
boolean setIsoValue (float iso, meshlib.std_function_bool_from_float cb, java.lang.Boolean updateSurface)
meshlib.std_shared_ptr_MR_Mesh updateIsoSurface (meshlib.std_shared_ptr_MR_Mesh mesh)
meshlib.VdbVolume updateVdbVolume (meshlib.VdbVolume vdbVolume)
meshlib.Histogram updateHistogram (meshlib.Histogram histogram)
meshlib.std_shared_ptr_MR_Mesh recalculateIsoSurface (float iso, meshlib.std_function_bool_from_float cb)
meshlib.std_shared_ptr_MR_Mesh recalculateIsoSurface (meshlib.VdbVolume volume, float iso, meshlib.std_function_bool_from_float cb)
meshlib.Histogram recalculateHistogram (meshlib.Vector2f minmax, meshlib.std_function_bool_from_float cb)
boolean getDualMarchingCubes ()
void setDualMarchingCubes (boolean on, java.lang.Boolean updateSurface, meshlib.std_function_bool_from_float cb)
void setVoxelPointPositioner (meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float positioner)
void setActiveBounds (meshlib.Box3i activeBox, meshlib.std_function_bool_from_float cb, java.lang.Boolean updateSurface)
meshlib.Box3i getActiveBounds ()
void invalidateActiveBoundsCaches ()
meshlib.VoxelBitSet getSelectedVoxels ()
void selectVoxels (meshlib.VoxelBitSet selectedVoxels)
meshlib.VoxelBitSet getVolumeRenderActiveVoxels ()
void setVolumeRenderActiveVoxels (meshlib.VoxelBitSet activeVoxels)
meshlib.VoxelId getVoxelIdByCoordinate (meshlib.Vector3i coord)
meshlib.VoxelId getVoxelIdByPoint (meshlib.Vector3f point)
meshlib.Vector3i getCoordinateByVoxelId (meshlib.VoxelId id)
meshlib.VolumeIndexer getVolumeIndexer ()
boolean prepareDataForVolumeRendering (meshlib.std_function_bool_from_float cb)
boolean isVolumeRenderingEnabled ()
void enableVolumeRendering (boolean on)
meshlib.SimpleVolume getVolumeRenderingData ()
meshlib.ObjectVoxels_VolumeRenderingParams getVolumeRenderingParams ()
void setVolumeRenderingParams (meshlib.ObjectVoxels_VolumeRenderingParams params)
boolean hasVisualRepresentation ()
void setMaxSurfaceVertices (int maxVerts)
int getMaxSurfaceVertices ()
meshlib.std_shared_ptr_MR_Object clone_2 ()
meshlib.std_shared_ptr_MR_Object shallowClone ()
void setDirtyFlags (int mask, java.lang.Boolean invalidateCaches)
long activeVoxels ()
long heapBytes ()
java.lang.Byte serializeFormat ()
void setSerializeFormat (java.lang.Byte newFormat)
void resetFrontColor ()
meshlib.Mesh varMeshPtr ()
meshlib.Mesh meshPtr ()
meshlib.std_shared_ptr_const_MR_Mesh mesh ()
meshlib.MeshPart meshPart ()
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 actualSerializeFormat ()
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.ObjectVoxels staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object)
static meshlib.ObjectVoxels staticDowncastFromObject (meshlib.Object object)
static meshlib.ObjectVoxels dynamicDowncastFromObject (meshlib.Object object)
static meshlib.ObjectVoxels staticDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectVoxels dynamicDowncastFromVisualObject (meshlib.VisualObject object)
static meshlib.ObjectVoxels staticDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object)
static meshlib.ObjectVoxels 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 voxels object Generated from class MR::ObjectVoxels. 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

◆ ObjectVoxels() [1/3]

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

◆ ObjectVoxels() [2/3]

meshlib.ObjectVoxels.ObjectVoxels ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectVoxels_DefaultConstruct().

◆ ObjectVoxels() [3/3]

meshlib.ObjectVoxels.ObjectVoxels ( meshlib.ObjectVoxels _other)

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

Calls MR_ObjectVoxels_ConstructFromAnother().

Member Function Documentation

◆ activeVoxels()

long meshlib.ObjectVoxels.activeVoxels ( )

returns cached information about the number of active voxels Generated from method MR::ObjectVoxels::activeVoxels.

Calls MR_ObjectVoxels_activeVoxels().

◆ actualSerializeFormat()

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

Calls MR_ObjectVoxels_actualSerializeFormat().

◆ addChild()

boolean meshlib.ObjectVoxels.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::ObjectVoxels::addChild.

Calls MR_ObjectVoxels_addChild().

◆ addChildBefore()

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

Calls MR_ObjectVoxels_addChildBefore().

◆ addTag()

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

Calls MR_ObjectVoxels_addTag().

◆ addTexture()

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

Generated from method MR::ObjectVoxels::addTexture.

Calls MR_ObjectVoxels_addTexture().

◆ applyScale()

void meshlib.ObjectVoxels.applyScale ( float scaleFactor)

Generated from method MR::ObjectVoxels::applyScale.

Calls MR_ObjectVoxels_applyScale().

◆ assignFromAnother()

meshlib.ObjectVoxels meshlib.ObjectVoxels.assignFromAnother ( meshlib.ObjectVoxels _other)

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

◆ avgEdgeLen()

float meshlib.ObjectVoxels.avgEdgeLen ( )

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

Calls MR_ObjectVoxels_avgEdgeLen().

◆ className()

meshlib.std_string meshlib.ObjectVoxels.className ( )

Generated from method MR::ObjectVoxels::className.

Calls MR_ObjectVoxels_className().

◆ classNameInPlural()

meshlib.std_string meshlib.ObjectVoxels.classNameInPlural ( )

Generated from method MR::ObjectVoxels::classNameInPlural.

Calls MR_ObjectVoxels_classNameInPlural().

◆ clearAncillaryTexture()

void meshlib.ObjectVoxels.clearAncillaryTexture ( )

Generated from method MR::ObjectVoxels::clearAncillaryTexture.

Calls MR_ObjectVoxels_clearAncillaryTexture().

◆ clone_2()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.clone_2 ( )

Generated from method MR::ObjectVoxels::clone.

Calls MR_ObjectVoxels_clone().

◆ cloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.cloneTree ( )

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

Calls MR_ObjectVoxels_cloneTree().

◆ constChildren()

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

Calls MR_ObjectVoxels_constChildren().

◆ construct() [1/4]

void meshlib.ObjectVoxels.construct ( meshlib.FloatGrid grid,
meshlib.Vector3f voxelSize,
meshlib.std_optional_MR_Vector2f minmax )

Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
minmaxoptional data about known min and max values Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_3_MR_FloatGrid().

◆ construct() [2/4]

void meshlib.ObjectVoxels.construct ( meshlib.SimpleVolume simpleVolume,
meshlib.std_optional_MR_Vector2f minmax,
meshlib.std_function_bool_from_float cb,
java.lang.Boolean normalPlusGrad )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction
minmaxoptional data about known min and max values set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_4().

◆ construct() [3/4]

void meshlib.ObjectVoxels.construct ( meshlib.SimpleVolumeMinMax simpleVolumeMinMax,
meshlib.std_function_bool_from_float cb,
java.lang.Boolean normalPlusGrad )

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax().

◆ construct() [4/4]

void meshlib.ObjectVoxels.construct ( meshlib.VdbVolume vdbVolume)

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface) Generated from method MR::ObjectVoxels::construct.

Calls MR_ObjectVoxels_construct_1().

◆ copyAllSolidColors()

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

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

Calls MR_ObjectVoxels_copyAllSolidColors().

◆ copyColors()

void meshlib.ObjectVoxels.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::ObjectVoxels::copyColors.

Calls MR_ObjectVoxels_copyColors().

◆ copyTextureAndColors()

void meshlib.ObjectVoxels.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::ObjectVoxels::copyTextureAndColors.

Calls MR_ObjectVoxels_copyTextureAndColors().

◆ creases()

meshlib.UndirectedEdgeBitSet meshlib.ObjectVoxels.creases ( )

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

Calls MR_ObjectVoxels_creases().

◆ data()

meshlib.ObjectMeshData meshlib.ObjectVoxels.data ( )

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

Calls MR_ObjectVoxels_data().

◆ detachFromParent()

boolean meshlib.ObjectVoxels.detachFromParent ( )

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

Calls MR_ObjectVoxels_detachFromParent().

◆ dimensions()

meshlib.Vector3i meshlib.ObjectVoxels.dimensions ( )

Returns dimensions of voxel objects Generated from method MR::ObjectVoxels::dimensions.

Calls MR_ObjectVoxels_dimensions().

◆ dynamicDowncastFromObject()

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

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

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_Object().

◆ dynamicDowncastFromObjectMeshHolder()

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

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

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().

◆ dynamicDowncastFromVisualObject()

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

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

Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_VisualObject().

◆ enableVolumeRendering()

void meshlib.ObjectVoxels.enableVolumeRendering ( boolean on)

this function should only be called from GUI thread because it changes rendering object, it can take some time to prepare data, so you can prepare data with progress callback by calling prepareDataForVolumeRendering(cb) function before calling this one Generated from method MR::ObjectVoxels::enableVolumeRendering.

Calls MR_ObjectVoxels_enableVolumeRendering().

◆ flatShading()

boolean meshlib.ObjectVoxels.flatShading ( )

Generated from method MR::ObjectVoxels::flatShading.

Calls MR_ObjectVoxels_flatShading().

◆ getActiveBounds()

meshlib.Box3i meshlib.ObjectVoxels.getActiveBounds ( )

Returns active bounds (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty Generated from method MR::ObjectVoxels::getActiveBounds.

Calls MR_ObjectVoxels_getActiveBounds().

◆ getAllVisualizeProperties()

meshlib.std_vector_MR_ViewportMask meshlib.ObjectVoxels.getAllVisualizeProperties ( )

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

Calls MR_ObjectVoxels_getAllVisualizeProperties().

◆ getAmbientStrength()

float meshlib.ObjectVoxels.getAmbientStrength ( )

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

Calls MR_ObjectVoxels_getAmbientStrength().

◆ getAncillaryTexture()

meshlib.MeshTexture meshlib.ObjectVoxels.getAncillaryTexture ( )

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

Calls MR_ObjectVoxels_getAncillaryTexture().

◆ getAncillaryUVCoords()

meshlib.VertCoords2 meshlib.ObjectVoxels.getAncillaryUVCoords ( )

Generated from method MR::ObjectVoxels::getAncillaryUVCoords.

Calls MR_ObjectVoxels_getAncillaryUVCoords().

◆ getBackColor()

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

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

Calls MR_ObjectVoxels_getBackColor().

◆ getBackColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getBackColorsForAllViewports ( )

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

Calls MR_ObjectVoxels_getBackColorsForAllViewports().

◆ getBordersColor()

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

Generated from method MR::ObjectVoxels::getBordersColor.

Calls MR_ObjectVoxels_getBordersColor().

◆ getBordersColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getBordersColorsForAllViewports ( )

Generated from method MR::ObjectVoxels::getBordersColorsForAllViewports.

Calls MR_ObjectVoxels_getBordersColorsForAllViewports().

◆ getBoundingBox()

meshlib.Box3f meshlib.ObjectVoxels.getBoundingBox ( )

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

Calls MR_ObjectVoxels_getBoundingBox().

◆ getColoringType()

meshlib.ColoringType meshlib.ObjectVoxels.getColoringType ( )

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

Calls MR_ObjectVoxels_getColoringType().

◆ getCoordinateByVoxelId()

meshlib.Vector3i meshlib.ObjectVoxels.getCoordinateByVoxelId ( meshlib.VoxelId id)

Generated from method MR::ObjectVoxels::getCoordinateByVoxelId.

Calls MR_ObjectVoxels_getCoordinateByVoxelId().

◆ getDirtyFlags()

int meshlib.ObjectVoxels.getDirtyFlags ( )

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

Calls MR_ObjectVoxels_getDirtyFlags().

◆ getDualMarchingCubes()

boolean meshlib.ObjectVoxels.getDualMarchingCubes ( )

returns true if the iso-surface is built using Dual Marching Cubes algorithm or false if using Standard Marching Cubes Generated from method MR::ObjectVoxels::getDualMarchingCubes.

Calls MR_ObjectVoxels_getDualMarchingCubes().

◆ getEdgesColor()

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

Generated from method MR::ObjectVoxels::getEdgesColor.

Calls MR_ObjectVoxels_getEdgesColor().

◆ getEdgesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getEdgesColorsForAllViewports ( )

Generated from method MR::ObjectVoxels::getEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_getEdgesColorsForAllViewports().

◆ getEdgeWidth()

float meshlib.ObjectVoxels.getEdgeWidth ( )

Generated from method MR::ObjectVoxels::getEdgeWidth.

Calls MR_ObjectVoxels_getEdgeWidth().

◆ getFacesColorMap()

meshlib.FaceColors meshlib.ObjectVoxels.getFacesColorMap ( )

Generated from method MR::ObjectVoxels::getFacesColorMap.

Calls MR_ObjectVoxels_getFacesColorMap().

◆ getFrontColor()

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

Calls MR_ObjectVoxels_getFrontColor().

◆ getFrontColorsForAllViewports()

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

Calls MR_ObjectVoxels_getFrontColorsForAllViewports().

◆ getGlobalAlpha()

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

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

Calls MR_ObjectVoxels_getGlobalAlpha().

◆ getGlobalAlphaForAllViewports()

meshlib.ViewportProperty_unsigned_char meshlib.ObjectVoxels.getGlobalAlphaForAllViewports ( )

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

Calls MR_ObjectVoxels_getGlobalAlphaForAllViewports().

◆ getInfoLines()

meshlib.std_vector_std_string meshlib.ObjectVoxels.getInfoLines ( )

Generated from method MR::ObjectVoxels::getInfoLines.

Calls MR_ObjectVoxels_getInfoLines().

◆ getIsoValue()

float meshlib.ObjectVoxels.getIsoValue ( )

Returns current iso value Generated from method MR::ObjectVoxels::getIsoValue.

Calls MR_ObjectVoxels_getIsoValue().

◆ getMaxSurfaceVertices()

int meshlib.ObjectVoxels.getMaxSurfaceVertices ( )

gets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::getMaxSurfaceVertices.

Calls MR_ObjectVoxels_getMaxSurfaceVertices().

◆ getModelHash()

long meshlib.ObjectVoxels.getModelHash ( )

Generated from method MR::ObjectVoxels::getModelHash.

Calls MR_ObjectVoxels_getModelHash().

◆ getPointsColor()

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

Generated from method MR::ObjectVoxels::getPointsColor.

Calls MR_ObjectVoxels_getPointsColor().

◆ getPointsColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getPointsColorsForAllViewports ( )

Generated from method MR::ObjectVoxels::getPointsColorsForAllViewports.

Calls MR_ObjectVoxels_getPointsColorsForAllViewports().

◆ getPointSize()

float meshlib.ObjectVoxels.getPointSize ( )

Generated from method MR::ObjectVoxels::getPointSize.

Calls MR_ObjectVoxels_getPointSize().

◆ getRedrawFlag()

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

Generated from method MR::ObjectVoxels::getRedrawFlag.

Calls MR_ObjectVoxels_getRedrawFlag().

◆ getSelectedEdges()

meshlib.UndirectedEdgeBitSet meshlib.ObjectVoxels.getSelectedEdges ( )

Generated from method MR::ObjectVoxels::getSelectedEdges.

Calls MR_ObjectVoxels_getSelectedEdges().

◆ getSelectedEdgesColor()

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

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

Calls MR_ObjectVoxels_getSelectedEdgesColor().

◆ getSelectedEdgesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getSelectedEdgesColorsForAllViewports ( )

Generated from method MR::ObjectVoxels::getSelectedEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_getSelectedEdgesColorsForAllViewports().

◆ getSelectedFaces()

meshlib.FaceBitSet meshlib.ObjectVoxels.getSelectedFaces ( )

Generated from method MR::ObjectVoxels::getSelectedFaces.

Calls MR_ObjectVoxels_getSelectedFaces().

◆ getSelectedFacesColor()

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

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

Calls MR_ObjectVoxels_getSelectedFacesColor().

◆ getSelectedFacesColorsForAllViewports()

meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getSelectedFacesColorsForAllViewports ( )

Generated from method MR::ObjectVoxels::getSelectedFacesColorsForAllViewports.

Calls MR_ObjectVoxels_getSelectedFacesColorsForAllViewports().

◆ getSelectedVoxels()

meshlib.VoxelBitSet meshlib.ObjectVoxels.getSelectedVoxels ( )

Generated from method MR::ObjectVoxels::getSelectedVoxels.

Calls MR_ObjectVoxels_getSelectedVoxels().

◆ getSharedPtr()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.getSharedPtr ( )

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

Calls MR_ObjectVoxels_getSharedPtr().

◆ getShininess()

float meshlib.ObjectVoxels.getShininess ( )

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

Calls MR_ObjectVoxels_getShininess().

◆ getSpecularStrength()

float meshlib.ObjectVoxels.getSpecularStrength ( )

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

Calls MR_ObjectVoxels_getSpecularStrength().

◆ getTexture()

meshlib.MeshTexture meshlib.ObjectVoxels.getTexture ( )

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

Calls MR_ObjectVoxels_getTexture().

◆ getTexturePerFace()

meshlib.TexturePerFace meshlib.ObjectVoxels.getTexturePerFace ( )

Generated from method MR::ObjectVoxels::getTexturePerFace.

Calls MR_ObjectVoxels_getTexturePerFace().

◆ getTextures()

meshlib.Vector_MR_MeshTexture_MR_TextureId meshlib.ObjectVoxels.getTextures ( )

Generated from method MR::ObjectVoxels::getTextures.

Calls MR_ObjectVoxels_getTextures().

◆ getUVCoords()

meshlib.VertCoords2 meshlib.ObjectVoxels.getUVCoords ( )

Generated from method MR::ObjectVoxels::getUVCoords.

Calls MR_ObjectVoxels_getUVCoords().

◆ getVertsColorMap()

meshlib.VertColors meshlib.ObjectVoxels.getVertsColorMap ( )

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

Calls MR_ObjectVoxels_getVertsColorMap().

◆ getVisualizeProperty()

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

Calls MR_ObjectVoxels_getVisualizeProperty().

◆ getVisualizePropertyMask()

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

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

Calls MR_ObjectVoxels_getVisualizePropertyMask().

◆ getVolumeIndexer()

meshlib.VolumeIndexer meshlib.ObjectVoxels.getVolumeIndexer ( )

Returns indexer with more options Generated from method MR::ObjectVoxels::getVolumeIndexer.

Calls MR_ObjectVoxels_getVolumeIndexer().

◆ getVolumeRenderActiveVoxels()

meshlib.VoxelBitSet meshlib.ObjectVoxels.getVolumeRenderActiveVoxels ( )

get active (visible) voxels Generated from method MR::ObjectVoxels::getVolumeRenderActiveVoxels.

Calls MR_ObjectVoxels_getVolumeRenderActiveVoxels().

◆ getVolumeRenderingData()

meshlib.SimpleVolume meshlib.ObjectVoxels.getVolumeRenderingData ( )

move volume rendering data to caller: basically used in RenderVolumeObject Generated from method MR::ObjectVoxels::getVolumeRenderingData.

Calls MR_ObjectVoxels_getVolumeRenderingData().

◆ getVolumeRenderingParams()

meshlib.ObjectVoxels_VolumeRenderingParams meshlib.ObjectVoxels.getVolumeRenderingParams ( )

Generated from method MR::ObjectVoxels::getVolumeRenderingParams.

Calls MR_ObjectVoxels_getVolumeRenderingParams().

◆ getVoxelIdByCoordinate()

meshlib.VoxelId meshlib.ObjectVoxels.getVoxelIdByCoordinate ( meshlib.Vector3i coord)

VoxelId is numerical representation of voxel Coordinate is {x,y,z} indices of voxels in box (base dimensions space, NOT active dimensions) Point is local space coordinate of point in scene Generated from method MR::ObjectVoxels::getVoxelIdByCoordinate.

Calls MR_ObjectVoxels_getVoxelIdByCoordinate().

◆ getVoxelIdByPoint()

meshlib.VoxelId meshlib.ObjectVoxels.getVoxelIdByPoint ( meshlib.Vector3f point)

Generated from method MR::ObjectVoxels::getVoxelIdByPoint.

Calls MR_ObjectVoxels_getVoxelIdByPoint().

◆ getWorldBox()

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

Calls MR_ObjectVoxels_getWorldBox().

◆ getWorldTreeBox()

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

Calls MR_ObjectVoxels_getWorldTreeBox().

◆ globalClippedByPlane()

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

Calls MR_ObjectVoxels_globalClippedByPlane().

◆ globalClippedByPlaneMask()

meshlib.ViewportMask meshlib.ObjectVoxels.globalClippedByPlaneMask ( )

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

Calls MR_ObjectVoxels_globalClippedByPlaneMask().

◆ globalVisibility()

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

Calls MR_ObjectVoxels_globalVisibility().

◆ globalVisibilityMask()

meshlib.ViewportMask meshlib.ObjectVoxels.globalVisibilityMask ( )

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

Calls MR_ObjectVoxels_globalVisibilityMask().

◆ grid()

meshlib.FloatGrid meshlib.ObjectVoxels.grid ( )

Returns Float grid which contains voxels data, see more on openvdb::FloatGrid Generated from method MR::ObjectVoxels::grid.

Calls MR_ObjectVoxels_grid().

◆ hasAncillaryTexture()

boolean meshlib.ObjectVoxels.hasAncillaryTexture ( )

Generated from method MR::ObjectVoxels::hasAncillaryTexture.

Calls MR_ObjectVoxels_hasAncillaryTexture().

◆ hasModel()

boolean meshlib.ObjectVoxels.hasModel ( )

Generated from method MR::ObjectVoxels::hasModel.

Calls MR_ObjectVoxels_hasModel().

◆ hasVisualRepresentation()

boolean meshlib.ObjectVoxels.hasVisualRepresentation ( )

Generated from method MR::ObjectVoxels::hasVisualRepresentation.

Calls MR_ObjectVoxels_hasVisualRepresentation().

◆ heapBytes()

long meshlib.ObjectVoxels.heapBytes ( )

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

Calls MR_ObjectVoxels_heapBytes().

◆ histogram()

meshlib.Histogram meshlib.ObjectVoxels.histogram ( )

Returns histogram Generated from method MR::ObjectVoxels::histogram.

Calls MR_ObjectVoxels_histogram().

◆ invalidateActiveBoundsCaches()

void meshlib.ObjectVoxels.invalidateActiveBoundsCaches ( )

Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from method MR::ObjectVoxels::invalidateActiveBoundsCaches.

Calls MR_ObjectVoxels_invalidateActiveBoundsCaches().

◆ invalidateMetricsCache()

void meshlib.ObjectVoxels.invalidateMetricsCache ( int mask)

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

Calls MR_ObjectVoxels_invalidateMetricsCache().

◆ isAncestor()

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

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

Calls MR_ObjectVoxels_isAncestor().

◆ isAncillary()

boolean meshlib.ObjectVoxels.isAncillary ( )

Generated from method MR::ObjectVoxels::isAncillary.

Calls MR_ObjectVoxels_isAncillary().

◆ isGlobalAncillary()

boolean meshlib.ObjectVoxels.isGlobalAncillary ( )

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

Calls MR_ObjectVoxels_isGlobalAncillary().

◆ isLocked()

boolean meshlib.ObjectVoxels.isLocked ( )

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

Calls MR_ObjectVoxels_isLocked().

◆ isMeshClosed()

boolean meshlib.ObjectVoxels.isMeshClosed ( )

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

Calls MR_ObjectVoxels_isMeshClosed().

◆ isParentLocked()

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

Calls MR_ObjectVoxels_isParentLocked().

◆ isPickable()

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

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

Calls MR_ObjectVoxels_isPickable().

◆ isSelected()

boolean meshlib.ObjectVoxels.isSelected ( )

Generated from method MR::ObjectVoxels::isSelected.

Calls MR_ObjectVoxels_isSelected().

◆ isVisible()

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

Calls MR_ObjectVoxels_isVisible().

◆ isVolumeRenderingEnabled()

boolean meshlib.ObjectVoxels.isVolumeRenderingEnabled ( )

Generated from method MR::ObjectVoxels::isVolumeRenderingEnabled.

Calls MR_ObjectVoxels_isVolumeRenderingEnabled().

◆ mesh()

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

Calls MR_ObjectVoxels_mesh().

◆ meshPart()

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

Calls MR_ObjectVoxels_meshPart().

◆ meshPtr()

meshlib.Mesh meshlib.ObjectVoxels.meshPtr ( )

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

Calls MR_ObjectVoxels_meshPtr().

◆ name()

meshlib.std_string meshlib.ObjectVoxels.name ( )

Generated from method MR::ObjectVoxels::name.

Calls MR_ObjectVoxels_name().

◆ numComponents()

long meshlib.ObjectVoxels.numComponents ( )

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

Calls MR_ObjectVoxels_numComponents().

◆ numCreaseEdges()

long meshlib.ObjectVoxels.numCreaseEdges ( )

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

Calls MR_ObjectVoxels_numCreaseEdges().

◆ numHandles()

long meshlib.ObjectVoxels.numHandles ( )

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

Calls MR_ObjectVoxels_numHandles().

◆ numHoles()

long meshlib.ObjectVoxels.numHoles ( )

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

Calls MR_ObjectVoxels_numHoles().

◆ numSelectedEdges()

long meshlib.ObjectVoxels.numSelectedEdges ( )

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

Calls MR_ObjectVoxels_numSelectedEdges().

◆ numSelectedFaces()

long meshlib.ObjectVoxels.numSelectedFaces ( )

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

Calls MR_ObjectVoxels_numSelectedFaces().

◆ numUndirectedEdges()

long meshlib.ObjectVoxels.numUndirectedEdges ( )

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

Calls MR_ObjectVoxels_numUndirectedEdges().

◆ prepareDataForVolumeRendering()

boolean meshlib.ObjectVoxels.prepareDataForVolumeRendering ( meshlib.std_function_bool_from_float cb)

prepare data for volume rendering returns false if canceled or voxel data is empty Generated from method MR::ObjectVoxels::prepareDataForVolumeRendering.

Calls MR_ObjectVoxels_prepareDataForVolumeRendering().

◆ recalculateHistogram()

meshlib.Histogram meshlib.ObjectVoxels.recalculateHistogram ( meshlib.Vector2f minmax,
meshlib.std_function_bool_from_float cb )

Calculates and returns new histogram Generated from method MR::ObjectVoxels::recalculateHistogram.

Calls MR_ObjectVoxels_recalculateHistogram().

◆ recalculateIsoSurface() [1/2]

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.recalculateIsoSurface ( float iso,
meshlib.std_function_bool_from_float cb )

Calculates and return new mesh or error message Generated from method MR::ObjectVoxels::recalculateIsoSurface.

Calls MR_ObjectVoxels_recalculateIsoSurface_2(). The C++ function returns expected<std::shared_ptr<MR::Mesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ recalculateIsoSurface() [2/2]

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.recalculateIsoSurface ( meshlib.VdbVolume volume,
float iso,
meshlib.std_function_bool_from_float cb )

Same as above, but takes external volume Generated from method MR::ObjectVoxels::recalculateIsoSurface.

Calls MR_ObjectVoxels_recalculateIsoSurface_3(). The C++ function returns expected<std::shared_ptr<MR::Mesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ removeAllChildren()

void meshlib.ObjectVoxels.removeAllChildren ( )

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

Calls MR_ObjectVoxels_removeAllChildren().

◆ removeTag()

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

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

Calls MR_ObjectVoxels_removeTag().

◆ render()

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

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

Calls MR_ObjectVoxels_render().

◆ renderForPicker()

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

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

Calls MR_ObjectVoxels_renderForPicker().

◆ renderUi()

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

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

Calls MR_ObjectVoxels_renderUi().

◆ resetColors()

void meshlib.ObjectVoxels.resetColors ( )

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

Calls MR_ObjectVoxels_resetColors().

◆ resetDirty()

void meshlib.ObjectVoxels.resetDirty ( )

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

Calls MR_ObjectVoxels_resetDirty().

◆ resetDirtyExceptMask()

void meshlib.ObjectVoxels.resetDirtyExceptMask ( int mask)

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

Calls MR_ObjectVoxels_resetDirtyExceptMask().

◆ resetFrontColor()

void meshlib.ObjectVoxels.resetFrontColor ( )

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

Calls MR_ObjectVoxels_resetFrontColor().

◆ resetRedrawFlag()

void meshlib.ObjectVoxels.resetRedrawFlag ( )

Generated from method MR::ObjectVoxels::resetRedrawFlag.

Calls MR_ObjectVoxels_resetRedrawFlag().

◆ resetXf()

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

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

Calls MR_ObjectVoxels_resetXf().

◆ sameModels()

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

Generated from method MR::ObjectVoxels::sameModels.

Calls MR_ObjectVoxels_sameModels().

◆ select()

boolean meshlib.ObjectVoxels.select ( boolean on)

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

Calls MR_ObjectVoxels_select().

◆ selectedArea()

double meshlib.ObjectVoxels.selectedArea ( )

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

Calls MR_ObjectVoxels_selectedArea().

◆ selectEdges()

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

Generated from method MR::ObjectVoxels::selectEdges.

Calls MR_ObjectVoxels_selectEdges().

◆ selectFaces()

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

Generated from method MR::ObjectVoxels::selectFaces.

Calls MR_ObjectVoxels_selectFaces().

◆ selectVoxels()

void meshlib.ObjectVoxels.selectVoxels ( meshlib.VoxelBitSet selectedVoxels)

Generated from method MR::ObjectVoxels::selectVoxels.

Calls MR_ObjectVoxels_selectVoxels().

◆ serializeFormat()

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

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

Calls MR_ObjectVoxels_serializeFormat().

◆ setActiveBounds()

void meshlib.ObjectVoxels.setActiveBounds ( meshlib.Box3i activeBox,
meshlib.std_function_bool_from_float cb,
java.lang.Boolean updateSurface )

Sets active bounds for some simplifications (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty NOTE: don't forget to call invalidateActiveBoundsCaches if you call this function from progress bar thread Generated from method MR::ObjectVoxels::setActiveBounds.

Calls MR_ObjectVoxels_setActiveBounds().

◆ setAllVisualizeProperties()

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

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

Calls MR_ObjectVoxels_setAllVisualizeProperties().

◆ setAmbientStrength()

void meshlib.ObjectVoxels.setAmbientStrength ( float ambientStrength)

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

Calls MR_ObjectVoxels_setAmbientStrength().

◆ setAncillary()

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

Calls MR_ObjectVoxels_setAncillary().

◆ setAncillaryTexture()

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

Generated from method MR::ObjectVoxels::setAncillaryTexture.

Calls MR_ObjectVoxels_setAncillaryTexture().

◆ setAncillaryUVCoords()

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

Generated from method MR::ObjectVoxels::setAncillaryUVCoords.

Calls MR_ObjectVoxels_setAncillaryUVCoords().

◆ setBackColor()

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

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

Calls MR_ObjectVoxels_setBackColor().

◆ setBackColorsForAllViewports()

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

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

Calls MR_ObjectVoxels_setBackColorsForAllViewports().

◆ setBordersColor()

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

Generated from method MR::ObjectVoxels::setBordersColor.

Calls MR_ObjectVoxels_setBordersColor().

◆ setBordersColorsForAllViewports()

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

Generated from method MR::ObjectVoxels::setBordersColorsForAllViewports.

Calls MR_ObjectVoxels_setBordersColorsForAllViewports().

◆ setColoringType()

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

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

Calls MR_ObjectVoxels_setColoringType().

◆ setCreases()

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

Generated from method MR::ObjectVoxels::setCreases.

Calls MR_ObjectVoxels_setCreases().

◆ setData()

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

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

Calls MR_ObjectVoxels_setData().

◆ setDirtyFlags()

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

Generated from method MR::ObjectVoxels::setDirtyFlags.

Calls MR_ObjectVoxels_setDirtyFlags().

◆ setDirtyFlagsFast()

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

Calls MR_ObjectVoxels_setDirtyFlagsFast().

◆ setDualMarchingCubes()

void meshlib.ObjectVoxels.setDualMarchingCubes ( boolean on,
java.lang.Boolean updateSurface,
meshlib.std_function_bool_from_float cb )

sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);

Parameters
updateSurfaceforces immediate update Generated from method MR::ObjectVoxels::setDualMarchingCubes.

Calls MR_ObjectVoxels_setDualMarchingCubes().

◆ setEdgesColor()

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

Generated from method MR::ObjectVoxels::setEdgesColor.

Calls MR_ObjectVoxels_setEdgesColor().

◆ setEdgesColorsForAllViewports()

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

Generated from method MR::ObjectVoxels::setEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_setEdgesColorsForAllViewports().

◆ setEdgeWidth()

void meshlib.ObjectVoxels.setEdgeWidth ( float edgeWidth)

Generated from method MR::ObjectVoxels::setEdgeWidth.

Calls MR_ObjectVoxels_setEdgeWidth().

◆ setFacesColorMap()

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

Generated from method MR::ObjectVoxels::setFacesColorMap.

Calls MR_ObjectVoxels_setFacesColorMap().

◆ setFlatShading()

void meshlib.ObjectVoxels.setFlatShading ( boolean on)

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

Calls MR_ObjectVoxels_setFlatShading().

◆ setFrontColor()

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

Calls MR_ObjectVoxels_setFrontColor().

◆ setFrontColorsForAllViewports()

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

Calls MR_ObjectVoxels_setFrontColorsForAllViewports().

◆ setGlobalAlpha()

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

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

Calls MR_ObjectVoxels_setGlobalAlpha().

◆ setGlobalAlphaForAllViewports()

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

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

Calls MR_ObjectVoxels_setGlobalAlphaForAllViewports().

◆ setGlobalClippedByPlane()

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

Calls MR_ObjectVoxels_setGlobalClippedByPlane().

◆ setGlobalVisibility()

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

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

Calls MR_ObjectVoxels_setGlobalVisibility().

◆ setIsoValue()

boolean meshlib.ObjectVoxels.setIsoValue ( float iso,
meshlib.std_function_bool_from_float cb,
java.lang.Boolean updateSurface )

Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from method MR::ObjectVoxels::setIsoValue.

Calls MR_ObjectVoxels_setIsoValue(). The C++ function returns expected<bool, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ setLocked()

void meshlib.ObjectVoxels.setLocked ( boolean on)

Generated from method MR::ObjectVoxels::setLocked.

Calls MR_ObjectVoxels_setLocked().

◆ setMaxSurfaceVertices()

void meshlib.ObjectVoxels.setMaxSurfaceVertices ( int maxVerts)

sets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::setMaxSurfaceVertices.

Calls MR_ObjectVoxels_setMaxSurfaceVertices().

◆ setName()

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

Generated from method MR::ObjectVoxels::setName.

Calls MR_ObjectVoxels_setName().

◆ setParentLocked()

void meshlib.ObjectVoxels.setParentLocked ( boolean lock)

Generated from method MR::ObjectVoxels::setParentLocked.

Calls MR_ObjectVoxels_setParentLocked().

◆ setPickable()

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

Calls MR_ObjectVoxels_setPickable().

◆ setPointsColor()

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

Generated from method MR::ObjectVoxels::setPointsColor.

Calls MR_ObjectVoxels_setPointsColor().

◆ setPointsColorsForAllViewports()

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

Generated from method MR::ObjectVoxels::setPointsColorsForAllViewports.

Calls MR_ObjectVoxels_setPointsColorsForAllViewports().

◆ setPointSize()

void meshlib.ObjectVoxels.setPointSize ( float size)

Generated from method MR::ObjectVoxels::setPointSize.

Calls MR_ObjectVoxels_setPointSize().

◆ setSelectedEdgesColor()

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

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

Calls MR_ObjectVoxels_setSelectedEdgesColor().

◆ setSelectedEdgesColorsForAllViewports()

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

Generated from method MR::ObjectVoxels::setSelectedEdgesColorsForAllViewports.

Calls MR_ObjectVoxels_setSelectedEdgesColorsForAllViewports().

◆ setSelectedFacesColor()

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

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

Calls MR_ObjectVoxels_setSelectedFacesColor().

◆ setSelectedFacesColorsForAllViewports()

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

Generated from method MR::ObjectVoxels::setSelectedFacesColorsForAllViewports.

Calls MR_ObjectVoxels_setSelectedFacesColorsForAllViewports().

◆ setSerializeFormat()

void meshlib.ObjectVoxels.setSerializeFormat ( java.lang.Byte newFormat)

overrides file extension used to serialize voxels inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::VoxelsSerializeFormat ) Generated from method MR::ObjectVoxels::setSerializeFormat.

Calls MR_ObjectVoxels_setSerializeFormat().

◆ setShininess()

void meshlib.ObjectVoxels.setShininess ( float shininess)

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

Calls MR_ObjectVoxels_setShininess().

◆ setSpecularStrength()

void meshlib.ObjectVoxels.setSpecularStrength ( float specularStrength)

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

Calls MR_ObjectVoxels_setSpecularStrength().

◆ setTexturePerFace()

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

Calls MR_ObjectVoxels_setTexturePerFace().

◆ setTextures()

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

Generated from method MR::ObjectVoxels::setTextures.

Calls MR_ObjectVoxels_setTextures().

◆ setUseDefaultScenePropertiesOnDeserialization()

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

Calls MR_ObjectVoxels_setUseDefaultScenePropertiesOnDeserialization().

◆ setUVCoords()

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

Generated from method MR::ObjectVoxels::setUVCoords.

Calls MR_ObjectVoxels_setUVCoords().

◆ setVertsColorMap()

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

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

Calls MR_ObjectVoxels_setVertsColorMap().

◆ setVisibilityMask()

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

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

Calls MR_ObjectVoxels_setVisibilityMask().

◆ setVisible()

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

Calls MR_ObjectVoxels_setVisible().

◆ setVisualizeProperty()

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

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

Calls MR_ObjectVoxels_setVisualizeProperty().

◆ setVisualizePropertyMask()

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

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

Calls MR_ObjectVoxels_setVisualizePropertyMask().

◆ setVolumeRenderActiveVoxels()

void meshlib.ObjectVoxels.setVolumeRenderActiveVoxels ( meshlib.VoxelBitSet activeVoxels)

set active (visible) voxels (using only in Volume Rendering mode) Generated from method MR::ObjectVoxels::setVolumeRenderActiveVoxels.

Calls MR_ObjectVoxels_setVolumeRenderActiveVoxels().

◆ setVolumeRenderingParams()

void meshlib.ObjectVoxels.setVolumeRenderingParams ( meshlib.ObjectVoxels_VolumeRenderingParams params)

Generated from method MR::ObjectVoxels::setVolumeRenderingParams.

Calls MR_ObjectVoxels_setVolumeRenderingParams().

◆ setVoxelPointPositioner()

void meshlib.ObjectVoxels.setVoxelPointPositioner ( meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float positioner)

set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from method MR::ObjectVoxels::setVoxelPointPositioner.

Calls MR_ObjectVoxels_setVoxelPointPositioner().

◆ setWorldXf()

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

Generated from method MR::ObjectVoxels::setWorldXf.

Calls MR_ObjectVoxels_setWorldXf().

◆ setXf()

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

Generated from method MR::ObjectVoxels::setXf.

Calls MR_ObjectVoxels_setXf().

◆ setXfsForAllViewports()

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

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

Calls MR_ObjectVoxels_setXfsForAllViewports().

◆ shallowClone()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.shallowClone ( )

Generated from method MR::ObjectVoxels::shallowClone.

Calls MR_ObjectVoxels_shallowClone().

◆ shallowCloneTree()

meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.shallowCloneTree ( )

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

Calls MR_ObjectVoxels_shallowCloneTree().

◆ sortChildren()

void meshlib.ObjectVoxels.sortChildren ( )

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

Calls MR_ObjectVoxels_sortChildren().

◆ StaticClassName()

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

Generated from method MR::ObjectVoxels::StaticClassName.

Calls MR_ObjectVoxels_StaticClassName().

◆ StaticClassNameInPlural()

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

Generated from method MR::ObjectVoxels::StaticClassNameInPlural.

Calls MR_ObjectVoxels_StaticClassNameInPlural().

◆ staticDowncastFromObject()

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

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

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_Object().

◆ staticDowncastFromObjectChildrenHolder()

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

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

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().

◆ staticDowncastFromObjectMeshHolder()

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

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

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectMeshHolder().

◆ staticDowncastFromVisualObject()

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

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

Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_VisualObject().

◆ StaticTypeName()

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

Generated from method MR::ObjectVoxels::StaticTypeName.

Calls MR_ObjectVoxels_StaticTypeName().

◆ supportsVisualizeProperty()

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

Generated from method MR::ObjectVoxels::supportsVisualizeProperty.

Calls MR_ObjectVoxels_supportsVisualizeProperty().

◆ surface()

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.surface ( )

Returns iso surface, empty if iso value is not set Generated from method MR::ObjectVoxels::surface.

Calls MR_ObjectVoxels_surface().

◆ swap()

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

Calls MR_ObjectVoxels_swap().

◆ tags()

meshlib.std_set_std_string meshlib.ObjectVoxels.tags ( )

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

Calls MR_ObjectVoxels_tags().

◆ toggleVisualizeProperty()

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

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

Calls MR_ObjectVoxels_toggleVisualizeProperty().

◆ totalArea()

double meshlib.ObjectVoxels.totalArea ( )

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

Calls MR_ObjectVoxels_totalArea().

◆ typeName()

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

Generated from method MR::ObjectVoxels::typeName.

Calls MR_ObjectVoxels_typeName().

◆ upcastToObject()

meshlib.Object meshlib.ObjectVoxels.upcastToObject ( )

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

Calls MR_ObjectVoxels_MutableUpcastTo_MR_Object().

◆ upcastToObjectChildrenHolder()

meshlib.ObjectChildrenHolder meshlib.ObjectVoxels.upcastToObjectChildrenHolder ( )

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

Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcastToObjectMeshHolder()

meshlib.ObjectMeshHolder meshlib.ObjectVoxels.upcastToObjectMeshHolder ( )

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

Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder().

◆ upcastToVisualObject()

meshlib.VisualObject meshlib.ObjectVoxels.upcastToVisualObject ( )

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

Calls MR_ObjectVoxels_MutableUpcastTo_MR_VisualObject().

◆ updateAncillaryUVCoords()

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

Generated from method MR::ObjectVoxels::updateAncillaryUVCoords.

Calls MR_ObjectVoxels_updateAncillaryUVCoords().

◆ updateData()

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

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

Calls MR_ObjectVoxels_updateData().

◆ updateFacesColorMap()

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

Generated from method MR::ObjectVoxels::updateFacesColorMap.

Calls MR_ObjectVoxels_updateFacesColorMap().

◆ updateHistogram()

meshlib.Histogram meshlib.ObjectVoxels.updateHistogram ( meshlib.Histogram histogram)

Sets external histogram for this object and returns back previous histogram of this Generated from method MR::ObjectVoxels::updateHistogram.

Calls MR_ObjectVoxels_updateHistogram().

◆ updateHistogramAndSurface()

void meshlib.ObjectVoxels.updateHistogramAndSurface ( meshlib.std_function_bool_from_float cb)

Updates histogram, by stored grid (evals min and max values from grid) rebuild iso surface if it is present Generated from method MR::ObjectVoxels::updateHistogramAndSurface.

Calls MR_ObjectVoxels_updateHistogramAndSurface().

◆ updateIsoSurface()

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.updateIsoSurface ( meshlib.std_shared_ptr_MR_Mesh mesh)

Sets external surface mesh for this object and returns back previous mesh of this Generated from method MR::ObjectVoxels::updateIsoSurface.

Calls MR_ObjectVoxels_updateIsoSurface().

◆ updateTexturePerFace()

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

Generated from method MR::ObjectVoxels::updateTexturePerFace.

Calls MR_ObjectVoxels_updateTexturePerFace().

◆ updateTextures()

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

Generated from method MR::ObjectVoxels::updateTextures.

Calls MR_ObjectVoxels_updateTextures().

◆ updateUVCoords()

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

Generated from method MR::ObjectVoxels::updateUVCoords.

Calls MR_ObjectVoxels_updateUVCoords().

◆ updateVdbVolume()

meshlib.VdbVolume meshlib.ObjectVoxels.updateVdbVolume ( meshlib.VdbVolume vdbVolume)

Sets external vdb volume for this object and returns back previous vdb volume of this Generated from method MR::ObjectVoxels::updateVdbVolume.

Calls MR_ObjectVoxels_updateVdbVolume().

◆ updateVertsColorMap()

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

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

Calls MR_ObjectVoxels_updateVertsColorMap().

◆ useDefaultScenePropertiesOnDeserialization()

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

Calls MR_ObjectVoxels_useDefaultScenePropertiesOnDeserialization().

◆ varMeshPtr()

meshlib.Mesh meshlib.ObjectVoxels.varMeshPtr ( )

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

Calls MR_ObjectVoxels_varMeshPtr().

◆ varVdbVolume()

meshlib.VdbVolume meshlib.ObjectVoxels.varVdbVolume ( )

Generated from method MR::ObjectVoxels::varVdbVolume.

Calls MR_ObjectVoxels_varVdbVolume().

◆ vdbVolume()

meshlib.VdbVolume meshlib.ObjectVoxels.vdbVolume ( )

Return VdbVolume Generated from method MR::ObjectVoxels::vdbVolume.

Calls MR_ObjectVoxels_vdbVolume().

◆ visibilityMask()

meshlib.ViewportMask meshlib.ObjectVoxels.visibilityMask ( )

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

Calls MR_ObjectVoxels_visibilityMask().

◆ volume()

double meshlib.ObjectVoxels.volume ( )

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

Calls MR_ObjectVoxels_volume().

◆ voxelSize()

meshlib.Vector3f meshlib.ObjectVoxels.voxelSize ( )

Generated from method MR::ObjectVoxels::voxelSize.

Calls MR_ObjectVoxels_voxelSize().

◆ worldXf()

meshlib.AffineXf3f meshlib.ObjectVoxels.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::ObjectVoxels::worldXf.

Calls MR_ObjectVoxels_worldXf().

◆ xf()

meshlib.AffineXf3f meshlib.ObjectVoxels.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::ObjectVoxels::xf.

Calls MR_ObjectVoxels_xf().

◆ xfsForAllViewports()

meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectVoxels.xfsForAllViewports ( )

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

Calls MR_ObjectVoxels_xfsForAllViewports().


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